Hey friends,
I’ve recently started using macOS, and I’m trying to find out the best and most private and secure way possible to use a trustworthy VPN in combination with NextDNS on my device.
My goal is to use a reputable VPN with NextDNS on macOS without needing to run the services as root.
Here’s the problems with other approaches I’ve tried:
Mullvad + NextDNS-Cli:
So, the first approach I tried and have been using, is to use Mullvad, in combination with NextDNS-Cli, and point Mullvad’s custom DNS in Settings to 127.0.0.1. This works, but it can be a bit hacky. Moreso, I’m worried about the security of this, as Mullvad’s daemon appears to run as root, as well as the NextDNS-Cli service. Mullvad has stated that sandboxing the macOS app is on their backlog here, but who knows when that will be done, and there’s still the problem of NextDNS-Cli. (I know Mullvad does appear to support custom DNS natively, but doesn’t appear to support it encrypted, which is where NextDNS-Cli comes in).
ProtonVPN:
ProtonVPN’s macOS app appears to be excellent from a security perspective. Not only does it not run as root, but it uses macOS’ full app sandbox. The problem is, it doesn’t appear to support using custom DNS on macOS at all. Bummer.
IVPN:
IVPN sounded very promising to me, and it’s close. The biggest benefit to IVPN is that it natively supports custom encrypted DNS, so there is no need for NextDNS-Cli. Nice. The downside is IVPN appears to run as root. Haven’t been able to find word from the devs if this is being worked on or not. It’s probably better than the Mullvad + NextDNS-Cli approach, since it gets 2 root services down to 1, but still not ideal.
Anyone have any ideas about this? Been thinking about this a lot and can’t really find an ideal approach. I’m just not particularly comfortable running services as root that don’t absolutely need it, due to the potential security and privacy implications, but using a VPN in combination with NextDNS is a must for me.
The only other idea I have is Tailscale, which appears to be sandboxed and might meet my requirements here, but I’m reluctant as their macOS client is closed source, and I’m unsure if it can do NextDNS encrypted or not in combination with Mullvad. It appears Tailscale’s cli is open source, but it requires root, which gets us back to square 1…
Any ideas and help really appreciated here, look forward to hearing what you all have to say, thank you!