I have successfully installed (for the second time) a pi-hole on the raspberry 4B. But I also have failed to make pi-vpn works.

I would like some help or suggestions to setting up it correctly.

I also have a domain name through namecheap, and maybe it would help setting it properly, and then setting it for a jellyfin server later. Any help is appreciated. Thanks all!

  • UberKitten@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    whatever it is you’re trying to do, be careful that your pi-hole DNS on port 53 is not exposed to the internet. otherwise your server will be abused for DDOS amplification attacks.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 days ago

    What actual problem are you attempting to solve?

    If you want pihole blocking away from your LAN, set the DNS for the device to adguard and be done with it.

    If you’re trying to do something else, give us some context.

  • nitrolife@rekabu.ru
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 days ago

    In general, this is of course 100% based on speculation, but I assume that you can connect to a VPN but you cannot access any resource inside the local network. Just because this is the most basic mistake that beginners usually make. And it’s related to the fact that your pi is not your default gateway. To solve this, you need to enable SNAT on the local Pi interface. There are many guides on the Internet on how to do this.

    P.S. Unfortunately, I have a poor telepathy skill, so it would be good to get a little more background. At least an accurate description of the problem. =)

  • jonathan@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 days ago

    I’m hesitant to promote vc-funded software, but Tailscale would probably the simplest setup for VPN.

    • LazerDickMcCheese
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 days ago

      This is the first I’ve heard of Tailscale=/=infallible. As a long-time user, should I switch to a different setup?

          • sem@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            8 days ago

            Try to keep track of how much work you invest because it may be time-expensive to switch later on if you built a lot of stuff on their infra. Which is not the end of the world.

            • LazerDickMcCheese
              link
              fedilink
              English
              arrow-up
              2
              ·
              8 days ago

              I have remote users, and I’m hosting several services through it. It wouldn’t be pretty, but we’d survive