PiVPN – Connecting your device to your OpenVPN server

This article runs you through connecting to your OpenVPN server using with an Android, iOS, Windows or macOS device.

To get here, you would have already configured your OpenVPN Server. See also on how to manage your PiVPN users here.

To get the “.opvn” created for the specific device, logon to your server, as the same user as you created it, and go to the directory “ovpns”.
You can use WINSCP to download it to your machine and then share it via email or other application of choice.
You could also easily download or share a link to that file if you have installed “Filebrowser” on your server, my web file manager of choice.

Android connecting to OpenVPN:

  1. Install the OpenVPN Connect app from the Google Play Store.
  2. Download the client configuration file generated in Step 2 to your Android device.
  3. Open the OpenVPN Connect app and tap on the “+” button to import a new profile.
  4. Locate and select the client configuration file you downloaded in Step 2.
  5. Tap on “Add” to import the profile.
  6. Enter your PiVPN username and password when prompted.
  7. Tap on the “Connect” button to establish a connection to PiVPN.

iPhone connecting to OpenVPN:

  1. Install the OpenVPN Connect app from the App Store.
  2. Download the client configuration file generated in Step 2 to your iPhone.
  3. Open the OpenVPN Connect app.
  4. Tap on “OVPN Profile” at the top-right corner.
  5. Tap on “Import” and select the client configuration file you downloaded in Step 2.
  6. Enter your PiVPN username and password when prompted.
  7. Tap on the toggle switch to establish a connection to PiVPN.

Windows connecting to OpenVPN:

  1. Download the OpenVPN client for Windows from the official website (https://openvpn.net/community-downloads/).
  2. Install the OpenVPN client by following the on-screen instructions.
  3. Download the client configuration file generated in Step 2 to your Windows PC.
  4. Open the OpenVPN client.
  5. Right-click on the OpenVPN client icon in the system tray (near the clock) and select “Import file…”
  6. Locate and select the client configuration file you downloaded in Step 2.
  7. The client configuration file will be imported, and a new connection profile will be created.
  8. To establish a connection, right-click on the OpenVPN client icon in the system tray and select the PiVPN connection profile you imported.
  9. Enter your PiVPN username and password when prompted.
  10. The OpenVPN client will attempt to connect, and once connected, the client icon will turn green.

macOS connecting to OpenVPN:

  1. Download and install the OpenVPN Connect client for macOS from the official website (https://openvpn.net/client-connect-vpn-for-macos/).
  2. Download the client configuration file generated in Step 2 to your Mac.
  3. Open the OpenVPN Connect client.
  4. Click on the “OpenVPN” tab in the upper-left corner of the window.
  5. Click on “Import” and select the client configuration file you downloaded in Step 2.
  6. Enter your PiVPN username and password when prompted.
  7. Click on the “Connect” button to establish a connection to PiVPN.

That’s it! You should now be connected to your OpenVPN using Android, iPhone, Windows or macOS device.

Buy me a coffee

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *