Deploying a connector on a Ubiquiti (EdgeMAX) compatible router

Overview

You can configure a Ubiquiti compatible router for network connector deployment. You must use specific sections from the OpenVPN Cloud connector profile and apply them to the associated router settings.

Note: You must ensure that your router OS is EdgeRouter X v2.0 or newer.

Steps: Download the connector profile

  1. Sign in to the OpenVPN Cloud administration portal at https://cloud.openvpn.com.
  2. Access Networks and open your router network.
  3. Click on the download icon for the connector.
  4. Click Select Where to Deploy and select Deploy Connector.
  5. Select Ubiquiti router.
  6. Click Download OVPN Profile and save it on your local computer.

Steps: Configure the Ubiquiti router

  1. Copy the .ovpn profile to the router using secure copy protocol (SCP) between your local computer and the router.
    • Access terminal and execute this command: 
      scp <path to profile>/profile_name.ovpn <username>@<Router_external_IP_Address>:/config/auth
      (where profile_name.ovpn is the file name of your .ovpn profile)
  2. Connect to the router via SSH.
  3. Enter config mode and create a new interface, and commit and save your changes. Use these commands:
    configure
    set interfaces openvpn <interface_name>config-file /config/auth/profile.ovpn
    commit
    save
    exit
  1. Connect to the router through HTTPS.
  2. Access the Dashboard tab.
  3. Check that your newly created interface <interface_name> exists with an interface type of openvpn, a Connected status, and an assigned IP address.