Connection problem some clients. Others do not.

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8665
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection problem some clients. Others do not.

Post by TinCanTech » Mon Feb 22, 2021 3:03 am

danielgaspar wrote:
Sun Feb 21, 2021 12:19 am
TinCanTech wrote:
Sat Feb 20, 2021 3:13 pm

Try setting --tcp-queue-limit 256 # (Or higher)
I've been testing from 32 to 2048 in the server settings and the result is the same in server side log:

Code: Select all

Sun Feb 21 00:22:23 2021 us=971327 Z3-lgarijo/XX.XX.XX.XX:61544 MULTI: Outgoing TUN queue full, dropped packet len=52
You can also try # (Or lower)

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8665
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection problem some clients. Others do not.

Post by TinCanTech » Tue Feb 23, 2021 12:35 am

Let us know the results of using Openvpn 2.5

There are also also all these versions of Openvpn which you can try:
https://build.openvpn.net/downloads/snapshots/

danielgaspar
OpenVpn Newbie
Posts: 12
Joined: Sun Apr 19, 2020 2:46 pm

Re: Connection problem some clients. Others do not.

Post by danielgaspar » Tue Feb 23, 2021 5:49 pm

One minute. I have made a mistake

danielgaspar
OpenVpn Newbie
Posts: 12
Joined: Sun Apr 19, 2020 2:46 pm

Re: Connection problem some clients. Others do not.

Post by danielgaspar » Tue Feb 23, 2021 6:35 pm

Sorry for the delay. I can't test the connection every day.

I have made some progress.

The first thing I did was go with the computer that has the stable client and physically connect it to the router where the unstable client's computer connects. The stable client on the unstable client connection does not produce the problem. Therefore, the connection is Ok.

While there, take the opportunity to perform windows updates on the stable client's computer. Now this client no longer causes connection drops. Not having done it before has been a hazing on my part. :oops:

I have also updated the Windows of the computers to the other two clients and one of them has stopped producing cuts, but the other has not. In the computer that continues to cause connection cuts I have performed a virus scan, and it appears clean.
TinCanTech wrote:
Mon Feb 22, 2021 1:47 am
Please upgrade to Openvpn version 2.5
danielgaspar wrote:
Sun Feb 21, 2021 12:19 am
I did another test. I made a clean install of the OVPN server on another Windows 10 computer. The result is the same. So the server hardware is ok.
I already tried it when I did this test install (TCP and UDP).
TinCanTech wrote:
Mon Feb 22, 2021 2:42 am
I posted a mail to the mailing list on your behalf, see if it helps.
Thank you!
TinCanTech wrote:
Mon Feb 22, 2021 3:03 am
You can also try # (Or lower)
I don't think I got it right. Should I try it, no number? Only the symbol #

So now there is only one client left that produces connection cuts. Everything indicates that it is a Windows-related problem on client computers.

I am going to try the other configurations that you have recommended.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8665
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection problem some clients. Others do not.

Post by TinCanTech » Tue Feb 23, 2021 6:52 pm

danielgaspar wrote:
Tue Feb 23, 2021 6:35 pm
I don't think I got it right. Should I try it, no number? Only the symbol #
Look it up in the manual.
danielgaspar wrote:
Tue Feb 23, 2021 6:35 pm
Everything indicates that it is a Windows-related problem on client
Sounds very probable.
danielgaspar wrote:
Tue Feb 23, 2021 6:35 pm
take the opportunity to perform windows updates on the stable client's computer. Now this client no longer causes connection drops
Windows update usually breaks openvpn, so you got very luck this time!

300000
OpenVPN Super User
Posts: 463
Joined: Tue May 01, 2012 9:30 pm

Re: Connection problem some clients. Others do not.

Post by 300000 » Wed Feb 24, 2021 2:00 pm

Window have some funds with every updates , We need to life with this for as long as we use windows. A lot windows update broken good working system. Cant do anything about this and only uninstall and reinstall again to try.

danielgaspar
OpenVpn Newbie
Posts: 12
Joined: Sun Apr 19, 2020 2:46 pm

Re: Connection problem some clients. Others do not.

Post by danielgaspar » Mon Mar 01, 2021 8:58 am

Finally it seems that the problem is solved. I have installed the latest stable version (2.5.1) on the server and all clients connect without connection drops. I keep the connection with the initial configuration (UDP).

I'm going to monitor the connection for a few days to see how it behaves.

Thank you very much for your help.

Image

Post Reply