We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2045b60 commit d840e05Copy full SHA for d840e05
zh_CN/app/tproxy.md
@@ -280,9 +280,9 @@ iptables -t mangle -A OUTPUT -j V2RAY_MASK
280
281
# 新建 DIVERT 规则,避免已有连接的包二次通过 TPROXY,理论上有一定的性能提升
282
iptables -t mangle -N DIVERT
283
-iptables -t mangle -A DIVERT -j MARK --set-xmark 0x1/0x3
+iptables -t mangle -A DIVERT -j MARK --set-mark 0x1/0x3
284
iptables -t mangle -A DIVERT -j ACCEPT
285
-iptables -t mangle -I PREROUTING -p tcp -m socket -j DIVERT
+iptables -t mangle -I PREROUTING -p tcp -m socket --transparent -j DIVERT
286
```
287
288
执行了以上 ip 和 iptables 命令后,局域网同网段的设备以及网关本身就可以直接翻墙了。
0 commit comments