Page 1 of 1
Route Internet locally instead of over VPN
Posted: Tue Sep 08, 2015 1:59 pm
by jsquared
Hello,
I've installed the SoftEther VPN server on a machine at a remote location and installed the client on a local machine here. I've got them configured and connected. However, I noticed that all the internet traffic is going over the VPN connection which is slowing the internet to a crawl? On a normal VPN connection in Windows I am able to go in the advanced settings and change this but with SoftEther I'm not sure how to pull this off. Can someone please explain how to do this?
Thanks,
Jeremy
Re: Route Internet locally instead of over VPN
Posted: Wed Sep 09, 2015 8:23 am
by kh_tsang
Do not push the default route on the VPN Server side(i.e. leave the default gateway empty on the DHCP server settings).
Re: Route Internet locally instead of over VPN
Posted: Wed Sep 09, 2015 1:57 pm
by jsquared
@kh_tsang Are you referring to the DHCP Server (SecureNAT) settings in the Virtual Hub management? I don't currently have SecureNAT enabled. Do I need to enable this feature to pull this off?
I've attached a screenshot of the settings I'm referring to.
Thanks,
Jeremy
Re: Route Internet locally instead of over VPN
Posted: Wed Sep 09, 2015 4:08 pm
by kh_tsang
Disable pushing default route on your DHCP server.
If the default route is necessary on that network, add one more virtual hub and filter the DHCP packets flowing through the cascade connection between the two virtual hubs.
Re: Route Internet locally instead of over VPN
Posted: Wed Sep 09, 2015 4:26 pm
by jsquared
kh_tsang wrote:
> Disable pushing default route on your DHCP server.
>
> If the default route is necessary on that network, add one more virtual hub
> and filter the DHCP packets flowing through the cascade connection between
> the two virtual hubs.
Ok DHCP needs to be enabled on the network where my VPN server sits and I'm not using the cascade connection at all. All I need is a VPN Server that will talk to 2-4 clients without having to route the internet on the clients through the VPN connection. I want to keep this as simple as possible.
Thanks,
Jeremy
Re: Route Internet locally instead of over VPN
Posted: Thu Sep 10, 2015 3:13 am
by kh_tsang
This is the simplest way already.
1. Add a user and filter DHCP packets of that user in your existing virtual hub.
2. Add a new virtual hub and add a cascade connection to connect to your existing virtual hub.
3. Enable SecureNAT, disable Virtual NAT, remove the default gateway and use a new DHCP IP range in the new virtual hub.
4. Add VPN users to the new virtual hub.
Re: Route Internet locally instead of over VPN
Posted: Wed Sep 16, 2015 8:56 am
by thisjun
Please increase the metric value of the virtual NIC in the client.
Re: Route Internet locally instead of over VPN
Posted: Sat Oct 31, 2020 12:10 pm
by mabaega
jsquared wrote: ↑Wed Sep 09, 2015 4:26 pm
kh_tsang wrote:
> Disable pushing default route on your DHCP server.
>
> If the default route is necessary on that network, add one more virtual hub
> and filter the DHCP packets flowing through the cascade connection between
> the two virtual hubs.
Ok DHCP needs to be enabled on the network where my VPN server sits and I'm not using the cascade connection at all. All I need is a VPN Server that will talk to 2-4 clients without having to route the internet on the clients through the VPN connection. I want to keep this as simple as possible.
Thanks,
Jeremy
Check this link.
https://www.vpnusers.com/viewtopic.php? ... 039#p91742
Re: Route Internet locally instead of over VPN
Posted: Mon Oct 02, 2023 8:17 pm
by tomica
For using Internet locally on clients and using VPN only for work network (split tunneling) on SecureNAT Window enable DHCP but clear Default Gateway and for DNS server 1 enter local address of your work network DNS server (e.g. 192.168.0.2). Also on Edit static routing table to push: enter line for work network subnet (192.168.0.x): 192.168.0.0/255.255.255.0/192.168.30.1
Reconnect clients.