From owner-freebsd-stable Thu Jul 12 18:30:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id CD96837B401 for ; Thu, 12 Jul 2001 18:30:55 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f6D1UnV59190; Thu, 12 Jul 2001 18:30:49 -0700 (PDT) (envelope-from dillon) Date: Thu, 12 Jul 2001 18:30:49 -0700 (PDT) From: Matt Dillon Message-Id: <200107130130.f6D1UnV59190@earth.backplane.com> To: Mike Hoskins Cc: freebsd-stable@FreeBSD.ORG Subject: Re: $diety, I hate natd. References: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Ok, I've had this working before... now I'm apparently braindead. Help :me see what I've overlooked this time. : :Simple. Let's redirect incoming traffic to 1.2.3.4:8080 to :192.168.0.2:80. I've done this in the past via natd's redirect_port :argument. Right now natd gets the following args: : : -u -l -s -m -redirect_port tcp 192.168.0.2:80 8080 -n fxp0 : :All standard enough and working (except the redirect, of course). IPFW's :.. My new 'firewall' manual page has an ipfw example of a natd setup. It might help. You need a relatively recent -stable to have the man page. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message