aboutsummaryrefslogtreecommitdiffstats
path: root/download/toroff.sh
blob: 244ca7859c8fac355661f5b7bf61955f9522b293 (plain)
1
2
3
4
5
    sudo iptables -t nat -D OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp -j REDIRECT --to-ports 9040
    sudo iptables -t nat -D OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j REDIRECT --to-ports 53
    sudo iptables -t filter -D OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp --dport 9040 -j ACCEPT
    sudo iptables -t filter -D OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j ACCEPT
    sudo iptables -t filter -D OUTPUT -m owner --uid-owner USERAQUI -j DROP