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
- Sign in to the OpenVPN Cloud administration portal at https://cloud.openvpn.com.
- Access Networks and open your router network.
- Click on the download icon for the connector.
- Click Select Where to Deploy and select Deploy Connector.
- Select Ubiquiti router.
- Click Download OVPN Profile and save it on your local computer.
Steps: Configure the Ubiquiti router
- 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)
- Access terminal and execute this command:
- Connect to the router via SSH.
- 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
- Connect to the router through HTTPS.
- Access the Dashboard tab.
- Check that your newly created interface <interface_name> exists with an interface type of openvpn, a Connected status, and an assigned IP address.