From 6b6ee704b534b479838739ea013465aee6c3b704 Mon Sep 17 00:00:00 2001 From: Bard Date: Tue, 2 Aug 2022 14:18:40 +0800 Subject: [PATCH] luci-app-passwall: default tcp proxy mode - tproxy --- luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua index 27cbd4c59..9ebcd9d6d 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/other.lua @@ -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 o = s:option(ListValue, "tcp_proxy_way", translate("TCP Proxy Way")) - o.default = "redirect" + o.default = "tproxy" o:value("redirect", "REDIRECT") o:value("tproxy", "TPROXY") o:depends("ipv6_tproxy", false)