#!/usr/bin/ bash iptables -t mangle -F XRAY iptables -t mangle -F XRAY_SELF iptables -t mangle -F DIVERT iptables -t mangle -D PREROUTING -j XRAY iptables -t mangle -D PREROUTING 1 iptables -t mangle -X XRAY iptables -t mangle -X DIVERT iptables -t mangle -D OUTPUT -j XRAY_SELF iptables -t mangle -X XRAY_SELF sudo ip route del local default dev lo table 100 iptables -t mangle -nL --line-number