From b1ee4f1d6536d58732ec27a931f03443ff575749 Mon Sep 17 00:00:00 2001 From: JohnHay Date: Mon, 20 Dec 2021 08:37:15 +0200 Subject: [PATCH] check-state does not take extra options. --- sshuttle/methods/ipfw.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sshuttle/methods/ipfw.py b/sshuttle/methods/ipfw.py index 8afef51..4aeffeb 100644 --- a/sshuttle/methods/ipfw.py +++ b/sshuttle/methods/ipfw.py @@ -178,8 +178,7 @@ class Method(BaseMethod): if subnets or dnsport: sysctl_set('net.inet.ip.fw.enable', 1) - ipfw('add', '1', 'check-state', 'ip', - 'from', 'any', 'to', 'any') + ipfw('add', '1', 'check-state') ipfw('add', '1', 'skipto', '2', 'tcp',