4 ms·
The official documentation includes a tutorial on how to use pi-hole with OpenVPN. This section describes how to use the VPN for only DNS requests: https://doc
by surround 6y ago
The official documentation includes a tutorial on how to use pi-hole with OpenVPN. This section describes how to use the VPN for only DNS requests:
https://docs.pi-hole.net/guides/vpn/only-dns-via-vpn/ https://docs.pi-hole.net/guides/vpn/only-dns-via-vpn/
A Wireguard setup would probably be even less resource intensive if you know how to set it up (there’s no official tutorial for Wireguard).
Do not open your pi to the internet, I doubt the iptables rules would be sufficient to protect it.
- ignoramous 6y ago> ...there’s no official tutorial for Wireguard To run a split wireguard-tunnel to a DNS server, add its IP to the allowed-IPs list: https://www.reddit.com/r/WireGuard/comments/bqccdz/split_tunnel_for_only_dns_possible/ https://www.reddit.com/r/WireGuard/comments/bqccdz/split_tun... If you're on an Android phone, apps like Blokada (plain old DNS), Nebulo (DoH and DoT), Intra (DoH) can split tunnel traffic to a DNS server of your choice. Note that, Android 9+ supports DoT, out of the box. Look for the Private DNS setting.