Softether secureNAT not working

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
kawaGUCCi
Posts: 3
Joined: Sun Mar 27, 2022 1:47 am

Softether secureNAT not working

Post by kawaGUCCi » Sun Mar 27, 2022 2:47 am

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

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: Softether secureNAT not working

Post by solo » Sun Mar 27, 2022 8:29 am

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.

Post Reply