.. aka split routing with Softether
Routing all traffic through a VPN connection can slow down internet speed. Many times you want to access remote resources only. Most internet traffic is encrypted anyway.
Here is a tutorial on how to configure SoftEther for split routing.
In this example we have the following configuration:
Remote network:
Router IP address: 192.168.178.1 <- the remote PC 192.168.178.92 is connected via DSL to the internet
Server IP address: 192.168.178.29 <- this is the PC we want access over VPN
1.) Click on Manage virtual hub
![](https://www.irmo.de/wp-content/uploads/2020/11/image-1-1024x855.png)
2.) Go to the virtual hub settings
![](https://www.irmo.de/wp-content/uploads/2020/11/image-2-1024x911.png)
3.) Enable SecureNAT and click on SecureNAT configuration
![](https://www.irmo.de/wp-content/uploads/2020/11/image-3-1024x926.png)
4.) Here is the secure NAT configuration.
Reminder: The remote network we want to access has the ip range:
192.168.178.1 – 192.168.178.254
The VPN clients are in a neighbour network within the DHCP ip range
192.168.179.10- 192.168.179.200
The virtual vpn server host listens to connections on : 192.168.179.1
![](https://www.irmo.de/wp-content/uploads/2020/11/image-4-1024x804.png)
5.) Set up split tunneling
click on ‘Edit the static routing table to push’
We want to access 192.168.178.29 (the remote server)
So, we tell the VPN clients how they find a route to this address:
Access ip range 192.168.178.0 – 192.168.178.254 over the virtual VPN gateway 192.168.179.1
The syntax for SoftEhter is:
192.168.178.0/255.255.255.0/192.168.179.1
![](https://www.irmo.de/wp-content/uploads/2020/11/image-5-1024x827.png)
Click: Enable virtual SecureNAT
Configure Windows 10 clients
Follow the pictures below to untick: Use default gateway on remote network
![](https://www.irmo.de/wp-content/uploads/2020/11/image-8-1024x467.png)
![](https://www.irmo.de/wp-content/uploads/2020/11/image-6-1024x706.png)
![](https://www.irmo.de/wp-content/uploads/2020/11/image-7-1024x603.png)
Configure iOS clients
![](https://www.irmo.de/wp-content/uploads/2020/11/image-10-1024x842.png)
Configure Android clients
Go to VPN settings on your Android device
Configure forward routing (sometimes you have to enable show advanced options first)
We want to access IP network: 192.168.178.1 – 192.168.178.254
Forward route for this is: 192.168.178.0/24
![](https://www.irmo.de/wp-content/uploads/2020/11/image-9-500x1024.png)