r/pihole • u/mb232627 • 3d ago
Set up help with Docker instance & Tailscale
Hello all! I'm a tech baby and am nervous about setting things up in a way that either breaks something or exposes my network to safety concerns. I have Pi-hole set up in a Docker container on our main family PC and have been able to access the web GUI just fine. I've used Tailscale to connect to my other containers remotely, but I'm unsure how I go about configuring my router to make Pi-hole actualy work. The "Permit all origins" Interface setting mentined in the Tailscale documentation gives me pause, but I feel like I just don't know enough to accurately asses the risks there. Any advice?
2
u/GizmoGremlin321 Patron 3d ago
If you dont do permit all, it will only liste. On local interface. Setup tailscale in the same container as pihole
1
u/Lucky-Network8912 2d ago
you don't need to touch the router for the tailscale part. tailscale makes its own connection out, so there's no port forwarding involved. in the tailscale admin console go to dns, add the family pc's tailscale ip (the 100.x one) as a nameserver and turn on override local dns, then anything on your tailnet uses pi-hole wherever it is. permit all origins is usually needed with tailscale because those queries arrive from the tailscale network rather than your home subnet, so pi-hole ignores them otherwise. it's only risky if port 53 is reachable from the internet, and it won't be as long as you never forward port 53 on the router. the only router change is if you also want pi-hole for everything at home, then set the dhcp dns server on the router to the pc's local ip
1
u/Cyber_Faustao 2d ago
You can and should deploy firewall rules to whitelist which source IPs you will allow to talk to your DNS server. Once that is done, setting permit all origins is fine. Also make sure to implement and protect IPv6 resolution as well.