From owner-freebsd-questions Mon May 11 14:58:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29031 for freebsd-questions-outgoing; Mon, 11 May 1998 14:58:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29021 for ; Mon, 11 May 1998 14:58:40 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id OAA01429; Mon, 11 May 1998 14:57:42 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 11 May 1998 14:57:42 -0700 (PDT) From: Doug White Reply-To: Doug White To: Andre Albsmeier cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can this be done with natd in -STABLE? In-Reply-To: <199805111709.TAA08081@internal> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message