redirect local clients to local SMTP

Hi,

I want try do this thing but I cannot make it work :frowning:
I want redirect all SMTP traffic from local clients what want connect to outside smtp’s to local smtp server.
I try add on main router (LAN<>INET) this rule :
chain=dstnat src-address=!10.0.0.200 protocol=tcp dst-port=25 action=dst-nat to-addresses=10.0.0.200 to-ports=25

but it not work, telnet to: anydomain.com 25 end with Connecting… and after short time Could not connect. I see on this rule small traffic and thats all. 10.0.200 is mailserver and only this can acces outside smtp’s.
What is wrong ? I try loking in logs but I not see any ,droped, traffic related to this rule.
Thats for any idea

/Tomi

your smtp server should be in a different subnet from your clients.

add a new NIC to the SMTP server and assign an IP with the same network ID for you local network… don’t bother urself working around with mikrotik :smiley: