From owner-freebsd-questions Mon May 11 21:54:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01298 for freebsd-questions-outgoing; Mon, 11 May 1998 21:54:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01253 for ; Mon, 11 May 1998 21:54:13 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.8/8.8.8) with ESMTP id GAA11778 for ; Tue, 12 May 1998 06:53:52 +0200 (MDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id GAA23222 for ; Tue, 12 May 1998 06:53:52 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id GAA03812 for ; Tue, 12 May 1998 06:53:53 +0200 (CEST) From: Andre Albsmeier Message-Id: <199805120453.GAA10057@internal> Subject: Re: Can this be done with natd in -STABLE? In-Reply-To: from Doug White at "May 11, 98 02:57:42 pm" To: dwhite@resnet.uoregon.edu Date: Tue, 12 May 1998 06:53:45 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Mon, 11 May 1998, Andre Albsmeier wrote: > > > Hi, > > > > I have 4 isolated Class-C nets which communicate through one router > > running -STABLE. IPFIREWALL is enabled with IPFIREWALL_DEFAULT_TO_ACCEPT > > and without additional rules (I just restrict routing for debugging). > > > > I would like to change a connection request made to host1:port1 > > to another host2:port2 instead. Is this possible with natd? > > I have experimented a little bit but I only get it conncted > > to host2:port1... > > Yes, you have to set up redirections. Of course you'll never be able to > reach host2:port1 once you set it up. It's detailed on the natd man page. That would mean that I have to redirect host1 to host2 and port1 to port2, right. I didn't find that in the natd man page... Also, if host2:port1 can't be reached anymore, that would be a problem here. Thanks anyway, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message