Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 19:07:25 +0000 (UTC)
From:      Jeff Penn <jeff+list+news@jrpenn.demon.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: IPFW config
Message-ID:  <slrnd2b9jr.1oni.jeff%2Blist%2Bnews@beastie.jrpenn.demon.co.uk>
References:  <421A21F4.1050509@cwazy.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
SigmaX <scottclansman@cwazy.co.uk>:
> I have a FreeBSD 5.3 server that I access over SSH.  I followed the 
> handbook guide to loading the ipfw kernel module to setup a firewall.  I 
> made the mistake the other day of loading the firewall, which defaults 
> to block all, and rebooting, so I couldn't get into the system again 
> (Had to drive in and fix it :-P).  Anyway, what I need to know is how to 

/usr/share/examples/ipfw/change_rules.sh:
# Change ipfw(8) rules with safety guarantees for remote operation
#
# Invoke this script to edit ${firewall_script}. It will call ${EDITOR},
# or vi(1) if the environment variable is not set, for you to edit
# ${firewall_script}, ask for confirmation, and then run
# ${firewall_script}. You can then examine the output of ipfw list and
# confirm whether you want the new version or not.
#
# If no answer is received in 30 seconds, the previous
# ${firewall_script} is run, restoring the old rules (this assumes ipfw
# flush is present in it).

Jeff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnd2b9jr.1oni.jeff%2Blist%2Bnews>