mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-05-02 23:24:29 +02:00
check-state does not take extra options.
This commit is contained in:
parent
4f20efd592
commit
b1ee4f1d65
@ -178,8 +178,7 @@ class Method(BaseMethod):
|
|||||||
if subnets or dnsport:
|
if subnets or dnsport:
|
||||||
sysctl_set('net.inet.ip.fw.enable', 1)
|
sysctl_set('net.inet.ip.fw.enable', 1)
|
||||||
|
|
||||||
ipfw('add', '1', 'check-state', 'ip',
|
ipfw('add', '1', 'check-state')
|
||||||
'from', 'any', 'to', 'any')
|
|
||||||
|
|
||||||
ipfw('add', '1', 'skipto', '2',
|
ipfw('add', '1', 'skipto', '2',
|
||||||
'tcp',
|
'tcp',
|
||||||
|
Loading…
Reference in New Issue
Block a user