htb check if vpn is working code example

Example: I have connected to the VPN successfully but I can't ping / scan any of the tutorial / Starting Point machines.

Alternate TCP Connection
By default, our network uses UDP port 1337. If this port is blocked at your location, you can try switching to TCP 443 by editing your .ovpn file.

Change proto udp to proto tcp
Change remote {serverAddressHere} 1337 to remote {serverAddressHere} 443
Change <tls-auth> to <tls-crypt>
Change </tls-auth> to </tls-crypt>

Source:
https://help.hackthebox.eu/troubleshooting/v2-vpn-connection-troubleshooting

Tags:

Misc Example