From owner-freebsd-questions Tue Jul 27 16: 9:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fingers.shocking.com (shocking.com [216.111.111.11]) by hub.freebsd.org (Postfix) with ESMTP id 048CC14DCC for ; Tue, 27 Jul 1999 16:09:20 -0700 (PDT) (envelope-from doemill@shocking.com) Received: from shocking.com (doemill@shocking.com [216.111.111.11]) by fingers.shocking.com (8.9.0/8.9.0) with ESMTP id QAA01848; Tue, 27 Jul 1999 16:05:03 -0700 (PDT) Date: Tue, 27 Jul 1999 16:05:03 -0700 (PDT) From: Doug To: Dan Simoes Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: setting up redirects with natd/firewall In-Reply-To: <379E40D0.46601BA3@iclick.com> 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 rdr ppp0 216.111.111.91/32 port 80 -> 192.168.0.2 port 80 rdr ppp0 216.111.111.91/32 port 26 -> 192.168.0.2 port 22 rdr ppp0 216.111.111.91/32 port 27 -> 192.168.0.2 port 23 etc... On Tue, 27 Jul 1999, Dan Simoes wrote: > I'm new to freebsd, so bear with me. > > I've been struggling for the past few days to get a firewall set > up using freebsd/ipfw/natd. I've got everything running, and now > all that is left is to accomplish some remapping. > > To wit: > > - traffic for server A.B.C.D on port 80 should be remapped to > internal server 192.168.100.D on port 80 > - replies from that internal server should be remapped at the > firewall to appear to come from A.B.C.D > > I'm trying to do this with -redirect_address in natd, but > I imagine there are also some issues with adding static routes > via arp so traffic "knows" to go to the firewall? > > If anyone has an example config file for natd I'd greatly appreciate > it. > > Thanks! > -- > Dan Simoes > iClick, Inc. email:dans@iclick.com > 410 Saw Mill River Road, LL135 voice:914-693-0837 > Ardsley, NY 10502 fax:914-693-1055 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > | Doug | unix9.org admin | shocking.com/~doemill/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message