OpenVPN

OpenVPN is an open source VPN client.

Show OpenVPN version

sudo openvpn --version

Connect to VPN

Using configuration file htb.ovpn (example with Hack The Box VPN configuration file)

sudo openvpn htb.ovpn

Fix errors / warnings

WARNING: ‘auth’ is used inconsistently, local=’auth SHA1′, remote=’auth SHA256′

Replace in configuration of the VPN connection (e.g. htb.ovpn)

auth SHA1
auth SHA256

WARNING: this configuration may cache passwords in memory — use the auth-nocache option to prevent this

Add this line in configuration of the VPN connection (e.g. htb.ovpn). See this note.

auth-nocache