Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 23:46:47 -0700
From:      K Anderson <freebsduser@comcast.net>
To:        RYAN vAN GINNEKEN <rmvg@computerking.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firewall
Message-ID:  <3F13A357.4050205@comcast.net>
In-Reply-To: <3F138E20.7010801@computerking.ca>
References:  <3F138E20.7010801@computerking.ca>

next in thread | previous in thread | raw e-mail | index | archive | help


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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F13A357.4050205>