fix(tproxy): gateway not work

This commit is contained in:
cubercsl authored and mzz2017 committed 2023-03-19 20:36:48 +08:00
1 parent b1011e8f40
commit cd296cdf33
1 file changed
+2 -1
+2 -1
View File
@@ -306,7 +306,8 @@ table inet v2raya {
chain tp_pre {
iifname "lo" mark & 0xc0 != 0x40 return
meta l4proto { tcp, udp } fib saddr type != local fib daddr type != local jump tp_rule
meta l4proto { tcp, udp } mark & 0xc0 == 0x40 tproxy to :32345
meta l4proto { tcp, udp } mark & 0xc0 == 0x40 tproxy ip to 127.0.0.1:32345
meta l4proto { tcp, udp } mark & 0xc0 == 0x40 tproxy ip6 to [::1]:32345
}
chain output {