From owner-freebsd-newbies Fri Aug 17 22:18:40 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id DE67537B413 for ; Fri, 17 Aug 2001 22:18:30 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 7545 invoked by uid 0); 18 Aug 2001 05:18:29 -0000 Received: from pd950a39b.dip.t-dialin.net (HELO kiste) (217.80.163.155) by mail.gmx.net (mp020-rz3) with SMTP; 18 Aug 2001 05:18:29 -0000 Message-ID: <019201c127a5$375837e0$0408a8c0@localdomain> From: "Michael Nottebrock" To: "Adam LaBarge" , References: Subject: Re: port forwarding with natd Date: Sat, 18 Aug 2001 07:18:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 x-mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----- Original Message ----- From: "Adam LaBarge" > Hi, I am trying to forward port 25 from a FreeBSD router, running natd > with an open firewall to an internal machine running FreeBSD set up as a > sendmail server. > [...] > natd -redirect_port internalmachne:25 myIP:25 25 I suppose that natd is started automatically on bootup. Edit your rc.conf and add a line: natd_flags="-redirect_port tcp :25 25" That should cater for your next boot. Then kill natd and restart it: natd -redirect_port tcp :25 25 Greetings, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message