summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-02-19 06:53:24 +0000
committermtm <mtm@FreeBSD.org>2004-02-19 06:53:24 +0000
commit9ad4279918a98f7fe07787608e9603a6b4d1a2ca (patch)
treef5d0778d83a9669285b13bf5b265ef697f2cf92e /etc
parent05861c09f2591dae649cc1ab2c0ba94e98472349 (diff)
downloadFreeBSD-src-9ad4279918a98f7fe07787608e9603a6b4d1a2ca.zip
FreeBSD-src-9ad4279918a98f7fe07787608e9603a6b4d1a2ca.tar.gz
Don't forget to enable the ipv6 firewall once the rules are loaded.
PR: misc/61501 Submitted by: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/ip6fw4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.d/ip6fw b/etc/rc.d/ip6fw
index 6ae7689..df5f500 100644
--- a/etc/rc.d/ip6fw
+++ b/etc/rc.d/ip6fw
@@ -52,6 +52,10 @@ ip6fw_start()
echo 'IPv6 Firewall logging=YES'
sysctl net.inet6.ip6.fw.verbose=1 >/dev/null
fi
+
+ # Enable the firewall
+ #
+ ${SYSCTL_W} net.inet6.ip6.fw.enable=1
}
load_rc_config $name
OpenPOWER on IntegriCloud