mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-13 13:58:24 +02:00
fix bootstrapping issue when pf started before
This commit is contained in:
parent
cd77ad5e7b
commit
10dc229125
@ -498,7 +498,7 @@ def do_pf(port, dnsport, family, subnets, udp):
|
||||
with open(pf_config_file, 'w+') as f:
|
||||
f.write('\n'.join(tables + translating_rules + filtering_rules) + '\n')
|
||||
|
||||
pfctl('-ef', pf_config_file)
|
||||
pfctl('-Ef', pf_config_file)
|
||||
os.remove(pf_config_file)
|
||||
else:
|
||||
pfctl('-dF', 'all')
|
||||
|
Loading…
Reference in New Issue
Block a user