Thursday, August 18, 2022

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

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/vz3Hxbc... https://ift.tt/ile4dz8 August 19, 2022 at 01:33AM

No comments:

Post a Comment

A Manual on Self-Defense Intended for Survivalists

In the state that the world is in, you need to know self defense. When the SHTF, you could be called on to have to defend yourself from some...