[ previous ] [ next ] [ threads ]
 
 From:  "James W. McKeand" <james at mckeand dot biz>
 To:  "'Monowall \(E-mail\)'" <m0n0wall at lists dot m0n0 dot ch>, "'Zadikem, Travis-taz'" <tzadikem at picosecond dot com>
 Subject:  RE: [m0n0wall] Help with dual mail server setup in m0n0wall
 Date:  Thu, 9 Dec 2004 10:47:27 -0500
Zadikem, Travis-taz wrote:
> Can someone please give me a quick how-to for dual mail servers in
> monowall. 
> I have the following on my outside DNS servers for mx records:
> 
> picosecond.com. 86400 IN MX 20 mail.picosecond.com.
> picosecond.com  86400 IN MX 10 web.picosecond.com.
> web.picosecond.com   86400 IN A 64.207.38.2
> mail.picosecond.com. 86400 IN A 64.207.38.4
> 
> Now, I am stuck as to what exactly needs to be done on M0n0wall.
The
> above mail servers have an internal address of 192.168.1.55 and
> 192.168.160 respectively. 
> 
> thanks,
> 
> Travis A. Zadikem
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch

I will assume that the WAN interface has a static IP than is different
what you listed in your DNS listing. I will also assume that you have
a subnet routed to you. (i.e. no proxy ARP needed)

1) NAT -> Server NAT -> Add the external IPs you list above. Give them
good descriptions (Mail & Web). This puts the external IPs in the pick
list on inbound NAT (and other places, I think).
2) NAT -> Inbound NAT -> Add the following rules:
   Interface:  WAN 
   External address:  64.207.38.2 (pick from pull down)
   Protocol:  TCP
   External port range  from:    SMTP
                          to:    SMTP
   NAT IP:  192.168.1.55
   Local port:  SMTP
   Description:  SMTP to Web
   Check the "Auto-add a firewall rule to permit traffic through this
NAT rule"
and
   Interface:  WAN 
   External address:  64.207.38.4 (pick from pull down)
   Protocol:  TCP
   External port range  from:    SMTP
                          to:    SMTP
   NAT IP:  192.168.1.60
   Local port:  SMTP
   Description:  SMTP to Mail
   Check the "Auto-add a firewall rule to permit traffic through this
NAT rule"

Make sure that the internal IPs match the external ones...

_________________________________
James W. McKeand