ALTQ on multi-WAN with pf pools
Mahabub Basha
mahabubbasha at gmail.com
Tue Jul 10 14:50:50 UTC 2007
Hi all,
I have a multi-WAN setup using pf pools and want to use
simple QoS using ALTQ. I don't know how to use priq in
combination with multi-wan.
My stripped pf.conf looks like this
pf.conf
==========================================================
altq on $wan priq queue { idle_1, normal_1, high_1}
queue idle_1 priq(default)
queue normal_1 priority 2
queue high_1 priority 3
altq on $wan2 priq queue { idle_2, normal_2, high_2 }
queue idle_2 priq(default)
queue normal_2 priority 2
queue high_2 priority 3
# User NAT Rules
nat on $wan from any to any -> ($wan)
nat on $wan2 from any to any -> ($wan2)
pass in quick on $lan route-to { ($wan $wan_gw), ($wan2 $wan2_gw) } \
round-robin inet from ($lan:network) to any flags S/SA keep state
==========================================================
How can I assign select traffic (eg. ssh) going out on either $wan or
$wan2 to the "high_x" queues?
Thanks for reading!
- Mahabub Basha. S
More information about the freebsd-pf
mailing list