From owner-freebsd-stable Tue Nov 9 13:18:58 1999 Delivered-To: freebsd-stable@freebsd.org Received: from viper.columbus.rr.com (viper.columbus.rr.com [204.210.252.254]) by hub.freebsd.org (Postfix) with ESMTP id B507714A1B for <freebsd-stable@freebsd.org>; Tue, 9 Nov 1999 13:18:36 -0800 (PST) (envelope-from brianmcd@columbus.rr.com) Received: from galatea (flpprbaby@dhcp31168084.columbus.rr.com [24.31.168.84]) by viper.columbus.rr.com (8.9.3/8.9.3) with SMTP id QAA01563; Tue, 9 Nov 1999 16:14:57 -0500 (EST) From: "Brian McDonald" <brianmcd@columbus.rr.com> To: "Vince Valenti" <vValenti@LoansLive.Com> Cc: <freebsd-stable@freebsd.org> Subject: RE: Natd Date: Tue, 9 Nov 1999 16:18:25 -0500 Message-ID: <NDBBJHLGKJMKAMFGNNAOEEPMCEAA.brianmcd@columbus.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <000a01bf2af4$be1e5930$1400000a@VVALENTICOMP> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vince, I've been using a config file for natd. natd -n ed1 -f /etc/natd.conf where /etc/natd.conf contains: dynamic yes redirect_port tcp 192.168.10.10:80 80 Works like a charm. The last line redirects traffic from the external network to the internal webserver port 80. "dynamic yes" is only needed if you have an DHCP/bootp configured external interface. Not sure about this - but you might get different results from inside and outside the network. The man page isn't specific on "aliasIP" being only the ed1 ip addy, or all addresses for the server. If you can't see the internal server through the NATD server, might add the line redirect_port tcp 10.0.0.1:80 <ipaddy of natd server>:80 So that natd on the server will redirect _both_ ports. Brian -- Brian McDonald, IBS Consulting Services System Administration Consultant -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Vince Valenti Sent: Tuesday, November 09, 1999 3:55 PM To: freebsd-stable@freebsd.org Subject: Natd Hello... I have a problem that I am hoping someone could help me with... I am trying to redirect a port (80) on my FreeBSD box to my internal web server. I have tried starting natd like this: natd -n ed1 -redirect_port 10.0.0.1:80 80 But it doesn't seem to work. Does anyone have any ideas? Thanks, Vince Valenti Senior Technical Engineer vValenti@LoansLive.Com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message