I have a new MT router under construction for hotspot use. This one uses a mail server that is on a "non fixed" ip address. So I have to figure out how to send mail server requests to (for example) <mail.coffeehouse.us>. I want to BLOCK ANY and all port 25 traffic to any other mail server excepting <mail.coffeehouse.us>. (In the alternative, simply sending ALL port 25 traffic originating on the hotspot side to <mail.coffeehouse.us> would be fine also.)
In my current design, I am able to a) get mail to the right place if I put a fixed IP address in my routing setup. and b) I am able to PING to <mail.coffehouse.us> from the hotspot side. But I have not sorted out how to get things to work when I want to use <mail.coffeehouse.us:25> as the destination for all port 25 traffic. It would be just fine to reroute ALL port 25 traffic to <mail.coffeehouse.us> as opposed to just that with the server listed as mail.coffeehouse.us if that made the routing algorithm simpler.
Can someone detail for me the routing table setup lines I need for making outgoing mail from a mail client go through to the server <mail.coffeehouse.us> and in the MEANWHILE blocking all other hotspot originating traffic to any other port 25 excepting this one?
For the sake of argument, consider that the ether1 port is 192.168.1.5 and is the "public" side of the Mikrotik and that 10.5.50.x is the HOTSPOT side of the router on ether2.
Many Thanks for the help!
Joe