Community discussions

MikroTik App
 
PatricF
just joined
Topic Author
Posts: 24
Joined: Tue May 17, 2011 10:59 am

Route some traffic through VPN

Thu Jul 28, 2011 6:35 pm

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?
 
PatricF
just joined
Topic Author
Posts: 24
Joined: Tue May 17, 2011 10:59 am

Re: Route some traffic through VPN

Thu Jul 28, 2011 8:30 pm

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?
 
PatricF
just joined
Topic Author
Posts: 24
Joined: Tue May 17, 2011 10:59 am

Re: Route some traffic through VPN

Thu Jul 28, 2011 9:01 pm

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
 
User avatar
Aveyer
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Thu Jun 24, 2010 11:17 pm

Re: Route some traffic through VPN

Fri Jul 29, 2011 12:43 am

I'd imagine you'd have to make a NAT rule too? Either srcnat or dstnat and out interface set to VPN.

Who is online

Users browsing this forum: DanMos79, mrshaba and 58 guests