I would like to use at the same time both a DNS (like NextDNS, or Cloudflare) and VPN.
I need DNS for filtering.
And I need VPN to access resources that I cannot access in my region directly.
I heard about things like Tailscale, Zerotier, WireGuard, Mulvad, OpenVPN, VPS (Virtual Private Server) but don’t know completely can I use them in my case or no.
Ideally I want to have the following: always-onundeleted DNS filtering with option to additionally add a VPN. It could be something like:
DNS only.
DNS + VPN (USA).
DNS + VPN (Poland).
I would like to set it on both of my devices I have:
For the iPhone the only reliable solution is to have a router that can act as a VPN client.
For MacBook, you can run AdGuard Home locally (in the MacBook itself), tell the macOS to use the AGH interface for DNS (thus, local address), and then enable the VPN with a standard client (ie, not from the provider). The VPN thus won’t interfere with the local traffic.
If you’re willing to get a VPS, get them in the location you want, host AGH/PiHole there and a PiVPN set to your AGH/PiHole as DNS.
A caveat, if you’re trying to hide the fact that you’re using a VPN from your employee/school, eventually they will still find out either by wifi geolocation, increased latency, checking the IP ASN etc.