Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Aug 2000 12:31:23 CDT
From:      "Bruce Pea" <bruce_pea@hotmail.com>
To:        paibounce@hotmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfw/natd and forwarding to mail server
Message-ID:  <20000804173123.91909.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help

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" <paibounce@hotmail.com>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000804173123.91909.qmail>