Date: Thu, 27 Mar 2008 18:18:09 -0400 From: "Joe Ryan" <joeryan3@gmail.com> To: freebsd-questions@freebsd.org Subject: Limiting Individual User Upload w/ PF+ALTQ Message-ID: <32e5d9700803271518r43c2653av4618cbd78b9bfc7d@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I am trying to setup traffic shaping on our network. I was wondering if it was possible to limit a users download bandwidth and upload bandwidth within the same state connection. For example, say a user connects to an external FTP site and does some uploading and downloading. Can I allow him to download at 1Mb but limit his upload to 500Kb? As I understand the packet filtering of PF, the first packet creates a state and the rest are then ignored by the filtering software. If this is true, the users first packet will be inbound on the internal interface which will be queued for download speed. This makes sense to me when you want to queue the entire connection but how do I then do a separate queue on the traffic coming back? I am using 7.0 STABLE. Thanks in advance, Joe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32e5d9700803271518r43c2653av4618cbd78b9bfc7d>