How to route specific websites through VPN only? Help me!!

Dear All,

As Youtube is blocked in our country, but i want to open it for my users as its very useful site at all. I am using VPN in mikrotik but that way it is routing the whole traffic through VPN! so Facebook & other social/email accounts could be locked… so i am in trouble :frowning:

I just want to route some websites like Youtube etc from VPN only and let all other traffic to go through my WAN. I have searched on internet and found this method:

http://wiki.mikrotik.com/wiki/Policy_Base_Routing

I used this one, but i still cant get the desired result. As the anywebsite name i write in “content” field, that website doesnt get opened however all other sites opens from WAN. (I am using VPN on my Loadbalancing Mikrotik Server)

Hi,

I have same problem… did u done it ?


Thanks :slight_smile:

Hey guys!


I was struggling with this too. I still don’t know why the content based doesn’t work. :confused: I have used a workaround with address list feature. Works like a charm! I used help from this blog: http://www.ricardoviteri.com/2012/02/26/how-to-route-spotify-or-any-other-website-through-a-vpn-link-using-a-mikrotik-router/

You don’t have to use a full IP subnet if you don’t want to. I used exact IP addresses of facebook and youtube from my country.


Have fun! :sunglasses: