Hey guys,

after reading up on selfhosting for weeks now I finally decided to take the plunge today and tried setting up my own nextcloud & jellyfin instances. For this purpose I am using a mini PC. (similiar to an Intel NUC)

Now I would like to make both services available to the internet so I could show images to friends while I’m at their place / watch movies with them.

The problem is I am currently not very educated on which security measures I would have to take to ensure that my server / mini PC doesn’t immediately become an easy target for a hacker, especially considering that I would host private photos on the nextcloud.

After googling around I feel like I find a lot of conflicting information as well as write-ups that I don’t fully grasp with my limited knowledge so if you guys have any general advice or even places to learn about all these concepts I would be absolutely delighted!

Thank you guys sooo much in advance for any and all help, the c/selfhosted community has been nothing but a great resource for me so far!!!

    • ripe_banana@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      ·
      edit-2
      1 year ago

      In the spirit of selfhosting, you can also host headscale. Its an open source implementation of the proprietary tailscale control plane.

      It allows you to get over the 5 device limit (different depending on tiers), as well as keep your traffic on your devices. And, imo, it is pretty stable.

      The only issue is that the control plane (by nature) has to be publically accessible. But imo it’s way less of a security target than a massive app like nextcloud.

      Edit: device limits were wrong

      • vividspecter@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        It allows you to get over the 5 device limit, as well as keep your traffic on your devices. And, imo, it is pretty stable.

        I believe tailscale raised the device limit relatively recently but I agree with you in that I prefer to self-host this type of thing.

    • Plod@programming.dev
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      Another vote for Tailscale. Relatively easy to set up and can has some pretty cool features I’m still learning about. I also share my Jellyfin server with family and friends and it meets expectations.

        • Plod@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Yea basically so I send an invite link for my Jellyfin server. They sign up and install the app then use the Tailscale IP to connect to the Jellyfin server. Usually pretty easy but if they don’t really understand I can do it for them once and then it’s good to go.