Show HN: Pi-hole deployed at the edge on Fly.io and accessed via TailScale https://ift.tt/XYUwQLN

Show HN: Pi-hole deployed at the edge on Fly.io and accessed via TailScale Hi, I just saw this tweet[^1] by @QuinnyPig that mentions accessing your Pi-hole while traveling thanks to TailScale and wondered how to deploy Pi-hole at the edge, instead of a home lab, for improved latency. My simple solution involves running it on Fly.io to make it easy to relocate anywhere, and embedding tailscale into the same firecracker VM (n├й docker container) to keep the infra dead simple and cheap. Naively deploying a publicly accessible DNS resolver is not ideal[^2] so the main constraint was to secure the VM by 1) keeping all public ports closed and 2) having Pi-hole listen only on the private network interface created by TailScale. It's all very straightforward but it's noticeably improved my bandwidth usage and page loading times across my laptop and mobile phone, so I figured I'd share. Suggestions for improvement are also welcome! [^1]: https://twitter.com/QuinnyPig/status/1558521941538983936 [^2]: https://ift.tt/i806nDI... https://ift.tt/mablO1D August 18, 2022 at 11:03PM

Comments