Pi

Pi-hole deployed at the edge on Fly.io and accessed via TailScale

Hacker News

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://www.cloudflare.com/learning/ddos/dns-amplification-d...

Share card

Actual performance

58points
18comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
72%72% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
65%65% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: dock · Missing: mac, agents, macos
51%51% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoStrong fit for a featured deal · Strong signals: interface · Missing: plus, platform, intuitive
51%51% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
35%35% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Fl
Fly.io Lemmy69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fly.io Lemmy

Hacker News4
Op
Open-Source GraphQL CDN/Edge Cache with Cloudflare, Fastly, and Fly.io85%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-Source GraphQL CDN/Edge Cache with Cloudflare, Fastly, and Fly.io

Hacker News8
JW
JWT Functions as a Service with Fly.io63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JWT Functions as a Service with Fly.io

Hacker News6
K8
K8s LoadBalancer services via Fly.io tunnels69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

K8s LoadBalancer services via Fly.io tunnels

Hacker News1
Qu
Quake 2 ported to Raspberry PI62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Quake 2 ported to Raspberry PI

Hacker News2
I
I hacked my microwave with a Raspberry Pi64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I hacked my microwave with a Raspberry Pi

Hacker News423
Is
Is the average sinuosity of rivers Pi?57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Is the average sinuosity of rivers Pi?

Hacker News1
Co
Controlling a Raspberry Pi with RabbitMQ65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Controlling a Raspberry Pi with RabbitMQ

Hacker News3
My
My Raspberry Pi 2 Cluster59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My Raspberry Pi 2 Cluster

Hacker News23
Me
Memorize 39 Digits of Pi57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Memorize 39 Digits of Pi

Hacker News8