summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
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