Page 1 of 1
Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Tue Sep 27, 2022 7:06 pm
by amintnt
Hello.
Securenat and its dhcp server doesn't seem to work properly when a large number of users connect. The user receives and auth failed, but will connect if tries for multiple times. This gets worse as the number of sessions in the hub increases. Any idea what goes wrong and how to fix this?
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Tue Oct 11, 2022 1:18 am
by netsteller
We are seeing something similar and from my research it seems that Softether sets OpenVPN to use "net30". This topology only allows a maximum of 63 users. After 63 OpenVPN users connect the rest will receive errors and not connect due to not having enough IP addresses. "net30" uses 4 IP addresses for each connected session.
We need Softether updated to a newer Version of OpenVPN that supports "subnet" as a topology. They would then need to create a checkbox or some way to choose the topology that you want OpenVPN to use.
Hopefully, this is something that they have already decided to do, but not in the version I have tested so far. Not sure how to submit a "new feature" request with Softether.
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Sat Dec 03, 2022 3:12 am
by nachito206
I believe this topic is related to Issue
#1390
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Sat Dec 03, 2022 4:13 pm
by mjthelearner
Secure NAT is enabled?
Cascade Connection is used?
have you tried the local_bridge mode?
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Wed Jan 18, 2023 11:45 am
by eddiewu
This issue has been resolved in the developer edition.
https://github.com/SoftEtherVPN/SoftEtherVPN
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Fri Jan 27, 2023 8:29 pm
by boby_turk
how could install this developer edition in ubuntu 22.04 ? i cant install and run it
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Fri Jan 27, 2023 9:25 pm
by shakibamoshiri
boby_turk wrote: ↑Fri Jan 27, 2023 8:29 pm
how could install this developer edition in ubuntu 22.04 ? i cant install and run it
https://github.com/SoftEtherVPN/SoftEth ... LD_UNIX.md
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Sat Jan 28, 2023 6:34 pm
by boby_turk
thanks you
i have one more quastion . i am using cascade connection for tunneling . both side of softether have to be DE version ? or just the secure nat enabled one if is DE version is enough ?
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Sat Jan 28, 2023 7:41 pm
by shakibamoshiri
boby_turk wrote: ↑Sat Jan 28, 2023 6:34 pm
thanks you
i have one more quastion . i am using cascade connection for tunneling . both side of softether have to be DE version ? or just the secure nat enabled one if is DE version is enough ?
Q.1
No one can be Stable version, other one can be DE version
Q.2
On the one you need it for CC, do not enable SecureNAT
One the one you use as endpoint (or Edge or hop-2) enable SecureNAT
Architecture
client ===== > hop-1 (CC, disable SecureNat) =====> hop-2 (endpoint, enable SecureNAT)
Re: Receiving Auth failed in openvpn when more than 40 users connect to hub
Posted: Tue Jan 31, 2023 1:56 am
by boby_turk
it has CPU usage problem . extrey high usage near 100% that caused to breac cascade connection and getting uthentication error again