Flush out the rules before adding entries. This prevents duplicate
rules from appearing when switching back and forth from single to multi-user modes.
This commit is contained in:
parent
023a5ab8db
commit
0c155d8c74
@ -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 $
|
||||
|
||||
############
|
||||
#
|
||||
@ -29,6 +29,10 @@
|
||||
# ISBN 0-201-6337-4
|
||||
#
|
||||
|
||||
############
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user