I have set up softether vpn on a cloud VM and I am able to connect my client machine to it. I want to use secureNAT and I am getting an IP from the inbuilt dhcp server of SE. When I do ```sudo dhclient vpnadapter``` on the client machine, it seems that the vpn server is not redirecting requests to the internet and I am getting address unreachable error on my browser.
Few observations
--------
If I do dhclient and ping 192.168.30.1 (gateway IP of vpnclient), I am getting Destination Host Unreachable echoes.
If I do ```ip link set vpnadapter down``` (routing normally) then ping 192.168.30.1 I am getting a valid response.
The Nattable on the vpnserver is Empty, and I believe it shouldnt be so.
Any help would be greatly appreciated
Softether secureNAT not working
-
- Posts: 1228
- Joined: Sun Feb 14, 2021 10:31 am
Re: Softether secureNAT not working
Assuming that IP forwarding is already enabled, you need to add a static route to the VPN server via your old default gateway and delete the old default route after the dhclient command.