Route Internet locally instead of over VPN
-
- Posts: 3
- Joined: Tue Sep 08, 2015 1:50 pm
Route Internet locally instead of over VPN
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
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
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Route Internet locally instead of over VPN
Do not push the default route on the VPN Server side(i.e. leave the default gateway empty on the DHCP server settings).
-
- Posts: 3
- Joined: Tue Sep 08, 2015 1:50 pm
Re: Route Internet locally instead of over VPN
@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
I've attached a screenshot of the settings I'm referring to.
Thanks,
Jeremy
You do not have the required permissions to view the files attached to this post.
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Route Internet locally instead of over VPN
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.
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.
-
- Posts: 3
- Joined: Tue Sep 08, 2015 1:50 pm
Re: Route Internet locally instead of over VPN
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
> 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
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Route Internet locally instead of over VPN
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.
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.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Route Internet locally instead of over VPN
Please increase the metric value of the virtual NIC in the client.
-
- Posts: 4
- Joined: Wed Nov 27, 2013 3:21 am
Re: Route Internet locally instead of over VPN
Check this link.jsquared wrote: ↑Wed Sep 09, 2015 4:26 pmkh_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
https://www.vpnusers.com/viewtopic.php? ... 039#p91742
-
- Posts: 1
- Joined: Mon Oct 02, 2023 7:46 am
Re: Route Internet locally instead of over VPN
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.
Reconnect clients.