Page 1 of 1

sending TCP port out specific interface

Posted: Sun Oct 30, 2005 10:22 pm
by krybabie
Hi all


is it possible to route all outgoing traffic for port 25 over a specific gateway.

I have a 3 int mikrotik

2 gateways ether 1 and 3

all outbound mail must go to ether1 by default.

All web traffic - port 80 and 443 must go to ether3

I am running SRC-NAT masqurade on all ports

Ether 2 and 3 and internal addresses

Ether 1 is live ip addressing

Any ideas guys


Regards

Malcolm

Posted: Mon Oct 31, 2005 12:38 am
by bjohns
Set up policy routing that routes such packets based upon a predetermined tag. Similar to Cisco's route map command.

http://www.mikrotik.com/docs/ros/2.8/ip/route

Posted: Mon Oct 31, 2005 9:25 am
by krybabie
Thanks

Just using version 2.9 - do you have an example of how to do it.

The documentation doesn't cover my exact problem


Thanks guys


Malcolm