Description
WireHole is a docker-compose project that combines WireGuard, Pi-hole and Unbound to make a personal VPN with ad blocking and private DNS. Your devices connect to a VPN server you run, so your traffic does not go through a public VPN provider. You can set up a full tunnel, which sends all traffic through the server, or a split tunnel. Pi-hole blocks advertising and tracker domains for every connected device. Unbound resolves names by asking the authoritative name servers directly, so DNS queries do not go to a public resolver, and it validates DNSSEC signatures. The README explains the path a query takes: from the device to Pi-hole, which blocks ad domains, then to Unbound. You need a computer that stays on and runs Linux, such as a Raspberry Pi 3 or later, an old desktop, a home server or a rented server. The README says a Mac or Windows PC cannot host the stack, and that WSL2 is not a good host. The project has a quick start, instructions to open a port on your router, and a guide to upgrading from older versions, which the README asks you to read first.…
Highlights
- Self-hosted WireGuard VPN
- Full or split tunnel
- Pi-hole ad and tracker blocking
- Unbound private DNS with DNSSEC
- Docker Compose deployment
Ratings & Reviews
No ratings yet
Be the first to rate Wirehole.
People also visit
Pi-Hole-for-WSL1
Ad-blocking DNS server for Windows • Unbound pre-configured • Deploy in…
Maza ad blocking
Local ad blocker. Like Pi-hole but local and using your operating system
Pi-Hole-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-Wir
Run your own privacy-first ad blocking service at home
Technitium DNS Server
Authoritative/recursive DNS server with ad blocking functionality
Wirehole FAQ
What is WireHole?
A docker-compose project that combines WireGuard, Pi-hole and Unbound into a self-hosted VPN with ad blocking and private DNS.
Which computer do I need?
A Linux machine that stays on, such as a Raspberry Pi 3 or later, an old desktop, a home server or a rented server, according to the README.
Can I run it on a Mac or Windows PC?
The README says a Mac or Windows PC cannot host the stack, because the VPN needs Linux kernel parts that Docker Desktop does not provide. Those machines can be clients.
Is my traffic routed through a VPN provider?
No. The README says your devices connect to your own server, not a public VPN provider.
Does it block ads?
Yes. Pi-hole blocks advertising and tracker domains for every connected device.
Is it free?
Yes. It is an open-source project on GitHub.
What are the best Wirehole alternatives?
Popular alternatives to Wirehole include Maza ad blocking, Technitium DNS Server and AdGuard Home. See all Wirehole alternatives



