Cisco/mikrotik quick redirect

Hello,

Need help with this redirect with cisco instructions need to do this example in a live working mikrotik and don’t want to mess it up.

! This ACL matches SMTP packets originating from the customer subnet,
! and terminating on the Internet.
ip access-list ex OutboundSMTPList
permit tcp 192.168.0.0 0.0.0.255 any eq 25
! This ACL matches SMTP packets returning from the Internet.
ip access-list ex ReturningSMTPList
permit tcp any eq 25 192.168.0.0 0.0.0.255
! We attach an outbound route-map to the customer network-facing interface,
! and a returning route-map to the Internet-facing interface.
route-map OutboundSMTPRoute per 10
match ip add OutboundSMTPList
set ip next-hop 192.168.1.30
route-map ReturningSMTPRoute per 10
match ip add ReturningSMTPList
set ip next-hop 192.168.1.30
! Finally, we bind the outbound SMTP route to the customer interface,
! and the returning SMTP route to the Internet interface.
int f1/0
ip policy route-map OutboundSMTPRoute
int f1/1
ip policy route-map ReturningSMTPRoute


please help me translate.

This sounds like this post here http://wiki.mikrotik.com/wiki/Redirect_mail_traffic_to_a_specified_server

With dst-nat all my traffic will be from the filter box instead of the original smtp server. Can’t use dst-nat.

I’m going to make some assumptions. Assumption 1 is that you have two connections between your routers. We’ll call them A and B.
Connection A is shown at the top.
Connection B is shown at the bottom and flows through the proxy.

You need two default routes on the left router. I’ll call this router 1 and the other router will be 2. The default route for B should have a “route mark”…we’ll call it RM-B.
Any of your traffic that you want to head to the proxy, put in a mangle rule and set a route-mark on this traffic of “RM-B”.

On router 2 you will need to duplicate your route table pointing inside. The standard path A, but also the same for path B, but path B will have a route-mark of “RM-B”.
Do the same mangle trick on router 2 that we did on router 1.