IPFW deny ip range

Polytropon freebsd at edvax.de
Sat Jan 23 07:11:45 UTC 2016


On Fri, 22 Jan 2016 20:41:56 -0500, Lowell Gilbert wrote:
> I've never heard of ipfw.rules, though, so you may be a little confused.

It's just an alternative configuration file name, such as
/etc/ipfw.conf. You typically use it like this in /etc/rc.conf:

	firewall_script="/etc/ipfw.rules"

This script is actually a valid shell script which will be
executed, as _commands_. If you use

	firewall_type="/etc/ipfw.conf"

instead, you need to supply _options_ that can follow a call
of the ipfw program.

The real difference is _script and _type, not the file name per se. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list