A
A
Albert Krozhezhepitskay2019-05-06 17:22:53
SMTP
Albert Krozhezhepitskay, 2019-05-06 17:22:53

HOW to let outgoing smtp traffic through a specific ip?

There are mikrotik
on eth1 5 white addresses for example (10.0.0.26-10.0.0.30)
behind the local bridge mail server 172.16.0.200
How do I release smtp packets through a specific ip (for example 10.0.0.28)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-05-06
@deni

/ip firewall nat
add action=src-nat chain=srcnat dst-port=25 out-interface=ether1 protocol=tcp src-address=172.16.0.200 to-addresses=10.0.0.28
this NAT rule must be above the masquerade rule. change the value of dst-port= to yours

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question