Here is my setup:
Debian host 1:
eth0:
IP: 172.25.0.3
Subnet: 255.255.255.0
Gateway: 172.25.0.1
Running SoftEther VPN Server with its Virtual Hub. This Virtual Hub has Virtual NAT and Virtual DHCP, it doesn't use any tun/tap devices. It seems that this Virtual Hub is only visible to the VPN server and its clients.
SoftEther SecureNAT Interface settings:
IP: 192.168.30.1
Subnet: 255.255.255.0
Gateway: 192.168.30.1
Debian host 2:
Running VPN client on interface tun0. Default route through the VPN on tun0.
eth0:
IP: 172.25.0.3
Subnet: 255.255.255.0
Gateway: 172.25.0.1
Route:
0.0.0.0/1 via x.x.x.x dev tun0
default via 172.25.0.1 dev eth0
172.25.0.0/16 dev eth0 proto kernel scope link src 172.25.0.2\
Task: I want to make (SoftEtherVPN Server clients) on host 1 to use host 2 as their gateway.