Skip to content

How to Connect to Your VPN

Set up your VPN profile on a computer, phone or tablet. SharpVPN uses OpenVPN: on most devices the app is OpenVPN Connect, and on Linux it is the OpenVPN 3 client.

Before You Start

Your VPN admin creates a profile for you and sends you one or both of these:

You receivedWhat it isWhere it works
Connection URLAn address like https://abc23456.sharptech.dev, with a username and password.Windows, macOS, iPhone, iPad, Android, ChromeOS
.ovpn fileA profile file, usually with a username and password.Every device on this page
  • If you have both, use the URL on phones and computers. There is no file to move between devices.
  • The username is your profile name. Type it exactly, including capital letters.
  • Some profiles have no password. They come as a file only, and you will not be asked to sign in.
  • Use one profile on one device. If two devices use the same profile, they disconnect each other.
  • You need an internet connection to set up and use the VPN.

Treat your profile like a key. The .ovpn file contains your private key. Do not share it, post it or send it on to others. Install apps only from the places linked or named on this page.

Using OpenVPN Connect

These steps are the same on Windows, macOS, iPhone, iPad, Android and ChromeOS. Install the app for your device first. Button names can differ slightly between app versions.

Add your profile with a connection URL

  1. Open OpenVPN Connect. On first use, the Import Profile screen appears. Later, open the menu, choose My Profiles and select the add (+) button.
  2. Choose URL, enter your connection URL and select Continue (Next in some versions).
  3. Enter your username and password.
  4. Confirm the import.

Add your profile with an .ovpn file

  1. Save the .ovpn file on the device. Do not open and re-save it in an editor.
  2. In OpenVPN Connect, open the menu, choose My Profiles and select the add (+) button.
  3. Select Upload File (File in some versions) and choose the file.
  4. Select OK to confirm.

Connect and disconnect

  1. Select your profile, then Connect or its switch.
  2. Enter your username and password if asked.
  3. If your device asks to allow a VPN connection or add a VPN configuration, allow it.
  4. The app shows when the connection is active. To disconnect, turn the same switch off.

Windows

  1. Download OpenVPN Connect from openvpn.net.
  2. Run the installer, accept the license and select Yes if Windows asks for permission.
  3. Open OpenVPN Connect, from the system tray if no window appears, and accept the data usage policy.
  4. Add your profile with a URL or with a file.

With a file, you can also double-click it, or drag it onto the app window, then select OK.

macOS

The current app supports macOS 12 Monterey and newer.

  1. Download OpenVPN Connect from openvpn.net. Choose the installer for your Mac: Apple Silicon or Intel. To see which you have, open the Apple menu and choose About This Mac.
  2. Run the installer and enter your Mac password when asked.
  3. Open OpenVPN Connect from Applications and accept the data usage policy.
  4. Allow the system extension and the VPN configuration when macOS asks.
  5. Add your profile with a URL or with a file.

With a file, you can also double-click it, or drag it onto the app window, then select OK.

iPhone and iPad

  1. In the App Store, search for OpenVPN Connect and install it.
  2. Open it and accept the data usage policy.
  3. Add your profile with a URL or with a file. A file can be picked from storage such as iCloud Drive or Dropbox.
  4. Allow the VPN configuration when your device asks.

Copy a file from a Mac

If you cannot pick the file in the app, install the app first, then:

  1. Connect the iPhone or iPad to the Mac by cable or Wi-Fi.
  2. In Finder, select the device, then Files.
  3. Drag the .ovpn file onto OpenVPN.
  4. Open OpenVPN Connect, go to the file import screen and select Add beside the new profile.

Android

  1. In Google Play, search for OpenVPN Connect and install it.
  2. Open it and accept the data usage policy.
  3. Add your profile with a URL or with a file. A file can be picked from device storage, such as Downloads, or from cloud storage such as Google Drive.
  4. Allow the VPN connection when your device asks.

ChromeOS

Chromebooks use the Android app.

  1. Open the Google Play Store on the Chromebook and install OpenVPN Connect.
  2. Add your profile with a URL or with a file.
  3. Allow the VPN connection when asked.

Linux

Use the .ovpn file with the OpenVPN 3 Linux client, which runs from the terminal. It has no graphical app.

1. Install

Ubuntu or Debian

OpenVPN publishes packages for Ubuntu 22.04, 24.04 and 26.04 and Debian 12 and 13, on amd64 and arm64.

sudo apt update && sudo apt install -y apt-transport-https curl
sudo mkdir -p /etc/apt/keyrings
curl -sSfL https://packages.openvpn.net/packages-repo.gpg | sudo tee /etc/apt/keyrings/openvpn.asc >/dev/null
echo "deb [signed-by=/etc/apt/keyrings/openvpn.asc] https://packages.openvpn.net/openvpn3/debian $(. /etc/os-release && echo $VERSION_CODENAME) main" | sudo tee /etc/apt/sources.list.d/openvpn3.list
sudo apt update
sudo apt install openvpn3-client

Fedora

sudo dnf copr enable dsommers/openvpn3
sudo dnf install openvpn3-client

RHEL 8 or 9

Enable the EPEL and CodeReady Builder repositories first, then:

sudo dnf install https://packages.openvpn.net/openvpn-openvpn3-epel-repo-1-1.noarch.rpm
sudo dnf install openvpn3-client

For RHEL 10 and other distributions, see the OpenVPN 3 Linux installation guide.

2. Add your profile (once)

Replace profile.ovpn with the path of your file. sharpvpn is a name you can change.

openvpn3 config-import --config profile.ovpn --name sharpvpn --persistent

3. Connect

openvpn3 session-start --config sharpvpn

Enter your username and password if asked.

Everyday commands

Show active connections:

openvpn3 sessions-list

Reconnect:

openvpn3 session-manage --config sharpvpn --restart

Watch the live log (run Reconnect in a second terminal to see a connection from the start):

openvpn3 log --config sharpvpn

Disconnect:

openvpn3 session-manage --config sharpvpn --disconnect

Remove the profile:

openvpn3 config-remove --config sharpvpn

Classic openvpn command

OpenVPN 2.5 or newer can also use the file. Press Ctrl+C to disconnect.

sudo openvpn --config profile.ovpn

On Linux this command does not apply the VPN's DNS servers by itself. Without a DNS update script, such as update-systemd-resolved, name lookups can go outside the VPN settings. OpenVPN 3 is the simpler choice.

Check the Connection

  1. Before connecting, search the web for what is my IP and note the address.
  2. Connect, then search again.
  3. The address should change to your VPN server's, and the location to its country. Location lookups are estimates and can be wrong.

While connected, your internet traffic goes through your VPN server, so websites see the server's address. Speed depends on your connection and your distance from the server.

Recommended Settings

The defaults are enough to connect. In OpenVPN Connect, open the menu and choose Settings to change how the app behaves.

To do thisSetDevices
Keep trying when the network dropsConnection Timeout: Continuous RetryAll except Linux
Block the internet while the VPN is paused or reconnectingSeamless Tunnel: onAll except Linux
Reconnect when the app startsLaunch Options: Restore connectionWindows, Android
Connect after the computer startsLaunch Options and Connect on Launch: onmacOS
Stay connected while the screen is offBattery Saver: offiPhone, iPad, Android
Sign in to hotel or airport Wi-FiCaptive Portal Detection: onAll except Linux
  • Leave VPN Protocol on Adaptive unless your admin says otherwise.
  • Nodes can route IPv6 through the VPN. Turn Block IPv6 on only if your admin asks you to, because it can stop IPv6 from using the VPN.
  • On iPhone and iPad, Apple push notifications and FaceTime do not go through the VPN. Seamless Tunnel reduces, but cannot rule out, other traffic bypassing it during reconnects.
  • With Seamless Tunnel on, you may have no internet until the VPN reconnects or you disconnect it.

Change or Remove a Profile

New password

Ask your admin to reset it. Keep the same profile and enter the new password when asked.

Replace a profile

Remove the old profile, then add the new URL or file.

Remove a profile from OpenVPN Connect

  1. Disconnect. A connected profile cannot be edited or deleted.
  2. Open the menu and choose My Profiles.
  3. Select the edit button on the profile, then the delete button, and confirm.

Lost or replaced a device? Ask your admin to revoke its profile and create a new one. Deleting the app does not revoke the profile.

Troubleshooting

Sign-in fails, or you see AUTH_FAILED
Check that the username is your profile name, with the same capital letters, and retype the password. Then ask your admin to reset the password or confirm that the profile is still active.
The connection URL does not import
Check the address, including https://. The URL works only in OpenVPN Connect, not in a browser or other VPN apps. If it still fails, ask your admin for the .ovpn file.
Too many attempts, or too many imports
URL import pauses after 10 attempts on one profile, or 10 imports of it, within 15 minutes. Wait 15 minutes and try again.
The VPN server cannot be reached
Try again after a few minutes. If it continues, tell your admin.
The connection times out
Check that the internet works without the VPN, then try another network, such as mobile data. Some networks block VPN traffic. SharpVPN uses UDP port 1194 unless your organization has chosen another. If every network fails, ask your admin to check that the VPN server is running and send you a fresh profile.
The VPN keeps disconnecting
Make sure no other device uses the same profile. On phones, turn Battery Saver off in the app.
Connected, but websites do not load
Disconnect and connect again. Turn off other VPN apps, including Cloudflare WARP (the 1.1.1.1 app). If WARP is installed and already looks off, open it, connect, disconnect, then remove your VPN profile, add it again and connect. If sites still do not load, restart the device, then tell your admin.
The file does not import
Check that its name ends in .ovpn, and download or ask for a fresh copy.
A profile that worked has stopped working
The profile may have been revoked or the VPN server switched off, its address may have changed, or the profile may have expired (profiles last 3 years). Ask your admin, then remove the old profile and add the new one.

What to send your admin

Your profile name, device and system version, the time it failed and the exact error message. Never send your password or your .ovpn file.

Security and Privacy

  • Traffic between your device and your VPN server is encrypted. Beyond the server it travels the internet as usual, so keep using secure (https) websites.
  • Your organization's admins can see connection records: profile name, your IP address, connect and disconnect times, duration, data volume and failed sign-ins.
  • The content of your traffic, the websites you visit and your DNS queries are not recorded.
  • Records are kept for 90 days, or 365 days if your organization has extended retention.

See the Privacy Policy for details.

For VPN Admins

Organization admins and operators create profiles in the panel.

  1. Open the node and find VPN Clients.
  2. Select Add Client Profile. Name it with letters, numbers, dashes or underscores, for example asha-laptop.
  3. Type a password or leave it blank to generate one, then select Create Client.
  4. Send the user the connection URL, username and password, or use Download .ovpn Profile. The URL appears only when Connect by URL is available for the node.
  5. Send the password separately from the file or URL, and send this page's address with them.
  6. Create one profile for each device, and revoke profiles that are no longer needed.

More from OpenVPN

Questions about your account or profile go to your VPN admin. Admins can contact SharpTech.