problems with pf

Brian John brianjohn at fusemail.com
Fri Apr 22 18:26:23 PDT 2005


Hello,
I have read the manpage on pf but I am still stumped.  I get some error 
messages when starting up that say something like 'rule expands to no 
possible valid combination' or something to that effect.  If someone can 
tell me how I can find out what the error messages are when I boot I 
will post them.

Here is my pf.conf:
ext_if="vr0"
<snip>
altq on $ext_if cbq bandwidth 2Mb queue { web , p2p , ssh }
queue web bandwidth 40% priority 6 cbq(borrow)
queue ssh bandwidth 40% priority 6 cbq(borrow)
queue p2p bandwidth 20% cbq(borrow default)
<snip>
pass in on $ext_if all
pass in on $ext_if from any to any port 22 queue(ssh)
pass in on $ext_if from any to any port 80 queue(web)

pass out on $ext_if all
pass out on $ext_if from any to any port 22 queue(ssh)
pass out on $ext_if from any to any port 80 queue(web)

Can someone please tell me what is wrong with my syntax?

Thanks!

/Brian


More information about the freebsd-questions mailing list