Softether DHCP and NAT

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
sajer
Posts: 14
Joined: Tue Oct 16, 2018 11:09 am

Softether DHCP and NAT

Post by sajer » Tue Aug 26, 2025 7:40 am

Hi!

Common question, i found some answers, yet it doesnt work for me, thus i write this. Thanks in advance!

All i want to achieve is that SoftEther should distribute IP addresses (softether should be the dhcp server) and still access resources on the local network.

Now we use bridged mode and the local dhcp server gives an IP address to the clients, this is what i want to change.

What i did:

Configured Secure NAT and DHCP, deleted the local bridge, created route rule, no success.

So lets say, the local network is 192.168.100.1/24 and i want to access a file server on 192.168.100.200 and i have set up the secure nat to distribute 10.10.10.10-20 IP addresses. It "works", if i connect with the client i get 10.10.10.10 IP address but i cant reach / ping / etc anything on the local network.


What is there correct procedure, to have a local dhcp server and a softether dhcp server too, so the incoming vpn clients get an IP address from softether.

Thanks in advance!

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

Re: Softether DHCP and NAT

Post by solo » Tue Aug 26, 2025 8:25 am

sajer wrote:
Tue Aug 26, 2025 7:40 am
Configured Secure NAT and DHCP, deleted the local bridge, created route rule, no success.
Hi, what's the rule?

sajer
Posts: 14
Joined: Tue Oct 16, 2018 11:09 am

Re: Softether DHCP and NAT

Post by sajer » Wed Aug 27, 2025 7:56 am

Hi mate! Thanks for the quick response!

The rule was:

10.10.10.0/255.255.255.0/192.168.100.200

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

Re: Softether DHCP and NAT

Post by solo » Wed Aug 27, 2025 9:06 am

Mate, this is no good :)

If the vNIC is 10.10.10.1 then push 192.168.100.200/255.255.255.255/10.10.10.1

sajer
Posts: 14
Joined: Tue Oct 16, 2018 11:09 am

Re: Softether DHCP and NAT

Post by sajer » Mon Sep 08, 2025 1:52 pm

Mate, thanks, it worked flawlessly.
Could you explain why the rule has to start with the destination and not with the source address? Love ya'

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

Re: Softether DHCP and NAT

Post by solo » Tue Sep 09, 2025 6:24 am

Hi, it is defined in RFC 3442 https://datatracker.ietf.org/doc/html/rfc3442

sajer
Posts: 14
Joined: Tue Oct 16, 2018 11:09 am

Re: Softether DHCP and NAT

Post by sajer » Tue Sep 09, 2025 7:06 am

Thank you so much mate! Have a great day!

Post Reply