From owner-freebsd-questions Sun Mar 11 23: 7:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f247.law4.hotmail.com [216.33.149.247]) by hub.freebsd.org (Postfix) with ESMTP id 7B5EF37B718 for ; Sun, 11 Mar 2001 23:07:15 -0800 (PST) (envelope-from bahobab@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 11 Mar 2001 23:07:14 -0800 Received: from 207.208.254.234 by lw4fd.law4.hotmail.msn.com with HTTP; Mon, 12 Mar 2001 07:07:14 GMT X-Originating-IP: [207.208.254.234] From: "Konan Houphoue" To: akbeech@anchoragerescue.org, questions@FreeBSD.org Subject: NATD Redirect_port Date: Mon, 12 Mar 2001 01:07:14 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Mar 2001 07:07:14.0915 (UTC) FILETIME=[1121DB30:01C0AAC3] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I'm using firewall and natd on my freeBSD that connects to the Internet. How do I go about redirecting incoming connections on port 25 (SMTP) to the same port on another host on the inside private network? I already successfully redirect port 80 incoming connections on the public interface to another host on my private network. Here's what's in my /etc/rc.conf: ... #enabling Firewalling firewall_enable="YES" firewall_type="simple" #enabling NAT natd_enable="YES" natd_interface="fxp0" #natd_flags="-u -m -dynamic" #natd_interface="207.208.254.234" natd_flags="-redirect_port tcp 192.168.1.40:80 80" ... Thanks, Konan _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message