Ubiquiti Edgerouter X - How to Configure OpenVPN so i can jump from out and about in my home personal LAN network, including Google Authenticator to be able to connect to home network LAN?
![]() ![]() |
*Ubiquiti - not Ubiquity :)
But as this is not offloaded traffic (meaning it uses the CPU of the router) it isn't quick. I recommend instead grabbing a Raspberry Pi and setting up PiVPN (https://pivpn.dev/)
Edit: @mdf has an excellent guide here: https://www.geekzone.co.nz/forums.asp?forumid=46&topicid=245015
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
Personally I'd advise setting up an L2TP server instead - it's hardware offloaded encryption, so it's quick, and you can secure it with certificates or PSKs (no TOTP though)
I have been running OpenVPN on my ER-X for a while now. There are a number of guides on the Ubiquiti site. OpenVPN has the advantage of being able to run in Layer 2 mode, which for me is very useful. As for performance, well I only have an ordinary fibre plan with the standard 20 mbits up, and this is the limiting factor.
![]() ![]() |