My setup for using Pi-hole outside my home

2 years ago by BlackEco to c/pihole

I present an alternative way to use Pi-hole outside the home network by leveraging Encrypted DNS (aka DNS-over-TLS and DNS-over-HTTPS) instead of the usual VPN.
Fedegenerate 2 points 2 years ago

Tailscale> Set pihole machine/s as a nameserver/s> tailscale always on> use tailcale DNS... Profit?

path: 0 13708678, hotness: undefined, score: 2, children: 4
BlackEco 3 points 2 years ago

I'm not familiar with Tailscale, but I assume it would only route DNS requests through the VPN just like the docs' solution does, doesn't it?

path: 0 13708678 13708753, hotness: undefined, score: 3, children: 3
Fedegenerate 5 points 2 years ago

You can set a machine to be an exit node and route all traffic through it. Set it is as subnet router and you have your home network but everywhere.

I was implementing tailscale anyway so it was very little effort to add my pihole lxc+machine to it.

Note, I'm an advanced beginner. My homelab is other people's projects bolted together with scotch tape and best practice violations. Take the key words as Google recommendations only.

path: 0 13708678 13708753 13709486, hotness: undefined, score: 5, children: 2
Novi 4 points 2 years ago

You can accomplish the same with any VPN solution that supports split tunneling.

path: 0 13708678 13708753 13709486 13713796, hotness: undefined, score: 4, children: 0
Reannlegge 2 points 2 years ago

I use wireguard now, I decided to cut my subscription to a VPN for when I left my LAN. I tried setting up tailscale but had difficulties getting it to work with my homelab. I am thinking of spreading my homelab across to homes for cloud back up as I have also started using nextcloud rather than any third party clouds.

path: 0 13708678 13708753 13709486 16561701, hotness: undefined, score: 2, children: 0
astrsk 1 point 2 years ago

WireGuard, Cloudflared, nginx, done.

path: 0 13714336, hotness: undefined, score: 1, children: 0
pihole
pihole

@sh.itjust.works

login for more options
649
35
1

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.

go to feed...