Date: Mon, 9 Jun 2008 15:32:30 -0700 From: "Thomas Kinsey" <thomas.kinsey@gmail.com> To: freebsd-pf@freebsd.org Subject: prioritizing outbound traffic from internal services Message-ID: <8c29c6720806091532h49ab27c9t101081279e5138af@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello List, This is my first time, so be gentle. I want to prioritize outbound traffic from an ssh server behind my pf box. My ADSL connection is almost always flooded, so when I connect to the ssh server from work, there is a lot of lag. Connections originating from the lan hit the outbound queue on the external interface, and all goes well, however packets from the externally initiated connection don't seem to be being queued. Is there any way to do this? I googled around a bit and found rules that did something like this: altq on $ext priq bandwidth 350Kb queue { fast, slow } queue fast priority 7 priq(red) queue slow priority 1 priq(default red) And then applied that to an INBOUND filter rule on the same interface, like this: pass in on $ext proto tcp from any to ($ext) port 22 keep state queue fast But that doesn't seem to work for me. Am I doing something wrong here? The box running pf is a soekris net4521, running FreeBSD 6.3-RELEASE. Maybe the older version of pf is relevant? Thanks in advance, TK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c29c6720806091532h49ab27c9t101081279e5138af>