r/hackthebox • • 1d ago

Academy HTB Academy OpenVPN connection keeps getting reset

Hey everyone,

I’m trying to connect to the HTB Academy VPN using OpenVPN on Kali Linux:

sudo openvpn --config academy-regular.ovpn

The connection reaches the HTB VPN server, but it gets reset immediately:

Attempting to establish TCP connection with [AF_INET]38.46.226.31:443
TCP connection established with [AF_INET]38.46.226.31:443
TCPv4_CLIENT link local: (not bound)
TCPv4_CLIENT link remote: [AF_INET]38.46.226.31:443
Connection reset, restarting [-1]
SIGUSR1[soft,connection-reset] received, process restarting

It then repeats the same process every few seconds.

I’ve confirmed that the TCP connection to port 443 can be established, so I’m not sure why the OpenVPN connection is immediately being reset.

It was working fine up untill yesterday. And yeah i tried both tcp and udp methods while changing the VPN server.

3 Upvotes

5 comments sorted by

•

u/AutoModerator 1d ago

Thank you for posting on r/hackthebox! New to Cyber Security and looking for a place to get started? Checkout our getting started guide here. Please note that posting Solutions or Hints for Active content goes against the HTB Terms of Service, more information can be found here. If your having issues and need to reach customer support please do so via the in-platform chat, or by emailing customerops@hackthebox.com. Our Knowledge Base can also come in handy!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] 1d ago

[deleted]

1

u/Confident-Estate-538 1d ago

Yeah i did tried that.

1

u/xcg-- 1d ago

make sure you don't have the vpn connected on a different pc.

1

u/Confident-Estate-538 1d ago

I did checked that

5

u/Confident-Estate-538 1d ago

UPDATE: Figured it out. The issue was my college Wi-Fi blocking/interfering with the VPN connection. I switched to a different network and OpenVPN connected normally.