Update toriptables2.py
This commit is contained in:
parent
0ef6fde75e
commit
fc91f73018
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ DNSPort 53
|
||||||
self.non_tor = ["127.0.0.0/9", "127.128.0.0/10", "127.0.0.0/8"]
|
self.non_tor = ["127.0.0.0/9", "127.128.0.0/10", "127.0.0.0/8"]
|
||||||
self.tor_uid = getoutput("id -ur debian-tor") # Tor user uid
|
self.tor_uid = getoutput("id -ur debian-tor") # Tor user uid
|
||||||
self.trans_port = "9040" # Tor port
|
self.trans_port = "9040" # Tor port
|
||||||
self.load_iptables_rules.__init__(self)
|
|
||||||
|
|
||||||
def flush_iptables_rules(self):
|
def flush_iptables_rules(self):
|
||||||
call(["iptables", "-F"])
|
call(["iptables", "-F"])
|
||||||
|
|
Loading…
Reference in a new issue