summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-27 03:59:19 +0000
committerjkh <jkh@FreeBSD.org>1997-04-27 03:59:19 +0000
commit7be3f36014f5e651bda8df48d0cd0db57dda4730 (patch)
treeb12a441dcee2d355a6c75c352bcebb8dc6e92d76 /etc/rc.firewall
parent0cb3b460eb3e423e87a8a41698f95a2551418a0a (diff)
downloadFreeBSD-src-7be3f36014f5e651bda8df48d0cd0db57dda4730.zip
FreeBSD-src-7be3f36014f5e651bda8df48d0cd0db57dda4730.tar.gz
Bring in rc file changes from -current.
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r--etc/rc.firewall11
1 files changed, 4 insertions, 7 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index e56760f..71deea3 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -1,6 +1,6 @@
############
# Setup system for firewall service.
-# $Id$
+# $Id: rc.firewall,v 1.8 1997/02/23 09:20:47 peter Exp $
############
#
@@ -13,9 +13,6 @@
# machine and ``simple'' will try to protect a whole network (entries should
# be customized appropriately below). To let no one in, use NONE.
-firewall_type=NONE
-
-
############
#
# If you don't know enough about packet filtering, we suggest that you
@@ -55,11 +52,11 @@ firewall_type=NONE
# Prototype setups.
-if [ "${firewall_type}" = "open" ]; then
+if [ "${firewall}" = "open" ]; then
/sbin/ipfw add 65000 pass all from any to any
-elif [ "${firewall_type}" = "client" ]; then
+elif [ "${firewall}" = "client" ]; then
############
# This is a prototype setup that will protect your system somewhat against
@@ -97,7 +94,7 @@ elif [ "${firewall_type}" = "client" ]; then
# Everyting else is denied as default.
-elif [ "${firewall_type}" = "simple" ]; then
+elif [ "${firewall}" = "simple" ]; then
############
# This is a prototype setup for a simple firewall. Configure this machine
OpenPOWER on IntegriCloud