luci-app-passwall: default tcp proxy mode - tproxy
This commit is contained in:
parent
a0f9000710
commit
6b6ee704b5
@ -97,7 +97,7 @@ o:value("53", "DNS")
|
|||||||
|
|
||||||
if os.execute("lsmod | grep -i REDIRECT >/dev/null") == 0 and os.execute("lsmod | grep -i TPROXY >/dev/null") == 0 then
|
if os.execute("lsmod | grep -i REDIRECT >/dev/null") == 0 and os.execute("lsmod | grep -i TPROXY >/dev/null") == 0 then
|
||||||
o = s:option(ListValue, "tcp_proxy_way", translate("TCP Proxy Way"))
|
o = s:option(ListValue, "tcp_proxy_way", translate("TCP Proxy Way"))
|
||||||
o.default = "redirect"
|
o.default = "tproxy"
|
||||||
o:value("redirect", "REDIRECT")
|
o:value("redirect", "REDIRECT")
|
||||||
o:value("tproxy", "TPROXY")
|
o:value("tproxy", "TPROXY")
|
||||||
o:depends("ipv6_tproxy", false)
|
o:depends("ipv6_tproxy", false)
|
||||||
|
Loading…
Reference in New Issue
Block a user