Page 1 of 1

Route some traffic through VPN

Posted: Thu Jul 28, 2011 6:35 pm
by PatricF
Hi,

I'm wondering if it's possible to route some specified traffic through a VPN.

I'm having a VPN account in the US and only want to route traffic that's going to netflix.com and it's subdomains.
Is this possible? If so, how do I configure it?

Re: Route some traffic through VPN

Posted: Thu Jul 28, 2011 8:30 pm
by PatricF
So I tried to add netflix.com's IP in the routing table and route it through the VPN but I can't get it to work. When I do that I can't access the site at all and when I try to ping it I get a timeout.

I run this command just to try and see what would happen:
/ip route add dst-address=69.53.236.17 gateway=VPN-US
VPN-US is obviously the name of the VPN.
Do I need to do something else or is this totally wrong?

Re: Route some traffic through VPN

Posted: Thu Jul 28, 2011 9:01 pm
by PatricF
I also tried the option "Add default route" and that wont work either, the routing table says it's unreachable but I can ping the IP and everything..
I've tried to use the VPN directly on my computer and run all traffic through it and it worked without any problems at all, it's just in the MikroTik I have problems with it..

 0 ADS  0.0.0.0/0                    192.168.1.1                         0       
 1  DS  0.0.0.0/0                    192.168.111.1                       1        
 2 ADC  192.168.1.0/24               192.168.1.71       ether1           0       
 3 ADC  192.168.9.0/24               192.168.9.1        intern           0       
 4 ADC  192.168.111.1/32             192.168.111.67     VPN-US           0       
intern = my internal network, 192.168.9.0
ehter1 = the main router I get internet from

Re: Route some traffic through VPN

Posted: Fri Jul 29, 2011 12:43 am
by Aveyer
I'd imagine you'd have to make a NAT rule too? Either srcnat or dstnat and out interface set to VPN.