Community discussions

MikroTik App
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

force ip local using wan1 from multiple wans

Mon Mar 07, 2016 6:56 am

i have rb951g with 3wan. Already config load balancing.
i want my client with ip local 10.0.0.254 for example only use wan1 whenever he use youtube.
Any ideas is helpful.
Thanks in advance and sorry for my bad english.
Tried to add this rule but still not work
/ip firewall mangle
add action=mark-routing chain=prerouting src-address=10.0.0.254 dst-address=31.13.95.36 new-routing-mark=WAN1_route
/ip route
add distance=1 gateway=30.0.0.1 routing-mark=WAN1_route
30.0.0.1 is wan1 gateway
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

Re: force ip local using wan1 from multiple wans

Tue Mar 08, 2016 6:16 am

updated. Still need help :(
 
yaikun94
Member Candidate
Member Candidate
Topic Author
Posts: 110
Joined: Tue Nov 24, 2015 10:05 am

Re: force ip local using wan1 from multiple wans

Tue Mar 08, 2016 9:27 am

worked.
But i want only wan1 can go to 31.13.95.36 (ip facebook). If i disable wan1, client 10.0.0.254 cant access to facebook through wan2 and wan3.
Any ideas guys ???