Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 15:05:11 -0500 (EST)
From:      <joeo@cracktown.com>
To:        Diego Linke - GAMK <linke@magicwebdesign.com.br>
Cc:        <questions@freebsd.org>
Subject:   Re: Advanced Routing
Message-ID:  <Pine.LNX.4.30.0203181455100.20334-100000@asmodean-ssn.nks.net>
In-Reply-To: <20020318164116.12c7667c.linke@magicwebdesign.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Ah... you also need the source address nat'd so return traffic comes back
over the correct WAN link...

You might be able to get both the "nat" and the "fwd" working with a
clever usage of the some "via" modifiers to those ipfw rules, I'm not
familiar enough with the way packets flow through the ipfw code to offer
more help.

On Mon, 18 Mar 2002, Diego Linke - GAMK wrote:

> Hi
>
> The ipfw fwd ...
>
> Not alter header package :-)
>
> natd -> use routing table
>
> I need define a default gateway... The natd send package for default gateway... :-)
>
> --
> Diego Linke
> System/Network Administrator - Magic Web Design
> -----------------------------------------------------------
> linke@magicwebdesign.com.br
> www.magicwebdesign.com.br
> (41) 342-6434 Curitiba - PR - Brasil
>
> On Mon, 18 Mar 2002 14:26:40 -0500 (EST)
> <joeo@cracktown.com> wrote:
>
> > Look at the IPFW man page.  Look for the "fwd" action.
> >
> > On Mon, 18 Mar 2002, Diego Linke - GAMK wrote:
> >
> > > Hi,
> > >
> > > I had a machine with linux and a package called "ip advanced routing". That
> > > computer's disk got burned and then I chose to use BSD instead of
> > > reinstalling linux. The problem now follows:
> > >
> > > It has 3 networks cards, one to the internal network (192.168.0.X) , another
> > > to an ADSL router and the third to a leased line Internet link (NIC).
> > >
> > > I need to NAT the internal network, being able to choose which IPs go
> > > "nated" for the ADSL or for the leased line. The company's Directors already
> > > asked me to return to Linux, since it has "ip advanced routing". I'm struggling
> > > to mantain BSD on our servers, and I cannot believe it's not possible to
> > > perform this function under this so advanced system.
> > >
> > > Any help is much appreciated.
> > >
> > > Thanks,
> > >
> > > --
> > > Diego Linke
> > > System/Network Administrator - Magic Web Design
> > > -----------------------------------------------------------
> > > linke@magicwebdesign.com.br
> > > www.magicwebdesign.com.br
> > > (41) 342-6434 Curitiba - PR - Brasil
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> >
> >
>


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?Pine.LNX.4.30.0203181455100.20334-100000>