# Can not connect VPN on windows

**URL:** <https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182>\
**Category:** Other\
**Tags:** red, networking, security, lab, cybersec\
**Created:** [October 9, 2021, 3:04pm UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182 "2021-10-09T15:04:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyushkrp4444-231e4f](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@piyushkrp4444-231e4f](https://legacy-community.ine.com/u/piyushkrp4444-231e4f)\
**Post date:** [October 9, 2021, 3:04pm UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/1 "2021-10-09T15:04:51Z")

</div>

getting below errors

Sat Oct 09 20:27:19 2021 UDP link local (bound): [AF\_INET][undef]:1194  
Sat Oct 09 20:27:19 2021 UDP link remote: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:27:19 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:27:22 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:27:26 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:27:33 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:27:50 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:28:19 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)  
Sat Oct 09 20:28:19 2021 TLS Error: TLS handshake failed  
Sat Oct 09 20:28:19 2021 SIGUSR1[soft,tls-error] received, process restarting  
Sat Oct 09 20:28:24 2021 TCP/UDP: Preserving recently used remote address: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:28:24 2021 Attempting to establish TCP connection with [AF\_INET]69.46.7.227:40088 [nonblock]  
Sat Oct 09 20:30:25 2021 TCP: connect to [AF\_INET]69.46.7.227:40088 failed: Unknown error  
Sat Oct 09 20:30:25 2021 SIGUSR1[connection failed(soft),init\_instance] received, process restarting  
Sat Oct 09 20:30:30 2021 TCP/UDP: Preserving recently used remote address: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:30:30 2021 UDP link local (bound): [AF\_INET][undef]:1194  
Sat Oct 09 20:30:30 2021 UDP link remote: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:30:31 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:30:32 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:30:36 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:30:45 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:31:01 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:31:30 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)  
Sat Oct 09 20:31:30 2021 TLS Error: TLS handshake failed  
Sat Oct 09 20:31:30 2021 SIGUSR1[soft,tls-error] received, process restarting  
Sat Oct 09 20:31:35 2021 TCP/UDP: Preserving recently used remote address: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:31:35 2021 Attempting to establish TCP connection with [AF\_INET]69.46.7.227:40088 [nonblock]  
Sat Oct 09 20:33:36 2021 TCP: connect to [AF\_INET]69.46.7.227:40088 failed: Unknown error  
Sat Oct 09 20:33:36 2021 SIGUSR1[connection failed(soft),init\_instance] received, process restarting  
Sat Oct 09 20:33:41 2021 TCP/UDP: Preserving recently used remote address: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:33:41 2021 UDP link local (bound): [AF\_INET][undef]:1194  
Sat Oct 09 20:33:41 2021 UDP link remote: [AF\_INET]69.46.7.227:40088  
Sat Oct 09 20:33:41 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:33:44 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:33:48 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:33:56 2021 read UDP: Unknown error (code=10054)  
Sat Oct 09 20:34:12 2021 read UDP: Unknown error (code=10054)

---

<div class="post-metadata">

**Author:** ![X0RW3LL](https://sea1.discourse-cdn.com/flex015/user_avatar/legacy-community.ine.com/x0rw3ll/32/190_2.png) [@X0RW3LL](https://legacy-community.ine.com/u/X0RW3LL)\
**Post date:** [October 9, 2021, 6:12pm UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/2 "2021-10-09T18:12:51Z")

</div>

Your ISP might be blocking OpenVPN and/or high ports. Does this apply to all other labs you’re trying to connect to?

The only workaround I can think of (and try this at your own discretion) is to chain your VPN connection through a 3rd-party VPN. The problem with this, however, is that you’re might have a hard time with DNS resolution conflicts (between the 3rd-party VPN and the lab’s). If DNS is not an issue, that method should work, but you’re gonna have to deal with potential latency.

---

<div class="post-metadata">

**Author:** ![jaa](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jaa](https://legacy-community.ine.com/u/jaa)\
**Post date:** [October 16, 2021, 3:37pm UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/3 "2021-10-16T15:37:55Z")

</div>

check if your endpoint security (Antivirus sw/firewall) is not blocking any related traffic.  
Also make sure you are using OpenVPN2.x version. version 3.x doesn’t support TAP.

---

<div class="post-metadata">

**Author:** ![friedrich\_o-93cd2df1](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@friedrich\_o-93cd2df1](https://legacy-community.ine.com/u/friedrich_o-93cd2df1)\
**Post date:** [October 17, 2021, 9:24am UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/4 "2021-10-17T09:24:35Z")

</div>

try commenting out the “remote… udp” line and check if it works over tcp

---

<div class="post-metadata">

**Author:** ![X0RW3LL](https://sea1.discourse-cdn.com/flex015/user_avatar/legacy-community.ine.com/x0rw3ll/32/190_2.png) [@X0RW3LL](https://legacy-community.ine.com/u/X0RW3LL)\
**Post date:** [October 17, 2021, 9:48am UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/5 "2021-10-17T09:48:49Z")

</div>

> [@piyushkrp4444-231e4f](#):
>
> Sat Oct 09 20:31:35 2021 TCP/UDP: Preserving recently used remote address: [AF\_INET]69.46.7.227:40088  
> Sat Oct 09 20:31:35 2021 Attempting to establish TCP connection with [AF\_INET]69.46.7.227:40088 [nonblock]  
> Sat Oct 09 20:33:36 2021 TCP: connect to [AF\_INET]69.46.7.227:40088 failed: Unknown error  
> Sat Oct 09 20:33:36 2021 SIGUSR1[connection failed(soft),init\_instance] received, process restarting

Doubt that’s gonna work as per the quoted logs. It’s most likely an ISP-related issue; I’ve been battling the same issue, and that’s why I know it’s very likely theirs is the same. Could also be a firewall config if one’s installed.

---

<div class="post-metadata">

**Author:** ![friedrich\_o-93cd2df1](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@friedrich\_o-93cd2df1](https://legacy-community.ine.com/u/friedrich_o-93cd2df1)\
**Post date:** [October 17, 2021, 9:52am UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/6 "2021-10-17T09:52:35Z")

</div>

> [@piyushkrp4444-231e4f](#):
>
> Sat Oct 09 20:31:35 2021 Attempting to establish TCP connection with [AF\_INET]69.46.7.227:40088 [nonblock]

yeah I missed that one, sorry

---

<div class="post-metadata">

**Author:** ![X0RW3LL](https://sea1.discourse-cdn.com/flex015/user_avatar/legacy-community.ine.com/x0rw3ll/32/190_2.png) [@X0RW3LL](https://legacy-community.ine.com/u/X0RW3LL)\
**Post date:** [October 17, 2021, 10:04am UTC](https://legacy-community.ine.com/t/can-not-connect-vpn-on-windows/1182/7 "2021-10-17T10:04:03Z")

</div>

No need to apologize, mate—you’ve been doing a great job on the forums. Keep up the great work! 🙂
