Hi all, I was wondering what is the better way to go to run a VPN server:
It’s just for home use with about 3-4 clients. I would like to use OpenVPN because I could automate some things with Passepartout. The UDR’s LAN is configured to use that same Mac (as #2 and a RPi as #1) as DHCP DNS Server to use Pi-hole in Docker. My thinking is that the Mac mini is much faster than the UDR, but I’m not sure it’s the right choice, or even possible. Networking novice here 
Hello! Thanks for posting on r/Ubiquiti!
This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.
Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic posts in the weekly off topic thread that is stickied to the top of the subreddit.
If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
What exactly are you trying to accomplish? A connection to a second home or office, or were you trying to use it to remotely access your home network when you are away from home?
Remote access to local stuff, close some ports, and benefit from Pi-hole when not at home. And protect connection on public WiFi when needed.
So a site to site VPN isn’t what you want. I would just use the built in L2TP VPN. I am not familiar with the UDR but I would assume it uses the same controller interface as their other Unifi line.
One thing you’ll want to do is set your LAN IP pool to something obscure. 172.10.64.1/24 or something like that. It makes local access a lot easier. We have clients that have issues on the other end of this when their IP of the LAN is the same as the LAN they are physically on, the system doesn’t know which 192.168.1.10 you are trying to reach.
Thanks, I should have first checked what site-to-site actually was
And thanks for the IP tip. I was looking for official OpenVPN documentation and site-to-site is all I found. Seems OpenVPN is not supported as regular VPN server on UniFi.
I read that L2TP is slow compared to OpenVPN. Would I notice? Should I go with L2TP from UDR and enjoy the integration? Is UDR fast enough to handle all that? Or use OpenVPN from Mac mini for the speed?