Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 10:01:14 +0200
From:      "Adam@junik.lv" <adam@junik.lv>
To:        <ipfw@freebsd.org>
Subject:   Re: bandwidth limit using ipfw
Message-ID:  <002401c1c41b$eca6ccc0$03cdb6d5@junik.lv>
References:  <3C846696.A5ECF8F9@morganstanley.com>

next in thread | previous in thread | raw e-mail | index | archive | help



----- Original Message -----
From: "Victor Tayer" <Victor.Tayer@morganstanley.com>
To: <ipfw@FreeBSD.ORG>
Sent: Tuesday, March 05, 2002 8:32 AM
Subject: bandwidth limit using ipfw


> how do i configure ipfw so that packets destined for my http (80) port
> or whatever ports that i like will be limited only to say 2kbps...?


At your kernel:
options  DUMMYNET

At /etc/rc.firewall:
fwcmd="/sbin/ipfw"
${fwcmd} add  pipe 1 tcp from any to any 80 in
${fwcmd} pipe 1 config bw 2Kbytes/s






>
> any inputs will be greatly appreciated.
>
> jett tayer
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ipfw" in the body of the message
>



______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c1c41b$eca6ccc0$03cdb6d5>