So I have listed three IP Public IPs. All of them can be ping-ed just fine.
Ex: 1.1.1.1, 1.1.1.2, 1.1.1.3
Currently all machines including Email Server are using the 1.1.1.1 when going outside.
I want email server to use 1.1.1.2.
add action=src-nat chain=srcnat disabled=no out-interface=internet src-address=192.168.12.30 to-addresses=1.1.1.2
192.168.12.30 is an IP of Email Server.
It doesn’t work and when I check from email server, http://www.whatismyip.com/ shows 1.1.1.1 is still being used by my server.
Need advice on what to check.
IP Firewall Nat
0 chain=srcnat action=src-nat to-addresses=1.1.1.2
src-address=192.168.12.30 out-interface=internet
1 ;;; Masquerade
chain=srcnat action=masquerade out-interface=internet
2 ;;; proxy mikrotik redirect
chain=dstnat action=redirect to-ports=8080 protocol=tcp
src-address=192.168.12.0/24 in-interface=LAN dst-port=3128
3 chain=dstnat action=redirect to-ports=8080 protocol=tcp
src-address=192.168.12.0/24 in-interface=LAN dst-port=80
peson
2
Looks like it should work, please make a printout from:
/ip fire nat print chain=srcnat
and
/ip fire nat print chain=srcnat stats