chore: modify tproxy mark to be compatible with 32-bit devices

This commit is contained in:
mzz2017
2023-02-08 22:13:57 +08:00
committed by mzz
parent ef31269b3b
commit 00b8c6079e
3 changed files with 8 additions and 8 deletions

View File

@ -171,8 +171,8 @@ tryRouteAddAgain:
c.deferFuncs = append(c.deferFuncs, cleanRoutes)
/** ip rule
ip rule add fwmark 0x80000000/0x80000000 table 2023
ip -6 rule add fwmark 0x80000000/0x80000000 table 2023
ip rule add fwmark 0x8000000/0x8000000 table 2023
ip -6 rule add fwmark 0x8000000/0x8000000 table 2023
*/
rules := []netlink.Rule{{
SuppressIfgroup: -1,