Re: bandwidth limiting

From: Robert Klein <RoKlein(at)roklein.de>
Date: Wed, 15 Oct 2003 19:43:04 +0200

On Mittwoch, 15. Oktober 2003 18:52, Otto Kucera wrote:
> ich weiß es ehrlich gesagt nicht. mein ipfilter erlaubt zb.
> port 80. wenn ich jetzt die bandbreite limitiere für port 80
> dann geht port 80 nicht mehr ????
>
> ipfw.rules:
> /sbin/ipfw -f flush
> /sbin/ipfw pipe 1 config bw 128Kbit/s
> /sbin/ipfw add pipe 1 tcp from any to any 80 via fxp0

Vielleicht andersrum? Ich hab's so:
/sbin/ipfw add 501 pipe 2 ip from 192.168.254.0/24 to any 5190
/sbin/ipfw pipe 2 config bw 4Kbit/s

Du solltest auch die pipes beim restart löschen:
/sbin/ipfw -f pipe flush

Viele Grüße,
Robert

To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 15 Oct 2003 - 19:42:39 CEST

search this site