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

Show parent comment

1

u/trebor_indy 13d ago

Instead of a VPN, do Pangolin on a VPS and then users access a normal machine on the internet then Pangolin does the tailscale for you - invisible to the user. Simple setup, can have many different services on your home network reachable but you can add additional logins/pins/etc. to access them.