Date: Thu, 22 May 2003 13:06:48 +0200 From: Kjell Midtseter <kmidtset@c2i.net> To: Carolyn Longfoot <c_longfoot@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Update Firewall Rules Message-ID: <20030522110648.GB543@tina.la3sg.net> In-Reply-To: <Sea1-F44bF503zJLTz7000278e4@hotmail.com> References: <Sea1-F44bF503zJLTz7000278e4@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 22 May 2003 at 4:16:18 -0400, Carolyn Longfoot wrote: > How do I switch the firewall rules on a system without rebooting? > I tried executing /etc/rc.firewall OPEN > for example but the same rule set is put in place again that is defined in > /etc/rc.conf. > > I'm sure there's a simple answer, thanks in advance! > # To load new rules: # ipf -Fa -f /etc/ipf.rules # ipnat -CF -f /etc/ipnat.rules # You can use ipfstat to display firewall statistics a la ``top" command: # ipfstat -t # to display the current list of active MAP/Redirect filters and active sessions: # ipnat -l # to find out the `hit' statistic for each individual rule in /etc/ipf.rules: # ipfstat -hio # to show current rules: # ipfstat -i -o regards from Kjell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522110648.GB543>