Update toriptables2.py

This commit is contained in:
Rupert Edwards 2015-12-21 18:31:00 -05:00
parent bc1b08612d
commit 7f8340b540

View file

@ -59,7 +59,7 @@ DNSPort 53
call(["iptables", "-A", "OUTPUT", "-m", "state", "--state", call(["iptables", "-A", "OUTPUT", "-m", "state", "--state",
"ESTABLISHED,RELATED", "-j", "ACCEPT"]) "ESTABLISHED,RELATED", "-j", "ACCEPT"])
for net in (self.non_tor): for net in self.non_tor:
call(["iptables", "-A", "OUTPUT", "-d", "%s" % net, "-j", "ACCEPT"]) call(["iptables", "-A", "OUTPUT", "-d", "%s" % net, "-j", "ACCEPT"])
call(["iptables", "-A", "OUTPUT", "-m", "owner", "--uid-owner", "%s" % call(["iptables", "-A", "OUTPUT", "-m", "owner", "--uid-owner", "%s" %