QuarkVPN

How to Import an OpenVPN Profile on Windows and Mac

To import an OpenVPN profile on Windows or Mac, open OpenVPN Connect, go to My Profiles, and use Upload File to select the .ovpn file from your VPN provider or administrator. Once the profile appears in the app, select it and connect.

Get the right file and app

What is an .ovpn file?

An .ovpn file is an OpenVPN connection profile. It tells OpenVPN Connect which server and port to use and how to verify the server. The profile can include certificates or keys or refer to separate files. Keep the profile private if it contains a private key. Once you get the profile from your provider or administrator, import it into OpenVPN Connect to set up the connection.

Get a current .ovpn profile for the server you are authorized to use. If the provider sends a ZIP file, extract it and keep any accompanying certificates or keys with the profile. Confirm whether the server needs a separate VPN login or a second sign-in step. QuarkVPN's availability of .ovpn files for OpenVPN Connect is still unconfirmed.

Install OpenVPN Connect using the Windows setup instructions or the macOS setup instructions. On macOS, approve the OpenVPN Connect network extension and VPN configuration if prompted by the app. For connection types such as IKEv2, see the built-in macOS VPN setup.

Where can I get my .ovpn file again?

Ask your VPN provider or administrator for a current .ovpn file for your account. If your organization uses OpenVPN Access Server and your account can download profiles, sign in to the Client Web UI at the address your administrator gave you. Select Connection Profile to download the file. If that option is missing, ask your administrator for the profile. See OpenVPN's Client Web UI instructions.

Once you have the file, follow the steps to import it in OpenVPN Connect.

Import your .ovpn file in OpenVPN Connect

  1. Open the app menu, select My Profiles, then select the add button. On the import screen, choose Upload File. Some versions show a File option on that screen.
  2. Browse to the .ovpn file. You can also drag it into OpenVPN Connect on Windows or macOS.
  3. Review and confirm the import. Check that the saved profile appears in My Profiles before trying to connect.

See OpenVPN's profile import instructions and the VPN Technology FAQ for other ways to add a VPN configuration.

Connect and verify the tunnel

  1. If the profile should route web traffic, record your public IP before connecting on a trusted network where you can test with the VPN off.
  2. Select the imported profile and choose Connect. Complete the provider's sign-in if prompted, then check that OpenVPN Connect reports an active connection.
  3. For a profile that routes web traffic, repeat the public IP check in the same browser on the same network. Check the result against the expected VPN exit address if your provider gives you one. For a work profile that routes only internal traffic, verify that you can open an approved internal resource. In that setup the browser's public IP may stay the same.

Troubleshoot OpenVPN import and connection errors

  • The file is rejected during import. Select the extracted .ovpn file. If it refers to separate certificate or key files, keep them in the same folder and retain their original names. If the app reports a missing file or an unsupported setting, ask the issuer for a current profile compatible with OpenVPN Connect.
  • The profile saves, then sign-in fails. Open the app's log. For an AUTH_FAILED message, check the VPN credentials, complete any required second factor, and sign in again if a session expired. If it keeps failing, ask the administrator to check your account and profile.
  • The log reports a certificate error. Check your device's date and time, then get a fresh profile from the issuer. Keep certificate verification enabled and share the specific error with the issuer if it persists. Keep passwords, private keys and profile files private.

Use OpenVPN's troubleshooting FAQ for app errors or the router OpenVPN import checks for a profile uploaded in your router settings.