Svelte Patterns

How to Connect to an OpenVPN server

Steps

  • Install open vpn This will depend on the distro you’re using. Example: In Arch

    sudo pacman -S openvpn

    In Ubuntu

    sudo apt-get install openvpn
  • Open the URL of the openvpn server you’re trying to connect to. This should be given you by your systems administrator. It usually comes in this format https://{the-ip-address-of-the-server}/?src=connect. Login with the given credentials.

  • After logging in there should be a label there saying: Available Connection Profiles: just click the item labeled Yourself (user-locked profile). That should prompt you to save a file named client.ovpn. Save it somewhere safe.

  • After downloading the client.ovpn file cd into its location then run this command:

    sudo openvpn --config client.ovpn
  • If everything goes as expected you should see a message ending in Initialization Sequence Completed.

Congratulations you have now connected to you OpenVPN server!