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

[EMAIL PROTECTED] 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


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to