Enable ipfw without rebooting

G Bryant gbryant at roamingsolutions.net
Fri Sep 23 11:50:19 PDT 2005


You could use ipfw sets and disable the sets at the start of the script 
- excluding the pass-thru rules.
My rc.firewall script disables all the scripts and only enables the ones 
I want.  I can then run scripts from cron to enable/ disable any sets I 
like.  You can load all the rules you want into sets that are disabled, 
and then you can enable them at will.
That's one suggestion - although I did see a command somewhere to 
disable ipfw at runtime.  man ipfw
Regards, Graham

scuba at centroin.com.br wrote:

>Hi all,
>
>	What is the best way to enable/disable ipfw on a FBSD 5.x box,
>without reboot?
>
>	I.e. If I have a box that booted with 'firewall_enable="NO"' in
>rc.conf, how can I enable it without reboot?
>
>Thank you,
>
>- Marcelo
>
>
>_______________________________________________
>freebsd-ipfw at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
>To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
>
>
>  
>



More information about the freebsd-ipfw mailing list