Skip to content

Commit

Permalink
do not apply transparent to socket mod on ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
local committed Apr 14, 2024
1 parent a606921 commit d0b8a6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions root/etc/init.d/luci_v2ray
Original file line number Diff line number Diff line change
Expand Up @@ -705,10 +705,10 @@ add_v2ray_tproxy_rules() {
-A OUTPUT -j V2RAY_MASK
# look like divert has bug
# :V2RAY_DIVERT -
# -A V2RAY_DIVERT -j MARK --set-mark 0x1/0x3
# -A V2RAY_DIVERT -j ACCEPT
# -I PREROUTING -p tcp -m socket --transparent -j V2RAY_DIVERT
:V2RAY_DIVERT -
-A V2RAY_DIVERT -j MARK --set-mark 0x1/0x3
-A V2RAY_DIVERT -j ACCEPT
-I PREROUTING -p tcp -m socket -j V2RAY_DIVERT
COMMIT
EOF

Expand Down

0 comments on commit d0b8a6f

Please sign in to comment.