Protect Unifi Controller with VPN


#1

I currently run a Unifi Controller on AWS Lightsail and all is well. Currently the management page is open to the public internet and I’d like to protect it using a VPN so I can remotely connect to it from anywhere. Can someone point me in the right direction for the easiest implementation?


#2

Two secure options, SSH tunneling would be the quickest and easiest way as you would not need to install any extra software. And if you are using WIndows this works with putty as well.

https://www.ssh.com/ssh/tunneling/example

Another option would be to install OpenVPN on the server and connect to is that way. Here is an auto install script that automates the process. https://github.com/Nyr/openvpn-install