Re: Rule Numbering...

Ion-Mihai Tetcu <[email protected]> Wed, 13 Aug 2003 10:18:08 +0300
Newsgroups gmane.os.freebsd.configuration
Organization Tecnik'93 S.R.L.
Message-ID <[email protected]>
On Tuesday 12 August 2003 23:05, Chico wrote:
> I am wondering what the deal is with the Rule
> numbering in IPFW?  I am switching from IPF to IPFW
> because it has more functionality, however I am
> confused with the rule numbering scheme.  When I read
> "how-to's" on the internet people are numbering the
> firewall rules in there /etc/ipfw.rules file starting
> with 00300, 00301...  and then start going to 00400,
> 00401, 00402...  What the deal with this scheme?

The rules are check from the lowest to the highest, and the check stops 
at the first match. I would recommend a 0300, 0310, etc. scheme so that 
you have pace to add a rule (by hand) if that is necessarily.

IOnut
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "[email protected]"