{"repo":"Sahil12524/pihole-doh-wireguard","free":true,"listed":false,"github":"https://github.com/Sahil12524/pihole-doh-wireguard","clone":"git clone https://github.com/Sahil12524/pihole-doh-wireguard.git","description":"A self-hosted privacy stack combining Pi-hole, Cloudflared (DNS-over-HTTPS), and WireGuard (wg-easy) — block ads, encrypt DNS, and access your home network securely anywhere.","language":"Shell","stars":14,"topics":["adblock","cloudflared","dns","dns-filtering","dns-over-https","docker-compose","pihole","privacy","self-hosted","vpn"],"license":"MIT","category":"networking-infra","readme_excerpt":"pihole-doh-wireguard A lightweight, self-hosted stack combining Pi-hole , Cloudflared (DoH) , and WireGuard to give you fast, private, ad-free DNS anywhere — even outside your home network. Optimized for 2-core CPUs and 4 GB RAM — perfect for Raspberry Pi, small servers, and VMs. --- What’s Inside Component Purpose ----------------------------------- --------------------------------------------------------- Pi-hole Blocks ads, trackers, and malware at the DNS level Cloudflared (DoH) Encrypts DNS queries with DNS-over-HTTPS WireGuard (wg-easy) Secure VPN that routes all traffic through Pi-hole Optional Power Saver Script Auto-pauses containers when offline and resumes instantly --- Requirements Linux host (Ubuntu/Debian/Other distro not tested) Docker & Docker Compose Recommended: 2 vCPU + 4 GB RAM --- Setup Clone this repository: Start everything: --- Services Overview Cloudflared (DoH) Handles encrypted DNS-over-HTTPS queries Forwards to: https://pleaseusecloudflarezerotrust.cloudflare-gateway.com/dns-query https://1.1.1.1/dns-query https://1.0.0.1/dns-query Listens on port 5054 Pi-hole Uses Cloudflared as DNS upstream Web UI: https://localhost:4443 Default password: passwordyoulikeidontcare → change it after setup! WireGuard (wg-easy) Web UI: http://localhost:51821 Port 51820/udp for VPN connections Supports IPv4 and IPv6 --- After First Run Change your Pi-hole password, and adjust upstream DoH or WireGuard settings as needed. --- Optional: Auto-Pause & Power Saver An optio","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sahil12524","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sahil12524/pihole-doh-wireguard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}