secureNat DHCP

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
hyper91
Posts: 5
Joined: Sat Apr 25, 2020 5:50 pm

secureNat DHCP

Post by hyper91 » Sat Apr 25, 2020 5:58 pm

hi

i want more than 255 ip in the virtual dhcp but when i set it to 10.1.0.1 to 10.1.7.254
the secureNat just use 10.1.1.1/24 and does not use next range

Does virtual dhcp have a limition to just 255 ip?
please help me

OliverTejada
Posts: 46
Joined: Mon Apr 13, 2020 8:08 pm

Re: secureNat DHCP

Post by OliverTejada » Sat Apr 25, 2020 9:25 pm

Absolutely no, there is no limit. Just use a different subnet mask if you want more than 255 hosts.

For example you can use 10.1.1.0/23 (255.255.254.0) which gives you twice as much (512 hosts)

10.1.1.0 being the network ID
10.1.0.1 being the first usable address
10.1.1.254 being the last usable address


If you want to use that custom range you're saying, you must set the subnet mask to be /21 or 255.255.248.0, which results in 2046 usable addresses.

10.1.0.0 being the network ID
10.1.0.1 being the first usable address
10.1.7.254 being the last usable address

hyper91
Posts: 5
Joined: Sat Apr 25, 2020 5:50 pm

Re: secureNat DHCP

Post by hyper91 » Sat Apr 25, 2020 9:52 pm

I used 255,255,248.0 subnet
But secureNat only uses the first 255 hosts
Of course, I also run the Open vpn and L2TP services and
They get a new IP for each connect

also i used local-bridge before secure-nat but when connect on the phone (with openvpn or l2tp) It takes a long time to get the data :(

and my secound question:
how many online clients can handle by softether? in securenat and local-bridge?

OliverTejada
Posts: 46
Joined: Mon Apr 13, 2020 8:08 pm

Re: secureNat DHCP

Post by OliverTejada » Sat Apr 25, 2020 11:58 pm

Make sure to restart SoftEther VPN Server Service or SecureNAT itself for it to take effect. It should work fine for you, I'm currently using SecureNAT's DHCP for a large network of hosts, and it works.

hyper91
Posts: 5
Joined: Sat Apr 25, 2020 5:50 pm

Re: secureNat DHCP

Post by hyper91 » Sun Apr 26, 2020 9:39 pm

thanks for your reply bro
I activated securenat_randomizeAssignIp from virtual hub extended option
And virtual dhcp working fine right now

edsadeghi
Posts: 1
Joined: Wed Apr 29, 2020 3:36 am

Re: secureNat DHCP

Post by edsadeghi » Wed Apr 29, 2020 3:39 am

Thanks. It works fine now.

Post Reply