[BUGFIX] Fix "Can't get public ip address" error while tor is still error

This commit is contained in:
Rupert Edwards 2016-08-06 17:41:33 -04:00 committed by GitHub
parent 2e9a0aa98f
commit ee6921a326

View file

@ -25,7 +25,7 @@ class TorIptables(object):
def __init__(self):
self.local_dnsport = "53" # DNSPort
self.virtual_net = "10.0.0.0/10" # VirtualAddrNetwork
self.local_loopback = "127.0.0.1"
self.local_loopback = "127.0.0.1" # Local loopback
self.non_tor_net = ["192.168.0.0/16", "172.16.0.0/12"]
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