Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2016 08:11:35 +0100
From:      Polytropon <freebsd@edvax.de>
To:        freebsd-questions@freebsd.org
Cc:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Subject:   Re: IPFW deny ip range
Message-ID:  <20160123081135.8c2ab64f.freebsd@edvax.de>
In-Reply-To: <44powt3wd7.fsf@lowell-desk.lan>
References:  <56A2A4F5.3030907@cloudzeeland.nl> <44powt3wd7.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160123081135.8c2ab64f.freebsd>