Community discussions

MUM Europe 2020
 
raz
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Wed Dec 19, 2012 3:26 pm
Location: Austria

Policy Based Routing Question

Fri Jan 31, 2014 8:38 am

Hey

we got a 2nd ISP Connection.

ISP1: 3 MBit/sec with static IPs
ISP2: 100 MBit/sec with dynamic IPs and "HomeBox" as Router. It makes src-nat.

so im gonna try Policy Based Routing now:

ros code

/ip firewall mangle
add action=mark-routing chain=prerouting dst-port=80,8080 new-routing-mark=\
    isp2_route passthrough=no protocol=tcp src-address=10.0.10.0/24

ros code

/ip route
add distance=1 gateway=192.168.0.1 routing-mark=isp2_route
Here it says: reachable ether5

So, im not getting routed via ISP2, thats weird.
 
raz
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Wed Dec 19, 2012 3:26 pm
Location: Austria

Re: Policy Based Routing Question

Fri Jan 31, 2014 10:46 am

Found it, there was an dst-nat rule for webproxy, so it redirected and ignored it.

Who is online

Users browsing this forum: No registered users and 21 guests