github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/scripts/tproxy/nftables_clear (about)

     1  #! /bin/sh
     2  
     3  ip rule del fwmark 1 table 100
     4  ip route del local 0.0.0.0/0 dev lo table 100
     5  
     6  ip -6 rule del fwmark 1 table 100
     7  ip -6 route del local ::/0 dev lo table 100
     8  
     9  nft delete table inet yuhaiin