Skip to content

A pi-hole deployed into Fly.io and transported with Tailscale

Notifications You must be signed in to change notification settings

aggregated/fli-hole

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi-hole on Fly.io served via Tailscale

How to do it:

  1. Get set up with Fly.io (only install flyctl and create an account/login)
  2. Get set up with Tailscale
  3. Clone this repo
  4. Run the command fly launch --name $APP_NAME --no-deploy and answer the prompts (pick your own $APP_NAME)
  5. Create an auth key in Tailscale and copy it to clipboard
  6. Run the command fly secrets set TAILSCALE_AUTHKEY=<paste auth key here>
  7. Run the command fly secrets set WEBPASSWORD=<admin interface password here>
  8. Run the command fly deploy --remote-only
  9. Test it out with dig @${APP_NAME}.fly.dev google.com
  10. If $STEP-1 worked, navigate to the Tailscale admin interface, grab the IP of your instance, then navigate to the "DNS" tab and add the IP as a nameserver. Make sure to activate "Override local DNS" in order to be able to use it on iOS and not have to configure the nameservers manually on every device.

Reading/Reference:

About

A pi-hole deployed into Fly.io and transported with Tailscale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.5%
  • Dockerfile 8.5%