Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 01:33:26 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org
Cc:        bettan <bettan@nerim.net>
Subject:   Re: pf and altq rules
Message-ID:  <200408280133.35158.max@love2party.net>
In-Reply-To: <001601c48c23$62fba720$0301a8c0@danielle>
References:  <001601c48c23$62fba720$0301a8c0@danielle>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBL8TPXyyEoT62BG0RAi4UAJ9obB9OM2PduDlUktcr0gvHsiSIFQCePMO4
md3Dc/NBxjtpQexcomxLpVM=
=d2Xx
-----END PGP SIGNATURE-----
help

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