Client VPN — OpenVPN with TOTP MFA

Stand up an MFA-protected OpenVPN Client VPN for a customer site, including how to provision the user, download the configuration and QR code, and install the OpenVPN client on Windows, macOS, Linux, and iOS.

Paid feature. Client VPN is a flat-rate add-on; there is no per-account charge. Each MSP can create one management Client VPN account per customer at no charge.

MFA support arrived in firmware version 4.4.0. Check the site’s firmware under Portal › Site Settings before attempting MFA setup.

Firmware version visible in Site Settings

For the older protocols (L2TP/IPsec, SSTP, SSL), see Client VPN — Legacy.

Enable VPN and create a user

  1. Sign in to the Uplevel Portal.

  2. From the customer’s configuration page, choose VPN.

  3. Tick Enable VPN.

  4. Click Click here to add a VPN user.

    Add VPN user link in the Portal

  5. Fill in the user’s Username and Password, tick Require MFA, and choose the Security Group the user belongs to.

    New VPN user with Require MFA enabled

  6. Click Save.

  7. Wait about 5 minutes for the VPN configuration and QR code to generate on the backend.

  8. Click the edit (pad) icon next to the user.

  9. Click Download MFA Files to grab a .zip containing the OpenVPN configuration (<username>.ovpn) and the QR-code PNG (<username>_qr.png).

    Download MFA Files action

  10. Unzip the bundle and keep the contents handy for the next step.

Install a TOTP authenticator on the user’s phone

  1. Install a TOTP authenticator app on the smartphone — Google Authenticator is a popular choice; any standard TOTP app works.
  2. Add a new account.
  3. Open the <username>_qr.png file on a computer.
  4. Scan the QR code from the phone’s camera through the authenticator.

No smartphone? Either install the Google Authenticator Chrome extension (or 2FAS for Firefox / Edge / Brave / Opera), or contact Uplevel Support for the 16-digit access code that the QR encodes.

Install the OpenVPN client

Windows

If the OpenVPN client isn’t installed yet:

  1. Open the extracted MFA Files folder.
  2. Double-click VPNInstaller.exe — it downloads, installs, and configures OpenVPN for the host.
  3. When prompted, install OpenVPN in the default location.
  4. After installation finishes, VPNInstaller launches OpenVPN.
  5. Enter the Username, Password, and the one-time code from the authenticator to connect.

Windows OpenVPN connection prompt

macOS — Tunnelblick

macOS doesn’t ship a native OpenVPN client. Use Tunnelblick; it works on every supported macOS version. Import the .ovpn file from the extracted bundle.

Linux

OpenVPN is in every major distro’s package manager (apt, yum, pacman, dnf, zypper). Import the .ovpn file with your client of choice. The official guide is here: https://openvpn.net/cloud-docs/owner/connectors/connector-user-guides/openvpn-3-client-for-linux.html.

iOS

Use OpenVPN Connect from the App Store and import the .ovpn file. Apple’s own guide: https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-apple-ios/.

Related articles