Hacker News new | ask | show | jobs
by Sohcahtoa82 2339 days ago
> How do you achieve sending only DNS traffic over VPN?

I use OpenVPN on both my phone and the server with the "redirect-gateway def1 bypass-dhcp" option enabled on the server. See https://docs.pi-hole.net/guides/vpn/only-dns-via-vpn/

> What do you do when your phone is connected to your home WiFi network?

Nothing. The phone still uses the PiHole in AWS. I don't run a PiHole on my home network, as I use uBlock Origin to block ads on my desktop. I make my phone use a PiHole to prevents apps that aren't my web browser from getting ads, such as Google Now.