Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 20:26:09 -0500
From:      Brian John <brianjohn@fusemail.com>
To:        freebsd-questions@freebsd.org
Subject:   problems with pf
Message-ID:  <4269A431.1060201@fusemail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4269A431.1060201>