luci-app-ssr-plus: Add WireGuard kernelMode
reserved
keepalive
allowedips
argument
*** whether to use the virtual NIC TUN of the Linux kernel!Virtual NIC TUN of Linux kernel can be used only when system supports and have root permission. Some routes cannot be connected if they are used. *** Current Wireguard protocol outbound Is not supported streamSettings.
This commit is contained in:
parent
84ed721432
commit
0ae2873bd5
@ -525,7 +525,9 @@ o.default = "3"
|
|||||||
o.rmempty = true
|
o.rmempty = true
|
||||||
|
|
||||||
o = s:option(Value, "timeout", translate("Timeout for establishing a connection to server(second)"))
|
o = s:option(Value, "timeout", translate("Timeout for establishing a connection to server(second)"))
|
||||||
|
o.description = translate("Default value 0 indicatesno heartbeat.")
|
||||||
o:depends("type", "tuic")
|
o:depends("type", "tuic")
|
||||||
|
o:depends({type = "v2ray", v2ray_protocol = "wireguard"})
|
||||||
o.datatype = "uinteger"
|
o.datatype = "uinteger"
|
||||||
o.default = "8"
|
o.default = "8"
|
||||||
o.rmempty = true
|
o.rmempty = true
|
||||||
@ -861,12 +863,6 @@ o:depends({type = "v2ray", v2ray_protocol = "wireguard"})
|
|||||||
o.password = true
|
o.password = true
|
||||||
o.rmempty = true
|
o.rmempty = true
|
||||||
|
|
||||||
o = s:option(Value, "keepalive", translate("Heartbeat interval(second)"))
|
|
||||||
o.description = translate("Default value 0 indicatesno heartbeat.")
|
|
||||||
o:depends({type = "v2ray", v2ray_protocol = "wireguard"})
|
|
||||||
o.default = "0"
|
|
||||||
o.rmempty = true
|
|
||||||
|
|
||||||
o = s:option(DynamicList, "allowedips", translate("allowedIPs(optional)"))
|
o = s:option(DynamicList, "allowedips", translate("allowedIPs(optional)"))
|
||||||
o.description = translate("Wireguard allows only traffic from specific source IP.")
|
o.description = translate("Wireguard allows only traffic from specific source IP.")
|
||||||
o.datatype = "cidr"
|
o.datatype = "cidr"
|
||||||
|
Loading…
Reference in New Issue
Block a user