Re: pf and altq rules

From: Max Laier <max_at_love2party.net>
Date: Sat, 28 Aug 2004 01:33:26 +0200
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

Received on Fri Aug 27 2004 - 21:35:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC