Date: Sat, 20 Apr 2002 23:50:01 +0200 From: Joost Bekkers <joost@bps.jodocus.org> To: Sperber <sperber@gmx.at> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw & shape Message-ID: <20020420235001.A25891@bps.jodocus.org> In-Reply-To: <200204201840.33870.sperber@gmx.at>; from sperber@gmx.at on Sat, Apr 20, 2002 at 06:40:33PM %2B0200 References: <200204201840.33870.sperber@gmx.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 20, 2002 at 06:40:33PM +0200, Sperber wrote: > Hi, > I have the problem that I configured ipfw with shaping - but it doesn't > shape. I read tons of pages but haven't found a solution. > Here is a small part of my list output which looks fine for me but... > -- -- > 00100 pipe 100 tcp from 192.168.1.5 to me 80 > 00101 pipe 101 tcp from 192.168.1.5 to me 8080 > 00102 pipe 102 tcp from 192.168.1.5 to me 21 > 00103 pipe 103 tcp from 192.168.1.5 to me 20 > 00104 pipe 104 tcp from 192.168.1.5 to me 3128 I think you are misinterpreting the ipfw rules. With this config you'll shape tcp-packets from 192.168.1.5 to your machine. NOT packets from anywhere in the world that came through a router with address 192.168.1.5 which, I assume, is your goal. You are also not shaping packets that leave your system. 00100 pipe 100 tcp from any to me 80 00101 pipe 101 tcp from any to me 8080 00102 pipe 102 tcp from any to me 21 00103 pipe 103 tcp from any to me 20 00104 pipe 104 tcp from any to me 3128 00200 pipe 200 tcp from me 80 to any 00201 pipe 201 tcp from me 8080 to any 00202 pipe 202 tcp from me 21 to any 00203 pipe 203 tcp from me 20 to any 00204 pipe 204 tcp from me 3128 to any This will probably do what you want. You might want to think about if you really need to shape the incoming packets (100-104) and ftp [control] (port 21) since their bandwith use is almost none. -- greetz Joost joost@jodocus.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020420235001.A25891>
