C
C
cckfnn2016-01-21 13:19:59
Email
cckfnn, 2016-01-21 13:19:59

How to route all traffic from the mail server through another Mikrotik IP address?

Colleagues, tell me how to send all mail traffic through another IP address?
One provider, several ip.
What I have already done - I marked all the traffic that comes from the mail server to addresses other than the addresses of the local network and sent it through Routes to another IP.
but as before, all traffic flows through another ip, through which users go to the Internet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-01-21
@cckfnn

You need to properly configure SRCNAT AND DSTNAT. I can’t tell you exactly how to do this on MikroTik, but on pfSense it’s done like this:
1. Set up an additional IP on the interface facing the provider
2. Set up port forwarding (DSTNAT) on this address inside the network (to the mail server)
3. Configures NAT Outbound (SRCNAT) so that the mailer goes online through a dedicated IP
4. Check
Profit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question