summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1996-06-22 00:54:36 +0000
committeralex <alex@FreeBSD.org>1996-06-22 00:54:36 +0000
commit208516062fcc4f8d3a556511e702cdd0103c3c81 (patch)
tree15a02aa3ef791627bd78d46d7ba540353497fea4 /etc/rc.firewall
parent8b06260475720ae554f26db368cf1fdbc4122fbc (diff)
downloadFreeBSD-src-208516062fcc4f8d3a556511e702cdd0103c3c81.zip
FreeBSD-src-208516062fcc4f8d3a556511e702cdd0103c3c81.tar.gz
Flush out the rules before adding entries. This prevents duplicate
rules from appearing when switching back and forth from single to multi-user modes.
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r--etc/rc.firewall6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index de2b563..9558f97 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -1,6 +1,6 @@
############
# Setup system for firewall service.
-# $Id: rc.firewall,v 1.1 1996/04/03 17:13:58 phk Exp $
+# $Id: rc.firewall,v 1.2 1996/04/12 09:16:42 phk Exp $
############
#
@@ -30,6 +30,10 @@
#
############
+# Flush out the list before we begin.
+/sbin/ipfw flush
+
+############
# If you just configured ipfw in the kernel as a tool to solve network
# problems or you just want to disallow some particular kinds of traffic
# they you will want to change the default policy to open.
OpenPOWER on IntegriCloud