I've got a mail server and a spam server both on our internal subnet. I'm trying to avoid making local DNS entries for each domain I add.
Spam Server External IP 123.123.123.1
Spam Server Internal IP 192.168.0.2
Mail Server Internal IP 192.168.0.3
Gateway 192.168.0.1
Outside connects to our spam server: 123.123.123.1 which in turn DST-NATs to its internal address of 192.168.0.2
Our spam server knows to relay the email so it does a DNS lookup for the host that its sending mail to and sees the external IP address because I don't have an internal DNS zone setup. It sees 123.123.123.1
Our spam server would then route this through our mikrotik router (ver 2.9.x). I'm trying to get it to connect to our mail server: 192.168.0.3. This is where I'm stuck. How do I tell it to redirect traffic going to 123.123.123.1:25 to 192.168.0.3:25 ? I've tried various SRC-NAT and DST-NAT rules but with no luck. Can anyone help??
Sandy