Page 1 of 1

IP not assigned to Softether VPN clients

Posted: Thu Jul 08, 2021 6:35 am
by azizbekoff
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

Re: IP not assigned to Softether VPN clients

Posted: Fri Jul 09, 2021 3:14 am
by eddiewu
Is there a dhcp server on the second nic?

Re: IP not assigned to Softether VPN clients

Posted: Fri Jul 09, 2021 4:11 am
by azizbekoff
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

Re: IP not assigned to Softether VPN clients

Posted: Fri Jul 09, 2021 8:04 am
by eddiewu
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?

Re: IP not assigned to Softether VPN clients

Posted: Fri Jul 09, 2021 8:12 am
by azizbekoff
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

Re: IP not assigned to Softether VPN clients

Posted: Fri Jul 09, 2021 11:20 am
by eddiewu
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.

Re: IP not assigned to Softether VPN clients

Posted: Thu Jul 15, 2021 4:41 am
by azizbekoff
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!!!

Re: IP not assigned to Softether VPN clients

Posted: Mon Mar 21, 2022 3:03 pm
by kaleem333
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.

Re: IP not assigned to Softether VPN clients

Posted: Mon Mar 21, 2022 10:58 pm
by solo
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.

Re: IP not assigned to Softether VPN clients

Posted: Tue Mar 22, 2022 4:32 pm
by kaleem333
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.

Re: IP not assigned to Softether VPN clients

Posted: Tue Mar 22, 2022 5:46 pm
by solo
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.

Re: IP not assigned to Softether VPN clients

Posted: Tue Mar 22, 2022 6:50 pm
by kaleem333
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.

Re: IP not assigned to Softether VPN clients

Posted: Tue Mar 22, 2022 9:02 pm
by solo
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.

Re: IP not assigned to Softether VPN clients

Posted: Wed Mar 23, 2022 3:10 pm
by kaleem333
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?

Re: IP not assigned to Softether VPN clients

Posted: Thu Mar 24, 2022 10:09 am
by solo
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.