Which route did you go for your homeland, a tunnel to your services or setting up tail scale/wireguard and access them on your trailer?

  • HiTekRedNek@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 hour ago

    Both.

    I have a free vps providing me a public IPv4 address, connected to my opnsense router via tailscale, and use a simple port forward from the VPs to the router’s tailscale IP.

    I have certain port/connections coming in either via the tailscale IP or my external IPv6 address all forwarded to my internal Caddy reverse proxy which itself is only running IPv4.

    And I use cloudflare for my dynamic DNS resolution of my domain. A records are my public VPS IPv4 and AAAA are my own public IPv6 addresses respectively.

    If/when I change to a service provider that doesn’t use CGnat for IPv4, I can stop doing the forwarding from my VPS.

    That’s so we can stream music/video without needing to use the VPN.

    But, I also run tailscale on my phone, so I can do admin stuff remotely from it, albeit painfully, on this small screen when things break. 🤣

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    Wireguard.

    Dunno if Cloudflare does effective auth for the tunnel or if you have to set that up yourself, but I don’t bother trying to expose services to the internet in any way because some of this stuff was just never designed for proper web security (cough Jellyfin).

    It’s still worth setting up a wildcard cert with ACME so you get nice https and a real domain.

    • frosch@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      Cloudflare has some opt-in auth. Mail-OTP is a nice balance imo: You can allowlist mail addresses per service/subdomain and set expiry for each. Then for access, you first have to enter the mail address, get the OTP and then access the service.

      So, nobody without access to allowed mail addresses even gets to knock on you door.

      But yeah, that’s why I think about going tail scale: why bother having something exposed when not needed?

      I just think, some services might be nice to provide to friends, too - and having them connect to my tailnet for this is a bit too much friction, I guess

  • utjebe@reddthat.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 hours ago

    Just Wireguard on a router, but I’m thinking Netbird.

    WG can be a bit PITA to set up, but once you do, it just works. What I would to have is more fine grained control over who goes where if I were to expose some of the services to friends.

    • IratePirate@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      wg-easy can greatly simplify your wireguard setup. Allows you to quickly generate access configs for friends and family on the fly (QR-codes, too). You still get access to post-up/-down hooks if you want tp create a more specialised deployment.

  • Illecors@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    7
    ·
    17 hours ago

    I do run wireguard on my router, but the main reason is ad blocking, not hiding services. Most services are publicly exposed.

    • frosch@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Nice, I thought about using wireguard as a private VPN, too. Having my pihole block my mobile data on the go would be neat

      • prenatal_confusion@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        No, ridiculously easy with docker.

        Then it follows the same principles as cloud flare. Create a site (vpn endpoint), get a docker snippet for a newt (what they call the vpn connector), paste it in the docker compose on your Homeserver and see it come up in the Webinterface.

        Then you create a public resource and point it to said site and give it a url.

        Done.

        Ask me if you have questions

        • frosch@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          Cool, do you get any auth and/or ingress protection?

          With cloudflare, you get some auth options, can block AI crawlers (that get recognized…) etc for free

          • prenatal_confusion@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 hours ago

            Yes there is auth on by default for resources. You can use real accounts that need to be created or passwords or pins. And I think some id providers.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    16 hours ago

    How about both? I run the evil Cloudflare Tunnels/Zero Trust with Tailscale as an overlay on the server.

    • frosch@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      I’m a bit stumped, what do you gain from this setup?

      Or do you mean just running some services through the tunnel for easy access and “hide” others behind tailscale?