Support Downloads Community

UniFi Video is an obsolete product line.

This application and its related devices will no longer receive any manner of technical support, including functional and security updates. Additionally, there will be no further updates to Help Center content pertaining to UniFi Video.

UID - Manage UID VPN

This article explains how to set up and manage UID VPN. 

Note: If you haven't completed the initial setup of your UID workspace and the UID Agent application, complete it first by following the steps on UID - Getting started.

Configure your deployment on the UniFi Network application

Before setting up the UID VPN, you need to configure your deployment on the Network application by using either:

  • Port forwarding that is configured on the uplink router that's directly connected to your internet source, or
  • Public network IP, recommended when the public IP of the UniFi OS Console is different from the WAN IP.

To configure the required port forwarding rule in UniFi Network:

  1. Connect the WAN port of your UniFi OS Console to the top-level router.
  2. Launch the UniFi Network application and go to Settings > Advanced Gateway Settings > Create New Port Forwarding.
  3. Enter the required information:
    1. A name and port number of your choice.
    2. WAN IP address of the UniFi OS Console in the Forward IP field.
    3. Forward Port is 10118 and we recommend selecting UDP as protocol.



To configure the public IP in UniFi Network:

  1. Launch UniFi Network from your UniFi OS Console and go to Settings > Internet.
  2. Select the WAN port and click Edit to access the WAN details page.
  3. Within the Advanced section fill in:
    1. DNS Server: provided by your ISP.
    2. IPv4 Connection Type: Static IP.
    3. The IP Address, Subnet Mask, and Router for the public network information. 
  4. Click Apply Changes to finish.


Set up UID VPN

To set up the UID VPN:

  1. Choose the site from the drop-down field in the upper-left corner to access the site's dashboard and select One-Click VPN in the Services section.


  2. Configure the VPN name and the rest of the required fields:
    1. Authorize all users of the current site.
    2. VPN Server: The IP Address of the selected UniFi OS Console is displayed by default.
    3. Top-level Routing Port: The port number is 10118 by default. When the public IP of the selected UniFi OS Console is the same as WAN IP, the port number cannot be modified. If they are different, please follow the “To configure the public IP in UniFi Network” section above before continuing.
    4. Advanced Settings.
    5. IP/Subnet (Optional).
    6. DNS (Optional).

Once the VPN has been configured, you can assign users or groups to it in the VPN Dashboard section.

Note: IPv6 is not supported for VPN Server.


Assign or unassign VPN to a user

To assign VPN to a user while on the VPN dashboard:

  1. Select Assign User, or go to the Users section and then click Assign User at the top-right corner.



  2. Select the users and/or groups that you will assign the VPN to, and click OK to complete the assignment.


To un-assign user(s) from VPN while on the VPN dashboard:

  1. Go to the Users section and select one or multiple groups and/or users that need to be un-assigned.
  2. Click Remove and confirm the pop-up message to complete the un-assignment. Alternatively, you can simply hover over a user or a group, click Remove, and confirm the pop-up message to complete the un-assignment.


Manage the VPN settings

To edit the VPN settings while on the VPN dashboard, go to the VPN section and click on a VPN network to open its properties panel. Here you can edit the necessary settings and click Save to confirm.

Troubleshooting UID VPN issues

Issues with UID VPN connection may include:

  • UID VPN disconnecting frequently
  • The UID VPN status shows as Connected but you're unable to access the internet

If you're having any of the issues above, make sure that:

  1. The UID VPN was set up correctly.
  2. The firewall port 10118 is enabled.
  3. The UID VPN status is Active in UniFi Network application > Settings > Network.
Was this article helpful?
2 out of 4 found this helpful