You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nft add rule inet fw4 openclash_mangle meta l4proto { udp } ip daddr { "$fakeip_range" } mark set"$PROXY_FWMARK" tproxy ip to 127.0.0.1:"$tproxy_port" counter accept
1567
1565
fi
@@ -1598,7 +1596,6 @@ if [ -n "$FW4" ]; then
1598
1596
ip route add local 0.0.0.0/0 dev lo table "$PROXY_ROUTE_TABLE"
1599
1597
nft 'add chain inet fw4 openclash_mangle'
1600
1598
nft 'flush chain inet fw4 openclash_mangle'
1601
-
nft 'add rule inet fw4 openclash_mangle meta l4proto { udp } iifname lo counter return'
1602
1599
nft add rule inet fw4 openclash_mangle meta l4proto { udp } ip daddr { "$fakeip_range" } mark set"$PROXY_FWMARK" tproxy ip to 127.0.0.1:"$tproxy_port" counter accept 2>/dev/null
1603
1600
nft 'add rule inet fw4 mangle_prerouting meta nfproto {ipv4} ip protocol udp counter jump openclash_mangle'
1604
1601
fi
@@ -1889,10 +1886,8 @@ if [ -n "$FW4" ]; then
1889
1886
if [ "$enable_v6_udp_proxy"-eq 1 ] || [ "$ipv6_mode"-ne 1 ];then
1890
1887
nft 'add chain inet fw4 openclash_mangle_v6'
1891
1888
nft 'flush chain inet fw4 openclash_mangle_v6'
1892
-
nft 'add rule inet fw4 openclash_mangle_v6 meta nfproto {ipv6} udp iifname lo counter return'
0 commit comments