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.

  • non_burglar@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    17 hours ago

    This is a waste of time and your router’s CPU. You already have a whitelist and know your safe TCP sources, just drop all wan traffic and only allow new input from whitelist. Your chain input rule is just creating a pretty list of bots you’re dropping anyway.

    • redlemace@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      16 hours ago

      Well, here is the CPU load:

      And there is no increase on delay’s or jitter compared to what i’m already facing on the WAN itself.

      It keep’s 6000+ hosts with possible harmful intend away from the ports I need/want open to the world. Actually, the router -while still being bored- offloads the services behind it. I really can’t see a reason not to keep doing it. But, sure, it’s a personal choice.

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        14 hours ago

        Delays? Jitter? What are you talking about?

        Didn’t you say you have whitelist of allowed ips? Why don’t you just drop any other inbound traffic?

        • redlemace@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 hours ago

          whitelist of allowed ips

          Not exactly.

          If source is whitelisted, Accept (avoid being locked out myself)

          So all IP’s are allowed to begin with, but some (“my” IP’s like at home, my office etc) are on a whitelist ahead of everything else. They can’t become blacklisted to avoid myself becoming locked out. Then it’s the drop all on the blacklisted, followed by portscan detection. Only after that the ‘normal’ rules (allow https, smtp etc) begin.