--- Nikolay Kalev <[EMAIL PROTECTED]> wrote:
> Can please anyone tell me if this is posible or not
> :
> I have several users behind a firewall + nat and i
> have to accomplish
> 3 types of shaping per user :
> local country shape, internet shape, and upload
> shape
>  Is this posible or not with altq. I know for sure
> that inbound and
> outbound can be done but i;m not sure that i can
> separate 2 diferent
> tipes of inbound. Please put sum examples if
> possible. Thanks in
> advance
> 
> -- 
> Key fingerprint = 9864 E575 E207 FB90 44C8  26A2
> 0167 E57E 66ED 0F1D
> 

Yes, you can.
Just assign queue to you filter rule.upload queue must
be assign on your $ext_if.
example:

table <local_country> persist file "/etc/bulgaria.pf"

pass out on $int_if from any to ip.client1 queue
local_country
pass out on $int_if from <local_country> to ip.client1
queue local_country

look at "/usr/share/pf" for examples and
man 5 pf.conf


Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Key fingerprint=2499 DE87 82ED 23A8 FD20 3078 04FE 610E 300D 6655


                
__________________________________ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

Reply via email to