Skip to content

Commit

Permalink
luci-app-ssr-plus: Add WireGuard kernelMode reserved keepalive
Browse files Browse the repository at this point in the history
…`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.
  • Loading branch information
zxlhhyccc authored Apr 6, 2024
1 parent 4834ba4 commit fdf7b30
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,9 @@ o.default = "3"
o.rmempty = true

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 = "v2ray", v2ray_protocol = "wireguard"})
o.datatype = "uinteger"
o.default = "8"
o.rmempty = true
Expand Down Expand Up @@ -861,12 +863,6 @@ o:depends({type = "v2ray", v2ray_protocol = "wireguard"})
o.password = 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.description = translate("Wireguard allows only traffic from specific source IP.")
o.datatype = "cidr"
Expand Down

0 comments on commit fdf7b30

Please sign in to comment.