Page 1 of 1

Disable routing to the Internet through VPN tunnel

Posted: Wed May 06, 2015 8:15 am
by jmalak
Hi,
I installed a VPN server and Client on Windows first time today. Everything works well, but I when I access any Internet website, whole traffic is routed through a VPN tunnel which is undesirable for me.

Is it possible to configure Client to route through a VPN tunnel only comunnication which belongs to thel remote LAN subnet?

Thanks for your advices.

Re: Disable routing to the Internet through VPN tunnel

Posted: Wed May 06, 2015 1:15 pm
by kh_tsang
In advanced settings, try to tick no adjustment of routing table and see if it works.

Re: Disable routing to the Internet through VPN tunnel

Posted: Tue May 12, 2015 6:33 pm
by mesa57
Set the metric of you're vpn adapter to a high value instead of automatic (e.g. 999).

Re: Disable routing to the Internet through VPN tunnel

Posted: Thu May 21, 2015 6:12 am
by thisjun
I think kh_tsang's answer is wrong.
Please don't try.

Re: Disable routing to the Internet through VPN tunnel

Posted: Thu May 21, 2015 9:35 am
by kh_tsang
thisjun wrote:
> I think kh_tsang's answer is wrong.
> Please don't try.


Then what is it used for? Using Windows' built-in route command will cause the internet traffic route through the VPN again after certain time.

Re: Disable routing to the Internet through VPN tunnel

Posted: Thu May 21, 2015 9:43 am
by kh_tsang
kh_tsang wrote:
> In advanced settings, try to tick no adjustment of routing table and see if
> it works.

You also need to set a high metric in your VPN adapter in Control Panel.

Re: Disable routing to the Internet through VPN tunnel

Posted: Mon May 25, 2015 8:55 am
by malei
Hi,

Is it possible to Disable routing to the Internet through VPN tunnel by using server setting only? It is because clients may change the setting on their computers. Thank you for the advices.

Re: Disable routing to the Internet through VPN tunnel

Posted: Wed May 27, 2015 11:06 am
by jmalak
Thanks for advices. Althoung I tried to change metric and also checkbox 'no adjustments of routing tables', whole traffic from client is still routed through VPN server. :/

Re: Disable routing to the Internet through VPN tunnel

Posted: Thu Jun 04, 2015 5:58 am
by thisjun
'no adjustments of routing tables' option means not adding route to VPN server.
If the option is checked, VPN session is disconnected by losing route to VPN server when virtual NIC get default gateway IP address.