mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Enable filtering on ipfw sysctl not dependent on ipfw module otherwise issue reported here http://forum.pfsense.org/index.php/topic,64412.0.html happens
This commit is contained in:
parent
1ed5aaa83a
commit
cd577ebd10
@ -153,9 +153,9 @@ function captiveportal_load_modules() {
|
||||
/* make sure ipfw is not on pfil hooks */
|
||||
mwexec("/sbin/sysctl net.inet.ip.pfil.inbound=\"pf\" net.inet6.ip6.pfil.inbound=\"pf\"" .
|
||||
" net.inet.ip.pfil.outbound=\"pf\" net.inet6.ip6.pfil.outbound=\"pf\"");
|
||||
/* Activate layer2 filtering */
|
||||
mwexec("/sbin/sysctl net.link.ether.ipfw=1 net.inet.ip.fw.one_pass=1");
|
||||
}
|
||||
/* Activate layer2 filtering */
|
||||
mwexec("/sbin/sysctl net.link.ether.ipfw=1 net.inet.ip.fw.one_pass=1");
|
||||
|
||||
/* Always load dummynet now that even allowed ip and mac passthrough use it. */
|
||||
if (!is_module_loaded("dummynet.ko")) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user