Masquerading Local IP to Mailserver

Hello all

Trying to figure out how to make all Ips trying to send mail to SMTP from local ip 10.10.10.0/24 to masquerade it to a real IP how do i do that??

Thank you

Sarky

The following command should do it:

ip firewall src-nat add src-address=10.10.10.0/24 dst-port=25 protocol=tcp out-interface=uplink action=masquerade

Replace the uplink with the interface name of your internet uplink, like ether1 or whatever you have…

Thanks for the reply but now if the AP masquerades it, it will masq to its local IP too.

i am trying to change all my network to Use Fake IP just servers to use Real IP, if i open SMTP to take email from Fake IP some mail servers out somewhere will bounce them because those mail are originating from FAKE.

SArky