From owner-freebsd-questions Fri Aug 4 10:31:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f207.law9.hotmail.com [64.4.9.207]) by hub.freebsd.org (Postfix) with SMTP id C1AFE37BA28 for ; Fri, 4 Aug 2000 10:31:23 -0700 (PDT) (envelope-from bruce_pea@hotmail.com) Received: (qmail 91910 invoked by uid 0); 4 Aug 2000 17:31:23 -0000 Message-ID: <20000804173123.91909.qmail@hotmail.com> Received: from 216.43.25.99 by www.hotmail.com with HTTP; Fri, 04 Aug 2000 10:31:23 PDT X-Originating-IP: [216.43.25.99] From: "Bruce Pea" To: paibounce@hotmail.com Cc: freebsd-questions@freebsd.org Subject: Re: ipfw/natd and forwarding to mail server Date: Fri, 04 Aug 2000 12:31:23 CDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Put this in your ipnat rules: rdr xxx aa.bb.cc.dd/32 port 25 -> ww.xx.yy.zz port 25 tcp where xxx is your public interface aa.bb.cc.dd/32 is your public ip address on your public interface ww.xx.yy.zz is the private ip address of your mail server Do ipnat -CF -f (path/name of ipnat rules file) then do ipnat -l to see if everything is running. This setup runs great on my system. Bruce >From: "Jeff Bitgood" >To: questions@freebsd.org >Subject: ipfw/natd and forwarding to mail server >Date: Fri, 04 Aug 2000 11:42:40 CDT > >I all but have our firewall set up, but I'm having a little problem >figuring >out how to forward mail to our mail server on this side of the firewall. >Can anybody point me to the right natd/ipfw rule combination or where I >could find it? > >Thanks. >________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message