I can't just edit the rule to go to another IP Address because it will then remove the my
first (primary mail server). I need to have two mail servers up (primary and secondary).
The secondary one is one that I am migrating users to.
Hope this helps a bit,
Ok, I got that part. Here is what my current config looks like:
If Proto Ext. port range NAT IP Int. port range Description
WAN TCP 25 (SMTP) 192.168.1.55 25 (SMTP)
WAN TCP 110 (POP3) 192.168.1.55 110 (POP3)
WAN TCP 443 (HTTPS) 192.168.1.55 443 (HTTPS) Webmail on pspl-mail
WAN TCP/UDP 143 (IMAP) 192.168.1.55 143 (IMAP)
With the appropriate automatic rules. If I try to add another SMTP to go to 192.168.1.160 it does
not work. I have
also tried adding a new Server NAT like:
188.8.131.52 then adding the inbound like so:
WAN TCP 25 (SMTP) 192.168.1.160
(ext.: 184.108.40.206) 25 (SMTP) Scalix SMTP and It still
doesn't go to the server, but just for fun I added an entry
for SSH to goto 192.168.1.160 and it worked fine. So,
I am confused as to what my problem is. My
From: Johan Roeloffse [mailto:johan at risc dot co dot za]
Sent: Tuesday, December 28, 2004 12:46 PM
To: Zadikem, Travis-taz
Subject: Re: [m0n0wall] Correct setup for a firewall and 2 mail servers....HELP, please!
The DNS database contains an MX(Mail Exchange) entry that forwards all email for your domain
web.picosecond.com to 220.127.116.11. Your internal network (192.168.1.x) is shielded from the Internet
by the firewall, all mail messages are forwarded to the firewall and the firewall intern forward it
to the internal mail server (192.168.1.55). If you are setting up a new mail server with an
different IP address as the original mail server you should have a problem. The rule on the firewall
only allows for mail to be forwarded to 192.168.1.55, edit the rule on the firewall to reflect the
ip address of the new mail server.
Only if you place the 2 mail-servers directly on the Internet (in front of the firewall) would you
need 2 extra addresses.
Zadikem, Travis-taz wrote:
About 12/9/04 I sent an email to the list about a help with a dual mail server setup. I am not able
to get it
to work correctly and believe the original person who setup the firewall had a misunderstanding. As
right now, the WAN address on the firewall is 18.104.22.168. There is a rule that forwards anything
from 22.214.171.124 (port 25)
to an internal machine at 192.168.1.55. I am trying to setup a new email server that will replace
the old one.
Can someone please enlighten me as to what the correct setup and an example DNS entry would look
like. I believe
I really need 3 WAN addresses. 1 for the firewall, 1 for mail server A and 1 for mail server B, but
am not sure.