Firewall rules / Proper directory

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Thu Aug 2 18:49:54 UTC 2007


> 
> On 2007-08-02 12:36, "Tuc at T-B-O-H.NET" <ml at t-b-o-h.net> wrote:
> > Hi,
> > I'm developing firewall rules for a machine, and I'm wondering what
> > the standard is for putting my version of an ipfw "firewall_script"?
> 
> I usually save my rules in '/etc/pf.conf' or '/etc/ipfw.rules'.
> 
> It's not like the '/etc' directory is a "please do not touch" area.
> 
	Thanks...

	I always DO try to keep things out of /etc if at all possible, I
regard that as "system space", and if I do "trespass" into it its usually
a file or directory previously allocated for that (/etc/rc.conf, /etc/mail/*).

	I've made a "/etc/rc.firewall.local".... I may rename it in the future
to stand out more, but we'll see how it goes for now.

			Thanks, Tuc


More information about the freebsd-questions mailing list