Date: Tue, 10 Jul 2007 19:56:00 +0530 From: "Mahabub Basha" <mahabubbasha@gmail.com> To: freebsd-pf@freebsd.org Subject: ALTQ on multi-WAN with pf pools Message-ID: <ef7327bc0707100726n4627b0f8v85fffb119805582@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef7327bc0707100726n4627b0f8v85fffb119805582>