ipfw questions

Chuck Swiger cswiger at mac.com
Mon Feb 2 17:10:00 PST 2004


Dennis Antunes wrote:
> When specifying: firewall_type="/etc/firewall.local" in rc.conf, loading
> of my config file fails with: ipfw: bad arguments, for usage summary
> ``ipfw''
> Receive same error at command line when entering: ipfw
> /etc/firewall.local 

Try:  ipfw -p /bin/cat /etc/firewall.local

> Also, how do definitively know if you are running ipfw2?

dmesg will probably tell you, or see whether:

	sysctl net.inet.ip.fw.autoinc_step

...is present (if so, this implies IPFW2).

-- 
-Chuck


More information about the freebsd-stable mailing list