Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 18:56:06 +0300
From:      "Nikolaev D./" <nomad@akm.ru>
To:        <dino@mail.webjogger.net>, <freebsd-ipfw@FreeBSD.ORG>
Subject:   Re: limiting Bandwidth
Message-ID:  <001201c18325$8207ea70$e69630d4@akm.ru>
References:  <200112120940.AA27197778@mail.webjogger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
        "The firewall and NAT job is being done by ipfilter v3.4.21." :
Outgoing trafic posibly have real ip. Try this:
add 1000 pipe 10 all from 192.168.1.0/26 to any in via fxp0
add 1100 pipe 20 all from any to 192.168.1.0/26 out via fxp0

----- Original Message -----
From: "dino " <dino@mail.webjogger.net>
To: <freebsd-ipfw@FreeBSD.ORG>
Sent: Wednesday, December 12, 2001 5:40 PM
Subject: limiting Bandwidth


> I am running  4.4-STABLE FreeBSD with IPFW built into the kernel.
> The firewall and NAT job is being done by ipfilter v3.4.21.
> The machine has two interfaces: fxp0 and xl0.
> fxp0 is connected the private segment.(192.168.1.0)
> xl0 goes to internet.
>
> I am testing these set of rules:
> #
> pipe 10 config  bw 1544kbit/s
> pipe 20 config  bw 1544kbit/s
> add 1000 pipe 10 all from 192.168.1.0/26 to any out via xl0
> add 1100 pipe 20 all from any to 192.168.1.0/26 in via xl0
>
> Pipe 20 is shaping the traffic,limiting the speed to 1544 kbits/s. But
pipe 10 is not limiting the speed (client stations uploading files to
internet).


>
>
> What should I adjust or check to make it work?
>
> Any Ideas?
>
>
> Regards
>
> Mario Antonio Garcia
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ipfw" in the body of the message


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?001201c18325$8207ea70$e69630d4>