WireHole bundles WireGuard, Pi-hole, and Unbound so you can run your own full or split-tunnel VPN with network-wide ad blocking and private DNS on Linux.
Overview
WireHole is a Docker Compose stack that runs a personal VPN server together with DNS filtering and a validating resolver. Devices connect through WireGuard to your own machine instead of a public VPN provider, and traffic can use either full-tunnel or split-tunnel routing depending on how you configure it.
Pi-hole sits in the DNS path for connected clients and blocks advertisement and tracker domains. Remaining queries go to Unbound, which talks to authoritative name servers rather than default public resolvers, caches answers, and performs DNSSEC validation so responses are checked for authenticity.
Administration uses web panels for the VPN and Pi-hole. By default those interfaces bind to the server only, so remote access typically uses an SSH tunnel from your own computer until clients are on the VPN. You add WireGuard clients through the VPN panel, including QR codes for phones or config files for desktops. Each device needs its own client profile.
The intended host is an always-on Linux system with Docker and Git, such as a Raspberry Pi, home server, or rented VPS. Setup guides cover router UDP port forwarding, dynamic DNS when your public IP changes, backups, and choosing between full and split tunnel modes.
Key features
- WireGuard VPN server with full or split tunnel
- Pi-hole ad and tracker blocking for all VPN clients
- Unbound recursive DNS with DNSSEC validation
- Web UI for VPN client management
- Pi-hole query logging and admin interface
- Optional dynamic DNS for changing public IPs
- Docker Compose deployment with health checks
- SSH-tunnel access to local-only admin panels
Use cases
- Home VPN that avoids commercial VPN providers
- Network-wide ad blocking on phones and laptops
- DNS privacy without Google or Cloudflare resolvers
- Remote access to home network services
- Always-on DNS filtering on a Linux home server
Does the same job as
WireHole doesn't name these products itself, but its own description shows it does the same job.