Update toriptables2.py

This commit is contained in:
Rupert Edwards 2016-01-03 19:47:52 -05:00
parent 0ef6fde75e
commit fc91f73018

View file

@ -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"])