Unknown Error (Code=10054)

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kovacg
OpenVpn Newbie
Posts: 7
Joined: Wed Feb 21, 2018 4:47 pm

Unknown Error (Code=10054)

Post by kovacg » Wed Feb 21, 2018 4:53 pm

Hello,

i set up VPN connection on win7 due to manual. I was trying to connect with client, but there is problem.
Wed Feb 21 17:41:08 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Wed Feb 21 17:41:08 2018 Windows version 6.1 (Windows 7) 64bit
Wed Feb 21 17:41:08 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Wed Feb 21 17:41:08 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Feb 21 17:41:08 2018 Need hold release from management interface, waiting...
Wed Feb 21 17:41:09 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Feb 21 17:41:09 2018 MANAGEMENT: CMD 'state on'
Wed Feb 21 17:41:09 2018 MANAGEMENT: CMD 'log all on'
Wed Feb 21 17:41:09 2018 MANAGEMENT: CMD 'echo all on'
Wed Feb 21 17:41:09 2018 MANAGEMENT: CMD 'hold off'
Wed Feb 21 17:41:09 2018 MANAGEMENT: CMD 'hold release'
Wed Feb 21 17:41:09 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]185.167.xxx.xxxx:1194
Wed Feb 21 17:41:09 2018 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Feb 21 17:41:09 2018 UDP link local: (not bound)
Wed Feb 21 17:41:09 2018 UDP link remote: [AF_INET]185.167.xxx.xxx:1194
Wed Feb 21 17:41:09 2018 MANAGEMENT: >STATE:1519231269,WAIT,,,,,,
Wed Feb 21 17:41:09 2018 read UDP: Unknown error (code=10054)
Wed Feb 21 17:41:11 2018 read UDP: Unknown error (code=10054)
Wed Feb 21 17:41:15 2018 read UDP: Unknown error (code=10054)
Wed Feb 21 17:41:23 2018 read UDP: Unknown error (code=10054)
Wed Feb 21 17:41:39 2018 read UDP: Unknown error (code=10054)
Wed Feb 21 17:42:10 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Feb 21 17:42:10 2018 TLS Error: TLS handshake failed
My ISP can´t give me an private IP. So he forward port 1194 to my router. There I forward port 1194 to ip of my server.
Is that possible? Do you somebody know where could be a problem?

Thanks for your help and sorry for my bad english

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unknown Error (Code=10054)

Post by TinCanTech » Wed Feb 21, 2018 6:33 pm

Does your server show any connections from this client ?

kovacg
OpenVpn Newbie
Posts: 7
Joined: Wed Feb 21, 2018 4:47 pm

Re: Unknown Error (Code=10054)

Post by kovacg » Wed Feb 21, 2018 9:45 pm

I was tried make set up again. And now I have this error message: Connection reset by peer (WSAECONNRESET) (code=10054)

On the server, I can´t see anything.

Thank you

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unknown Error (Code=10054)

Post by TinCanTech » Wed Feb 21, 2018 10:05 pm

kovacg wrote:
Wed Feb 21, 2018 9:45 pm
On the server, I can´t see anything.
Because the packets are not getting to your server.

kovacg wrote:
Wed Feb 21, 2018 4:53 pm
My ISP can´t give me an private IP. So he forward port 1194 to my router. There I forward port 1194 to ip of my server.
Make sure the port is forwarded correctly .. maybe you can use DMZ on your router ?

kovacg
OpenVpn Newbie
Posts: 7
Joined: Wed Feb 21, 2018 4:47 pm

Re: Unknown Error (Code=10054)

Post by kovacg » Thu Feb 22, 2018 5:08 pm

I think ports are forwarded correctly.

This is forwarded from my ISP

Image

this is forwarded from my Router

Image

Routers IP is xxx.xxx.90.5 and server ip is xxx.xxx.5.254

I don´t know how to use DMZ.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unknown Error (Code=10054)

Post by TinCanTech » Thu Feb 22, 2018 8:52 pm

kovacg wrote:
Wed Feb 21, 2018 4:53 pm
read UDP: Unknown error (code=10054)
This Windows error message means the connection was reset .. which almost certainly means you have not got either port forwarded correctly or firewall configured correctly.

kovacg
OpenVpn Newbie
Posts: 7
Joined: Wed Feb 21, 2018 4:47 pm

Re: Unknown Error (Code=10054)

Post by kovacg » Thu Feb 22, 2018 10:36 pm

So it could be firewall problem?

RRGraphixGuy
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 01, 2020 2:23 pm

Re: Unknown Error (Code=10054)

Post by RRGraphixGuy » Wed Apr 01, 2020 2:32 pm

kovacg wrote:
Thu Feb 22, 2018 10:36 pm
So it could be firewall problem?
Not only Windows Firewall, but third-party anti-virus and/or anti-malware applications as well. I was very frustrated yesterday on a particular computer until I discovered Avast was installed on it and running its network and application shields. Simply add OpenVPN as exception, problem solved. :roll:

Post Reply