From owner-freebsd-ipfw Tue Nov 23 9:15:53 1999 Delivered-To: freebsd-ipfw@freebsd.org Received: from www.phear.nl (bofh.wish.net [212.61.32.7]) by hub.freebsd.org (Postfix) with ESMTP id 243E314F75 for ; Tue, 23 Nov 1999 09:15:30 -0800 (PST) (envelope-from robin@www.phear.nl) Received: (from robin@localhost) by www.phear.nl (8.10.0.Beta6/8.10.0.Beta6) id dANHHpb69705; Tue, 23 Nov 1999 18:17:51 +0100 (CET) Date: Tue, 23 Nov 1999 18:17:51 +0100 From: Robin Gruyters To: Nick Rogness Cc: freebsd-ipfw@freebsd.org Subject: Re: IPFW and forward Message-ID: <19991123181751.R49519@bofh.wish.net> References: <19991123171119.N49519@bofh.wish.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from nick@rapidnet.com on Tue, Nov 23, 1999 at 10:11:56AM -0700 X-Operating-System: FreeBSD, i386 X-PGP-Fingerprint: FD 2B 93 E9 04 20 5D F7 85 C2 F8 9E 05 4E 51 DD X-Url: http://www.phear.nl Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 23, 1999 at 10:11:56AM -0700, Nick Rogness wrote: > On Tue, 23 Nov 1999, Robin Gruyters wrote: > > > ipfw add fwd : tcp from any to > address> > > > > 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