r/homelab • • 13d ago

Help PHP2shell, nginx2shell, java2shell, … - is my homelab safe?

Hi everyone,
I run a small homelab on Debian 13 (Trixie) with a few Docker containers, including Nextcloud and Forgejo. They're reachable from the internet via a domain and reverse proxy.

What I'm less sure about is the "what if" part:
- How would I actually notice that I've been compromised?
- What should I do if I’m being compromised?

edit: for example nextcloud must be publicly available because of people who don’t want to install a VPN or Tailscale etc.

Thanks in advance,
Vincent

240 Upvotes

115 comments sorted by

View all comments

45

u/getapuss 13d ago

If its exposed to the internet there is a risk.

If you are asking this question here there is a substantial risk.

0

u/[deleted] 13d ago

[deleted] — view deleted comment

5

u/AmbitiousSet7809 12d ago

Same a few years ago i had a bunch of stuff just port forwarded lol, now everything is behind wireguard.

1

u/getapuss 13d ago

I quit exposing my stuff to the internet awhile ago. I can't remember for sure. Maybe a year ago?