Date: Tue, 25 Aug 1998 16:46:08 +0200 (CEST) From: Malte Lance <malte.lance@gmx.net> To: wwoods@cybcon.com Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Firewall....I am going NUTS!! Message-ID: <13794.46786.889753.930290@neuron.webmore.de> In-Reply-To: <XFMail.980820121137.wwoods@cybcon.com> References: <XFMail.980820121137.wwoods@cybcon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
William Woods writes:
> OK, I have a firewall and every hour I export the rules list by doing:
>
> ipfw list > /fwlist
>
> On a reboot how do I get the contents of fwlist back into the
> firewall......
/sbin/ipfw list | /usr/bin/awk '{ print "add " $0 }' >/fwlist
should do the trick. Then just call "ipfw /fwlist"
Malte.
>
> ---------------------
> William Woods <wwoods@cybcon.com>
> Date: 20-Aug-98 / Time: 12:04:06
> goto to: http//www.freebsd.org.
> --> FreeBSD 3.0 CURRENT <--
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13794.46786.889753.930290>
