Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 17:22:22 +0000
From:      Peter Coates <peter@newnet.co.uk>
To:        Robin Gruyters <robin@wish.net>
Cc:        Nick Rogness <nick@rapidnet.com>, freebsd-ipfw@FreeBSD.ORG
Subject:   Re: IPFW and forward
Message-ID:  <383ACD4E.67453D76@newnet.co.uk>
References:  <19991123171119.N49519@bofh.wish.net> <Pine.BSF.4.05.9911231001120.38825-100000@rapidnet.com> <19991123181751.R49519@bofh.wish.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sound like you just need to enable packet forwarding if you wish 
to enable routing.

Try this: 
           sysctl -w net.inet.ip.forwarding=1


Peter,
NewNet Limited


Robin Gruyters wrote:
> 
> On Tue, Nov 23, 1999 at 10:11:56AM -0700, Nick Rogness wrote:
> > On Tue, 23 Nov 1999, Robin Gruyters wrote:
> >
> > > ipfw add fwd <internal address>:<port> tcp from any to <external
> > > address> <port>
> > >
> > > Something like that?!?! Please, help me.
> > >
> >
> >   You might want to use divert for this.  Something like this:
> >
> >    ipfw add divert natd ip from any to any via outside_interface
> >
> >   Then run natd:
> >
> >    /sbin/natd -port 8668 -redirect_port tcp external:port internal:port
> >
> >   There is some other information that nat will need but you can add that
> >   from the natd man page.
> >
> 
> Well what I want to do is, contact an external address trough the firewall and
> forward it to an internal address.
> 
> 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?383ACD4E.67453D76>