firewall

K Anderson freebsduser at comcast.net
Mon Jul 14 23:47:04 PDT 2003



RYAN vAN GINNEKEN wrote:
> ipfw /etc/rc.fw4
> gives me
> ipfw: bad arguments, for usage summary ``ipfw''
> 
> need to start my firewall without rebooting
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 
ipfw isn't some sort of daemon to be stopped and started. If you want to 
add rules, delete rules or what ever then  you just do it.

Take a look at the script in /etc/rc.firewalls and you'll see that's all 
they are doing.

so  your firewall file should be  a shell script. Even if you do man 
ipfw you'll see that in no way does ipfw accept a file name as an 
arguemnt.  Pretty simple eh?



More information about the freebsd-questions mailing list