github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/scripts/tproxy/nftables (about) 1 #! /bin/sh 2 3 ip rule add fwmark 1 table 100 4 ip route add local 0.0.0.0/0 dev lo table 100 5 6 ip -6 rule add fwmark 1 table 100 7 ip -6 route add local ::/0 dev lo table 100 8 9 nft -f nftables.conf