pf and altq rules

Max Laier max at love2party.net
Fri Aug 27 16:35:09 PDT 2004


On Friday 27 August 2004 12:48, bettan wrote:
> hello , I'm on freebsd -5.3-beta1 and pf/altq works but i have a problem
> with rules altq , i don't find how control my upload but i have found how
> control my download.My rules is here :
>
> http://62.212.121.38/pf

from pf.conf(5):
     Since translation occurs before filtering the filter engine will see
     packets as they look after any addresses and ports have been translated.

If you want to rate limit computers in your LAN you must use rules of the 
from:
 pass in on $lan_if from <limited> to any keep state queue ext_if_queue

or alternatively make use of arbitrary tagging (see pf.conf(5))

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040828/5073ebeb/attachment.bin


More information about the freebsd-current mailing list