4
submitted 1 week ago by flork@lemy.lol to c/selfhosted@lemmy.world

Here is my setup:

I have multiple DuckDNS domains (and subdomains) pointing to my home IP. My home router has port 80 and port 443 forwarded to Nginx Proxy Manager on my home server. Nginx Proxy Manager points to the appropriate docker container and each one is encrypted with Let's Encrypt.

Am I missing anything here or is this how I'm supposed to be doing it? Every app that has a DuckDNS url has a password in some shape or form.

top 11 comments
sorted by: hot top controversial new old
[-] redlemace@lemmy.world 1 points 1 week ago

My usual additions:

  1. Have the router to block portscanners
  2. fail2ban on internet facing services.
[-] non_burglar@lemmy.world 1 points 1 week ago* (last edited 1 week ago)
  1. Have the router to block portscanners

What do you mean by this? Closing unused ports?

[-] flork@lemy.lol 0 points 1 week ago

Thanks I'll look into these. Quick question: how does fail2ban use port 80 if that's already used by nginx?

[-] redlemace@lemmy.world 2 points 1 week ago

It does not. It does not uses ports at all. Fail2ban monitors your logfiles and activates the firewall to block IP's that matched your rules.

t.ex. You can block an IP that tried to access https:///admin. You can block an IP that used wrong credentials x times to login on an ssh port. Or block one that tried to relay via your mailserver. The duration is configurable and alternative duration can be configured for recidivists.

And yes, you can whitelist IP's to avoid locking yourself out. The possibilities are endless.

[-] Alvaro@lemmy.blahaj.zone 1 points 1 week ago

Always risky to be exposed to the internet. unless you can't, you should look into using tailscale/netbird to keep everything within a VPN.

[-] Decronym@lemmy.decronym.xyz 0 points 1 week ago* (last edited 1 week ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
TCP Transmission Control Protocol, most often over IP
VPN Virtual Private Network
nginx Popular HTTP server

4 acronyms in this thread; the most compressed thread commented on today has 12 acronyms.

[Thread #71 for this comm, first seen 7th Feb 2026, 20:10] [FAQ] [Full list] [Contact] [Source code]

[-] tofu@lemmy.nocturnal.garden 0 points 1 week ago

Networking looks fine, but check fail2ban as the other commenter mentioned, it goes to the npm.

Make sure to keep all internet facing applications up to date and use strong passwords.

[-] flork@lemy.lol 0 points 1 week ago

Thanks I'm going to look into fail2ban. I mostly wanted to make sure I wasn't being a total idiot here.

[-] redlemace@lemmy.world 0 points 1 week ago

I wasn’t being a total idiot

that goes unanswered ;) it's not unlikely selfhosters have at least one loose screw.

[-] irmadlad@lemmy.world 1 points 1 week ago

selfhosters have at least one loose screw.

I have a box of them, right next to my box of strings too short to use.

[-] frongt@lemmy.zip 0 points 1 week ago

Safety is relative. How are you handling every hacker in the world knocking on your door?

Personally I only expose a VPN and use that, instead of exposing a bunch of services.

this post was submitted on 07 Feb 2026
4 points (83.3% liked)

Selfhosted

56726 readers
160 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS