this post was submitted on 11 Aug 2023
27 points (96.6% liked)

Selfhosted

40394 readers
379 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm just a novice at self hosting and I see a lot of talk about the risks of exposing stuff to the world. Here's my setup:

-Rpi4 hosting Overseerr
-Desktop computer hosting Nginx and some Cloudflare DDNS update containers

Cloudflare directs request.domain.com to my home IP address. Nginx forces HTTPS and directs the request to the Pi.

Is there any risk in this setup or are there more steps I can take to secure it?

you are viewing a single comment's thread
view the rest of the comments
[–] Shdwdrgn@mander.xyz 6 points 1 year ago (1 children)

If it is sitting on the internet, it can be discovered. What are you running for a firewall and intrusion protection?

[–] jws_shadotak@sh.itjust.works 1 points 1 year ago (1 children)

Uh... I'm not. Just a regular router and stuff.

[–] Shdwdrgn@mander.xyz 1 points 1 year ago

I assumed as much by your question, that's why I mentioned it... 😄 Do some research, at least set up some basic rules to only allow the connections that you want accessing your public stuff. My first web server got hacked so badly in the first week of having it only that it couldn't even be logged in to, so I had to start over from scratch.

As a quick primer... a firewall basically denies everything, then you poke holes in it to allow specific things. A typical example from when I started was sharing folders between Windows machines -- turns out anybody with an internet connection could ALSO see those and make changes to my files! Add a firewall and don't allow the sharing ports, and now nobody can see them. The "block-all" feature also protects you in case you make mistakes in your setup such as running an SQL server and not controlling who has access to it.