Hi all,

I just got a Raspberry Pi 5 and I’m about to do my first setup, but it’s a jungle to understand everything as a ‘noob’.

My plan is to install the following:

  • Pi-hole
  • Tailscale
  • Traefik

I want to achieve DNS ad blocking and access to all my services on my laptop and phone.

Would these services achieve this? Do they work together? And am I missing something to make it work?

Sorry if this is plain stupid to ask, but I can’t seem to find anything where all 3 is used together.

  • NameTaken@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 months ago

    Docker as mentioned above is great especially if you’re going down the homelab rabbit hole. You’ll find it really useful to get familiar with for future projects.

    Another alternative is to install DietPi. It’s an operating system for a raspberry pi. It has all these programs you mentioned with install scripts including docker and installing (and updating) is as easy as checking a box. Also has a pretty good community in case you run into an edge case.

  • GravitySpoiled@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    They aren’t mutually exclusive. They work together. I recommend zerotier over tailscale (I forgot why tailscale was bad for me, sorry)

  • TheButtonJustSpins@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Yes, that would work. Highly recommend installing docker and running in containers. (Except Tailscale, probably; that would be native.)

    • TheMurphy@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Thanks for also recommending docker! I’ve read about it, but I was not sure if it would be useful here.

      • LifeBandit666@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 months ago

        I would go one further and recommend installing Portainer too. Install Docker, then find the code to install Portainer. Then you can log in to Portainer and use that to manage Docker.

        I’ve tried to use Docker for a number of years (and succeeded!) but have recently used Portainer and found it so much easier.

        I now install the Portainer client on every instance of Docker that I use and track them all through a single IP address on my lan.

        I had read about Docker Compose but never followed it up. But now with Portainer I’ve come to realise that “Compose” is “Stacks” in Portainer. So now I can just open up my Portainer and copy/paste a compose into a stack and save it, and it fires up the programme for me.

        If I want to replicate that program somewhere else I can either copy/paste my stack, or use the “replicate” function to just add it to another machine.

  • catculation@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    As said use docker but if you directly want to run a DNS and VPN servers then my recommadtion is Adguard Home instead of PiHole since it is rootless and doesn’t modify system And for VPN go with PiVPN script and setup wireguard. Once installed both handle automatic updates without running a single command.