This repo is forked from SierraSoftworks/tailscale-udm which allows to use a Tailscale instance on your UDM / UDM Pro. What's cool also is his approach persists even after a reboot of your UDM.
This repo contains the scripts necessary to setup a NordVPN connection on your Unifi Dream Machine (UDM / UDM Pro). It does so by piggy-backing on the excellent boostchicken/udm-utilities to provide a persistent service and runs using the OpenVPN service.
- You need to be able to connect to your UDM / UDM Pro via SSH in order to run this installer.
- Go to UDM Home
- Click "Settings"
- Click "System"
- Scroll Down to the bottom of the list
- Click select "SSH", agree to the license
- Set a password
- You need an OpenVPN configuration file (.ovpn) from NordVPN.
You can do so by downloading a configuration file at the NordVPN Server Tools page.
-
Connect to your UDM using SSH
ssh root@<INTERNAL_IP_OF_UDM>
-
Follow the steps to install the boostchicken
on-boot-script
here. -
Run the installer script to install
nordvpn
and the startup script on your UDM.curl -sSL https://raw.githubusercontent.com/topscoder/nordvpn-udm/main/installer.sh | sh
-
Follow the on-screen steps to configure
nordvpn
and connect it to your network. -
How to run on boot
https://github.com/peacey/split-vpn#how-do-i-run-this-at-boot
You want to be in full control of your network packets, bits and bytes? Sure you can. Find the split-vpn config file at on_boot.d/10-nordvpn.conf
to go crazy ;-)
There are clearly lots of folks who are interested in running an OpenVPN connection on their Unifi gear. If you're one of those people and have an idea for how this can be improved, please create a PR and we'll be more than happy to incorporate the changes.