Commit 82b7bf7d authored by Ad Schellevis's avatar Ad Schellevis

(ipfw) ensure loading ipfw before pf

parent 8b7c1263
......@@ -26,9 +26,17 @@
# script to glue standard ipfw rc scripting to OPNsense ruleset
# see auto generated file /etc/rc.conf.d/ipfw for details
# sysctl settings
/sbin/sysctl net.inet.ip.dummynet.io_fast=1
/sbin/sysctl net.inet.ip.dummynet.hash_size=256
# reload ipfw rules
/sbin/ipfw -f /usr/local/etc/ipfw.rules
if [ ! -f /tmp/ipfw.firstload ]; then
# we need to make sure ipfw is loaded as last,
/sbin/pfctl -d
/sbin/pfctl -e
touch /tmp/ipfw.firstload
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment