Update toriptables2.py
This commit is contained in:
parent
bc1b08612d
commit
7f8340b540
1 changed files with 1 additions and 1 deletions
|
@ -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" %
|
||||||
|
|
Loading…
Reference in a new issue