Disable routing to the Internet through VPN tunnel

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
jmalak
Posts: 2
Joined: Wed May 06, 2015 8:10 am

Disable routing to the Internet through VPN tunnel

Post by jmalak » Wed May 06, 2015 8:15 am

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.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Disable routing to the Internet through VPN tunnel

Post by kh_tsang » Wed May 06, 2015 1:15 pm

In advanced settings, try to tick no adjustment of routing table and see if it works.

mesa57
Posts: 153
Joined: Fri Oct 11, 2013 4:00 pm

Re: Disable routing to the Internet through VPN tunnel

Post by mesa57 » Tue May 12, 2015 6:33 pm

Set the metric of you're vpn adapter to a high value instead of automatic (e.g. 999).

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Disable routing to the Internet through VPN tunnel

Post by thisjun » Thu May 21, 2015 6:12 am

I think kh_tsang's answer is wrong.
Please don't try.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Disable routing to the Internet through VPN tunnel

Post by kh_tsang » Thu May 21, 2015 9:35 am

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.

kh_tsang
Posts: 551
Joined: Wed Jul 24, 2013 12:09 pm

Re: Disable routing to the Internet through VPN tunnel

Post by kh_tsang » Thu May 21, 2015 9:43 am

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.

malei
Posts: 20
Joined: Sun Feb 15, 2015 3:25 pm

Re: Disable routing to the Internet through VPN tunnel

Post by malei » Mon May 25, 2015 8:55 am

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.

jmalak
Posts: 2
Joined: Wed May 06, 2015 8:10 am

Re: Disable routing to the Internet through VPN tunnel

Post by jmalak » Wed May 27, 2015 11:06 am

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. :/

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Disable routing to the Internet through VPN tunnel

Post by thisjun » Thu Jun 04, 2015 5:58 am

'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.

Post Reply