Date: Wed, 16 Jun 1999 19:55:05 -0500 (EST) From: Alfred Perlstein <bright@rush.net> To: Brian Gallucci <noc@expnet.net> Cc: FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Firewall Rules Message-ID: <Pine.BSF.3.96.990616195324.14320k-100000@cygnus.rush.net> In-Reply-To: <003901beb856$5f189f60$51f51c0a@expnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jun 1999, Brian Gallucci wrote: > Can someone tell me how do dump firewall rules and then reload them while > you are loged into the box via telnet. > > At the console I'm using > ipfw -f flush > > And to reload the firewall I use > sh /etc/rc.firewall > > I need to update the firewall when I'm off site and the only way I can seem > to update is to reboot. < Which is not a good thing > > > I'm running IPFW and the box is NATD running on FreeBSD 2.2.8 um... combine them on one line: ipfw -f flush ; sh /etc/rc.firewall it should flush the firewall and then reload it, you'll momentarily loose responsiveness, then you should get a prompt, give it 10-20 seconds for the next prompt to appear. -Alfred 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?Pine.BSF.3.96.990616195324.14320k-100000>