Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 10:56:17 +0200
From:      Joost Bekkers <joost@bps.jodocus.org>
To:        Sperber <sperber@gmx.at>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw & shape
Message-ID:  <20020421105617.A27195@bps.jodocus.org>
In-Reply-To: <200204211042.53211.sperber@gmx.at>; from sperber@gmx.at on Sun, Apr 21, 2002 at 10:42:53AM %2B0200
References:  <200204201840.33870.sperber@gmx.at> <200204210847.54567.sperber@gmx.at> <20020421103344.A27126@bps.jodocus.org> <200204211042.53211.sperber@gmx.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 21, 2002 at 10:42:53AM +0200, Sperber wrote:
> On Sunday 21 April 2002 10:33, Joost Bekkers wrote:
> > On Sun, Apr 21, 2002 at 08:47:54AM +0200, Sperber wrote:
> > > > 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.
> > >
> > > My goal is to shape the internal traffic because I only have a 64kbit
> > > isdn connection and if two people on the network start to download
> > > something you can't work any more...
> > > Which means I want to shape the traffic from 192.168.1.5 to my machine.
> > > But with my configuration it doesn't work :-/
> >
> > Could you describe your network? (hosts, links, ip's,....)
> 
> 
>  Inet - Router (me) - Switch - 4 other Computers
>         192.168.1.1            192.168.1.2 192.168.1.3 192.168.1.4 192.168.1.5
> 
> So if another computer downloads something nobody else can work on the inet 
> any more because the connection is overloaded.
> 

ah, what you want are rules along the lines of:

tcp from any 80 to 192.168.1.0/24

the 1.1 (me) address is not in the ip header of the packets to and
from the internet (it is not one of the endpoints of the tcp
connection), so the rule '... from me to 192.168.1.5 80' is never
satisfied 

-- 
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?20020421105617.A27195>