From owner-freebsd-questions Thu Aug 10 22:26:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail15.jump.net (mail15.jump.net [206.196.91.15]) by hub.freebsd.org (Postfix) with ESMTP id 447A237BEFD for ; Thu, 10 Aug 2000 22:26:32 -0700 (PDT) (envelope-from kweiss@jump.net) Received: from kamui.animeniac.com (ns.animeniac.com [216.30.96.14]) by mail15.jump.net (8.10.2/) with SMTP id e7B5QXH04527 for ; Fri, 11 Aug 2000 00:26:33 -0500 (CDT) To: "FreeBSD Questions" Subject: NATD and port redirections From: "Kevin Weiss" Reply-To: kweiss@jump.net Date: Fri, 11 Aug 2000 00:28:10 +0000 Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <965953690_PM_BeOS.kweiss@jump.net> MIME-Version: 1.0 X-Mailer: Postmaster 1.1.1 for BeOS Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My NATD doesn't seem to be redirecting smtp requests from my firewall machine to my internal mail server. Can somebody tell me if the following configuration is correct? I created /etc/rc.natd, and here's the output. #Initial Setup use_socket yes same_ports yes unregistered_only yes #Port Redirection Rules . . . (other redirects commented out for now) redirect_port tcp 192.168.1.2:25 25 . . .(other redirects commented out for now) In my firewall rules (using a "simple" firewall), I have the following: . . . $fwcmd add 804 allow tcp from any 25 to ${oip} $fwcmd add 804 allow tcp from ${oip} to any 25 . . . My /etc/rc.conf entries look like so: firewall_enable="YES" firewall_type="simple" natd_enable="YES" natd_interface="pn0" natd_flags="-f /etc/rc.natd" The firewall machine is a FreeBSD 3.4-Stable. #9. If there's any other information I should provide, please let me know. Thank you in advance. Kevin Weiss kweiss@jump.net ----------------------------------- This message was sent with the demo version of Postmaster, a BeOS mail client. For more information, please visit http://kennyc.com/postmaster To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message