IP not assigned to Softether VPN clients

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
azizbekoff
Posts: 4
Joined: Thu Jul 08, 2021 6:18 am

IP not assigned to Softether VPN clients

Post by azizbekoff » Thu Jul 08, 2021 6:35 am

Hi,

I have installed SoftEtherVPN Server on Windows Server 2012 R2(on Vmware Esxi Host). Client is installed on Windows 7.

VPN Client can connect. but IP not assigned by DHCP
configured with local bridge. SecureNAT disabled.
Added second NIC with no IP

Additional details:
Local bridge is added, pointed to second NIC with no IP(VMXNET3)
1st Virtual network adapter:Intel type:e100e
Promiscuous mode: Allowed

Any suggestions are appreciated!

With best regards,
azizbekoff

eddiewu
Posts: 286
Joined: Wed Nov 25, 2020 9:10 am

Re: IP not assigned to Softether VPN clients

Post by eddiewu » Fri Jul 09, 2021 3:14 am

Is there a dhcp server on the second nic?

azizbekoff
Posts: 4
Joined: Thu Jul 08, 2021 6:18 am

Re: IP not assigned to Softether VPN clients

Post by azizbekoff » Fri Jul 09, 2021 4:11 am

eddiewu wrote:
Fri Jul 09, 2021 3:14 am
Is there a dhcp server on the second nic?
No as described in Softethernet manual "No Protocol Stack is Used for the Local Bridge Network Adapter"
Screenshot_1.png
Only selected on Second NIC SoftEther Lightweight Network protocol
You do not have the required permissions to view the files attached to this post.

eddiewu
Posts: 286
Joined: Wed Nov 25, 2020 9:10 am

Re: IP not assigned to Softether VPN clients

Post by eddiewu » Fri Jul 09, 2021 8:04 am

In the network the second NIC connects to, is there a DHCP server? I should ask this way.
Also, is the second NIC in promisc mode too?

azizbekoff
Posts: 4
Joined: Thu Jul 08, 2021 6:18 am

Re: IP not assigned to Softether VPN clients

Post by azizbekoff » Fri Jul 09, 2021 8:12 am

eddiewu wrote:
Fri Jul 09, 2021 8:04 am
In the network the second NIC connects to, is there a DHCP server? I should ask this way.
Also, is the second NIC in promisc mode too?
1. Yes, both network adapters in same vlan
2. Yes, promisc mode enabled on vlan level

eddiewu
Posts: 286
Joined: Wed Nov 25, 2020 9:10 am

Re: IP not assigned to Softether VPN clients

Post by eddiewu » Fri Jul 09, 2021 11:20 am

I don’t understand. What do you mean by promisc mode at vlan level? If the nic is virtualized, promisc mode needs to be applied from the top level.

azizbekoff
Posts: 4
Joined: Thu Jul 08, 2021 6:18 am

Re: IP not assigned to Softether VPN clients

Post by azizbekoff » Thu Jul 15, 2021 4:41 am

eddiewu wrote:
Fri Jul 09, 2021 11:20 am
I don’t understand. What do you mean by promisc mode at vlan level? If the nic is virtualized, promisc mode needs to be applied from the top level.
Promisc mode now enabled on vSwitch (on top level as you mentioned)
Client can connect to vpn, but cant get ip address and cant access network Please HELP!!!

kaleem333
Posts: 4
Joined: Mon Mar 21, 2022 2:47 pm

Re: IP not assigned to Softether VPN clients

Post by kaleem333 » Mon Mar 21, 2022 3:03 pm

I have configured softether vpn server and i have a static ip as well.
When i try to access from other client pc ,,it;s connected to the static public ip and port but the vpn adpater not getting any ip from dhcp
what should i do now.

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

Re: IP not assigned to Softether VPN clients

Post by solo » Mon Mar 21, 2022 10:58 pm

kaleem333 wrote:
Mon Mar 21, 2022 3:03 pm
... the vpn adpater not getting any ip from dhcp
what should i do now.
For a test please remove local bridge and enable SecureNAT (with all defaults).

If it works now, describe your server's environment and setup.

kaleem333
Posts: 4
Joined: Mon Mar 21, 2022 2:47 pm

Re: IP not assigned to Softether VPN clients

Post by kaleem333 » Tue Mar 22, 2022 4:32 pm

solo wrote:
Mon Mar 21, 2022 10:58 pm
kaleem333 wrote:
Mon Mar 21, 2022 3:03 pm
... the vpn adpater not getting any ip from dhcp
what should i do now.
For a test please remove local bridge and enable SecureNAT (with all defaults).

If it works now, describe your server's environment and setup.
I have a laptop and hypver-v manager enable and on it sofether installled on vm .One virtual adapter created from hyperv which is bridget with the laptop wifi,i can't separte it because the hyperv will lost the connectity and softether as well.

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

Re: IP not assigned to Softether VPN clients

Post by solo » Tue Mar 22, 2022 5:46 pm

kaleem333 wrote:
Tue Mar 22, 2022 4:32 pm
solo wrote:
Mon Mar 21, 2022 10:58 pm
kaleem333 wrote:
Mon Mar 21, 2022 3:03 pm
... the vpn adpater not getting any ip from dhcp
what should i do now.
For a test please remove local bridge and enable SecureNAT (with all defaults).
If it works now, describe your server's environment and setup.
I have a laptop and hypver-v manager enable and on it sofether installled on vm .One virtual adapter created from hyperv which is bridget with the laptop wifi,i can't separte it because the hyperv will lost the connectity and softether as well.
Yes you can "separate" it. Again, remove local bridge (the one within SE) and enable SecureNAT, and SE clients will get proper DHCP assignments.

Next, enable Virtual NAT, and SE clients will get connectivity.

kaleem333
Posts: 4
Joined: Mon Mar 21, 2022 2:47 pm

Re: IP not assigned to Softether VPN clients

Post by kaleem333 » Tue Mar 22, 2022 6:50 pm

Image
solo wrote:
Tue Mar 22, 2022 5:46 pm
kaleem333 wrote:
Tue Mar 22, 2022 4:32 pm
solo wrote:
Mon Mar 21, 2022 10:58 pm

For a test please remove local bridge and enable SecureNAT (with all defaults).
If it works now, describe your server's environment and setup.
I have a laptop and hypver-v manager enable and on it sofether installled on vm .One virtual adapter created from hyperv which is bridget with the laptop wifi,i can't separte it because the hyperv will lost the connectity and softether as well.
Yes you can "separate" it. Again, remove local bridge (the one within SE) and enable SecureNAT, and SE clients will get proper DHCP assignments.

Next, enable Virtual NAT, and SE clients will get connectivity.
Hi please check the attacehmen when bridged and bridged removed.and let me know how to make the adapter workable without bridge.
You do not have the required permissions to view the files attached to this post.

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

Re: IP not assigned to Softether VPN clients

Post by solo » Tue Mar 22, 2022 9:02 pm

kaleem333 wrote:
Tue Mar 22, 2022 6:50 pm
Image
solo wrote:
Tue Mar 22, 2022 5:46 pm
kaleem333 wrote:
Tue Mar 22, 2022 4:32 pm

I have a laptop and hypver-v manager enable and on it sofether installled on vm .One virtual adapter created from hyperv which is bridget with the laptop wifi,i can't separte it because the hyperv will lost the connectity and softether as well.
Yes you can "separate" it. Again, remove local bridge (the one within SE) and enable SecureNAT, and SE clients will get proper DHCP assignments.
Next, enable Virtual NAT, and SE clients will get connectivity.
Hi please check the attacehmen when bridged and bridged removed.and let me know how to make the adapter workable without bridge.
Hello, I wrote "remove local bridge (the one within SE) and enable SecureNAT", and it will work for sure.
Incidentally, if you enable "MAC Address Spoofing" in advanced settings of the virtual NIC, your current config may work too.

kaleem333
Posts: 4
Joined: Mon Mar 21, 2022 2:47 pm

Re: IP not assigned to Softether VPN clients

Post by kaleem333 » Wed Mar 23, 2022 3:10 pm

solo wrote:
Tue Mar 22, 2022 9:02 pm
kaleem333 wrote:
Tue Mar 22, 2022 6:50 pm
Image
solo wrote:
Tue Mar 22, 2022 5:46 pm

Yes you can "separate" it. Again, remove local bridge (the one within SE) and enable SecureNAT, and SE clients will get proper DHCP assignments.
Next, enable Virtual NAT, and SE clients will get connectivity.
Hi please check the attacehmen when bridged and bridged removed.and let me know how to make the adapter workable without bridge.
Hello, I wrote "remove local bridge (the one within SE) and enable SecureNAT", and it will work for sure.
Incidentally, if you enable "MAC Address Spoofing" in advanced settings of the virtual NIC, your current config may work too.
yes' it's working now ,but what is reason of local bridge and i have a loacl bridge in my office it's working fine but not softether on my laptop not working the local bridge why?

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

Re: IP not assigned to Softether VPN clients

Post by solo » Thu Mar 24, 2022 10:09 am

kaleem333 wrote:
Wed Mar 23, 2022 3:10 pm
yes' it's working now ,but what is reason of local bridge and i have a loacl bridge in my office it's working fine but not softether on my laptop not working the local bridge why?
Yes SecureNAT is great. If you insist on a bridged connection then a vNIC with "MAC Address Spoofing" and NIC in promiscuous mode are required. That's why.

Either bridge to the LAN adapter or try a better WiFi adapter.

Post Reply