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

     1  #! /bin/sh
     2  
     3  iptables -t mangle -D PREROUTING -j YUHAAIN_TPROXY
     4  iptables -t mangle -D OUTPUT -j YUHAAIN_TPROXY_OUTPUT
     5  
     6  iptables -t mangle -F YUHAAIN_TPROXY
     7  iptables -t mangle -F YUHAAIN_TPROXY_OUTPUT
     8  iptables -t mangle -X YUHAAIN_TPROXY
     9  iptables -t mangle -X YUHAAIN_TPROXY_OUTPUT
    10  
    11  ip rule del fwmark 1 table 100
    12  ip route del local 0.0.0.0/0 dev lo table 100