Added get and refresh IP options
Refactored
This commit is contained in:
parent
4dce147afd
commit
495a43e40c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ AutomapHostsOnResolve 1
|
||||||
TransPort %s
|
TransPort %s
|
||||||
DNSPort %s
|
DNSPort %s
|
||||||
''' % (basename(__file__), self.trans_port, self.virtual_net,
|
''' % (basename(__file__), self.trans_port, self.virtual_net,
|
||||||
self.trans_port, self.local_dnsport)
|
self.trans_port, self.local_dnsport)
|
||||||
|
|
||||||
def flush_iptables_rules(self):
|
def flush_iptables_rules(self):
|
||||||
call(["iptables", "-F"])
|
call(["iptables", "-F"])
|
||||||
|
|
Loading…
Add table
Reference in a new issue