96
submitted 2 years ago* (last edited 2 years ago) by jaykay@lemmy.zip to c/selfhosted@lemmy.world

Hi, I know this topic has been talked about 70 thousand times but I’m still not sure.

I have home server on an intel NUC behind the ISP router. On it I have the standard arr apps, jellyfin, pi-hole etc etc. I would like to access them through a domain rather than an IP. So I set them up in docker, behind traefik, behind authelia and behind cloudflare. I am the only one that uses it.

Now, I’m worried about the security of it all. I’ve been searching here and there and I’ve read about cf tunnels, wireguard server, vps, vlan, OPNsense etc etc. I still don’t know what would be the most secure. Should I just stay with what I have?

EDIT: I'm not behind CGNAT

you are viewing a single comment's thread
view the rest of the comments
[-] onlinepersona@programming.dev 3 points 2 years ago

Why so complicated? Why not just SSH? Put it on some random port, make it public key login only, and you're done.

[-] ExploratrixLunae@kbin.social 1 points 2 years ago

I've beeb looking into a similar setup and I didn't know SSH could do this kind of tunneling. Thanks for the tip! I'm going to consider using it.

[-] onlinepersona@programming.dev 1 points 2 years ago

I'm not sure what you mean by tunnel, but SSH allows a "secure shell" aka an encrypted connection to a shell on a device. Tailscale, Headscale, and others are VPNs, which means they allow making it seem as if your computer is in the same (private) network as that of the server - but in order to have a shell on the server, you'll still need SSH.

To my knowledge, adding a VPN to open a secure shell on the server is unnecessary and has no security benefits.

[-] Eris@l.os33.co 1 points 2 years ago

This is what I do and I've wondered why people always shill for tailscale or cloud flare tunneling, seems like way too much extra bs for the same thing

this post was submitted on 01 Dec 2023
96 points (94.4% liked)

Selfhosted

62096 readers
218 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS