Receiving Auth failed in openvpn when more than 40 users connect to hub

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
amintnt
Posts: 9
Joined: Sat Dec 26, 2015 2:36 am

Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by amintnt » Tue Sep 27, 2022 7:06 pm

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?

netsteller
Posts: 1
Joined: Tue Oct 11, 2022 1:11 am

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by netsteller » Tue Oct 11, 2022 1:18 am

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.

nachito206
Posts: 2
Joined: Sat Dec 03, 2022 2:51 am

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by nachito206 » Sat Dec 03, 2022 3:12 am

I believe this topic is related to Issue #1390

mjthelearner
Posts: 28
Joined: Fri Nov 25, 2022 6:08 am

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by mjthelearner » Sat Dec 03, 2022 4:13 pm

Secure NAT is enabled?
Cascade Connection is used?

have you tried the local_bridge mode?

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

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by eddiewu » Wed Jan 18, 2023 11:45 am

This issue has been resolved in the developer edition.
https://github.com/SoftEtherVPN/SoftEtherVPN

boby_turk
Posts: 13
Joined: Fri Jan 27, 2023 8:02 pm

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by boby_turk » Fri Jan 27, 2023 8:29 pm

how could install this developer edition in ubuntu 22.04 ? i cant install and run it

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by shakibamoshiri » Fri Jan 27, 2023 9:25 pm

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

boby_turk
Posts: 13
Joined: Fri Jan 27, 2023 8:02 pm

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by boby_turk » Sat Jan 28, 2023 6:34 pm

shakibamoshiri wrote:
Fri Jan 27, 2023 9:25 pm
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
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 ?

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by shakibamoshiri » Sat Jan 28, 2023 7:41 pm

boby_turk wrote:
Sat Jan 28, 2023 6:34 pm
shakibamoshiri wrote:
Fri Jan 27, 2023 9:25 pm
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
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)

boby_turk
Posts: 13
Joined: Fri Jan 27, 2023 8:02 pm

Re: Receiving Auth failed in openvpn when more than 40 users connect to hub

Post by boby_turk » Tue Jan 31, 2023 1:56 am

it has CPU usage problem . extrey high usage near 100% that caused to breac cascade connection and getting uthentication error again

Post Reply