OpenVPN - Create a new user

To follow this procedure you need administrative access to the OPNSense firewall.

Create user

This will open a form where you can configure the new user.

Configure User Details

Fill in the required fields:

These credentials will be used by the user to connect to the VPN.

image.png

It's fundamental to add the user to the vpn_users group under Group membership.
Without this step, the user will not be able to access the VPN.

Create / Assign User Certificate

To allow OpenVPN authentication, a certificate must be associated with the user.

Fill in the fields:

Save the certificate.

image.png

Export OpenVPN Configuration

After creating the user you can now generate the client configuration file.

You will see the list of users where you can download the configuration, it will download a .ovpn file.

Install and Configure OpenVPN Client

On the user’s device:

  1. Install the OpenVPN client
    (Windows / macOS / Linux / Mobile)
  2. Import the .ovpn file
  3. Enter:
    • Username
    • Password


Revision #7
Created 2026-04-14 07:53:18 UTC by Riccardo Falsetti
Updated 2026-04-14 08:29:19 UTC by Riccardo Falsetti