mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
We need to keep-state on the allowed MAC address rules.
This commit is contained in:
parent
ea89d454d0
commit
5d61b44e45
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user