diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-27 18:33:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-27 18:33:55 +0000 |
commit | 5d61b44e45cc8078d2c7ff71a628bceda670dc87 (patch) | |
tree | ee8ac9f32de1e2ba7f6fa3d93ee181d7d0b630fd /etc | |
parent | ea89d454d092e4c045e88fed6ce28354683975b7 (diff) | |
download | pfsense-5d61b44e45cc8078d2c7ff71a628bceda670dc87.zip pfsense-5d61b44e45cc8078d2c7ff71a628bceda670dc87.tar.gz |
We need to keep-state on the allowed MAC address rules.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 5ebe5a6..7998f0f 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -568,8 +568,8 @@ function captiveportal_passthrumac_configure() { foreach($config['captiveportal']['passthrumac'] as $ptm) { /* create the pass through mac entry */ //system("echo /sbin/ipfw add 50 skipto 65535 ip from any to any MAC {$ptm['mac']} any > /tmp/cp"); - mwexec("/sbin/ipfw add 50 skipto 65535 ip from any to any MAC {$ptm['mac']} any"); - mwexec("/sbin/ipfw add 50 skipto 65535 ip from any to any MAC any {$ptm['mac']}"); + mwexec("/sbin/ipfw add 50 skipto 29900 ip from any to any MAC {$ptm['mac']} any keep-state"); + mwexec("/sbin/ipfw add 50 skipto 29900 ip from any to any MAC any {$ptm['mac']} keep-state"); } } |