diff options
Diffstat (limited to 'etc/rc.d/network1')
-rw-r--r-- | etc/rc.d/network1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 340be28..1f50bea 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -275,6 +275,20 @@ network_pass1() { ;; esac + # Re-Sync ipfilter + # + case ${ipfilter_enable} in + [Yy][Ee][Ss]) + ${ipfilter_program:-/sbin/ipf -y} + ;; + *) + case ${ipnat_enable} in + [Yy][Ee][Ss]) + ${ipfilter_program:-/sbin/ipf -y} + ;; + esac + esac + # Initialize IP filtering using ipfw # if /sbin/ipfw -q flush > /dev/null 2>&1; then |