Disable "all traffic to the tunnel"

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
dimm56
Posts: 2
Joined: Fri Sep 18, 2020 7:50 am

Disable "all traffic to the tunnel"

Post by dimm56 » Fri Sep 18, 2020 7:58 am

Hey. This is my first time working with this vpn server. There was a need to use it for organizing vpn for access to a cloud server. Installation as an app from the service provider's store. Therefore, the setting was through the GUI. How to change the server setting so that all traffic from vpn clients does not go into the tunnel? since when connecting to vpn, Internet access disappears, and it should not be so. Thanks in advance for your reply !!!

ethanolson
Posts: 50
Joined: Mon Dec 02, 2019 6:29 am

Re: Disable "all traffic to the tunnel"

Post by ethanolson » Fri Sep 25, 2020 10:05 pm

That is a client setting, not a server setting. The setting is available in the SoftEther client's advanced settings. If using Windows native L2TP or SSTP then you enable split tunnel mode by unchecking "use default gateway on remote network". In both of those cases, the corporate subnet routes need to be pushed to the client by your DHCP server or SoftEther's SecureNAT setup.

If using OpenVPN client, then settings like these need to be incorporated into the client config file:

# Enable split-tunnel mode
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway

# Add the route rules for certain subnets to go through the VPN tunnel
route 10.0.0.0 255.0.0.0 vpn_gateway 1
route 172.16.0.0 255.240.0.0 vpn_gateway 1
route 192.168.0.0 255.255.192.0 vpn_gateway 1

dimm56
Posts: 2
Joined: Fri Sep 18, 2020 7:50 am

Re: Disable "all traffic to the tunnel"

Post by dimm56 » Mon Sep 28, 2020 4:07 am

Thank you very much for your reply.
Quote: The setting is available in the SoftEther client's advanced settings.
In the Windows client, where is this setting located? Tell me please?
You do not have the required permissions to view the files attached to this post.

ethanolson
Posts: 50
Joined: Mon Dec 02, 2019 6:29 am

Re: Disable "all traffic to the tunnel"

Post by ethanolson » Sat Oct 03, 2020 4:38 am

The setting is called "No Adjustments of Routing Table".

Afakename
Posts: 30
Joined: Thu Dec 03, 2020 6:15 pm

Re: Disable "all traffic to the tunnel"

Post by Afakename » Thu Dec 03, 2020 7:36 pm

Hi, on your local PC client, open Network and sharing center

1. Right click on the VPN adapter, select properties
2. Open properties on TCP/IP V4
3. Click Advanced
4. Click to place a check mark on Auto Metric
5. OK all the way out
6. Disconnect the VPN
7. Reconnect the VPN
8. Enjoy!

Post Reply