• mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    1
    ·
    6 hours ago

    I deadass got a cloudflare error after reopening this post:

  • DaPorkchop_@lemmy.ml
    link
    fedilink
    arrow-up
    60
    arrow-down
    4
    ·
    8 hours ago

    if you can provide me a better way to keep my homelab from getting DDoSed every five minutes then by all means, please share it

      • DaPorkchop_@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        4 minutes ago

        It’s the reason I set up cloudflare in the first place, so yeah. I was getting SYN flood-ed to the point that my router would just crash almost immediately, and after rebooting it the attack would resume after a minute or two.

    • wildbus8979@sh.itjust.works
      link
      fedilink
      arrow-up
      29
      arrow-down
      4
      ·
      edit-2
      8 hours ago

      Just put it behind a wireguard server and don’t expose any ports?

      If you absolutely must expose some stuff, get a cheap 3$/mo vps that connects via wireguard to your home and setup a reverse proxy? They almost all come with DDoS protection.

        • wildbus8979@sh.itjust.works
          link
          fedilink
          arrow-up
          9
          arrow-down
          8
          ·
          edit-2
          7 hours ago

          Don’t expose the website. That’s the point. Only connect remotely via wireguard.

          If you must expose the website, I also provided options in my original post.

            • kautau@lemmy.world
              link
              fedilink
              arrow-up
              6
              arrow-down
              1
              ·
              7 hours ago

              A cheap VPS hosting

              https://anubis.techaro.lol/docs/admin/installation/

              as a reverse proxy may work. The VPS will do the work of verifying requests and stopping bad requests from hitting the target resource. Though certainly if the DDoS is a matter of a massive botnet raiding your domain it may not work as well as something like cloudflare

            • wildbus8979@sh.itjust.works
              link
              fedilink
              arrow-up
              5
              arrow-down
              3
              ·
              edit-2
              7 hours ago

              Yes, I’ve addressed this in my original message.

              Get yourself a 3$/month VPS, they almost all come with DDoS protection, and reverse proxy from there. Either restrict the ports on your home network to only that IP, or better yet tunnel all the traffic via Wireguard.

              Obviously if you’re hosting a large server this is another matter, but nevertheless almost all serious hosting services offer in house DDoS protection.

              But the comment I was originally replying to specifically refered to homelabs.

              • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                7 hours ago

                What would be a good resource to, like, relearn modern networking stuff cuz some of these solutions are totally new ideas to me? I was CISCO and A+ certified way back in 2003; but the only thing I ever really used from those classes and training since then was making cables and setting up smaller, simple networks for home or small businesses. I get the sense a fuckton has changed and this exchange made me want to brush up.

                • ProjectPatatoe@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  6 hours ago

                  I found just doing it the best for me. Start with proxmox hypervisor on some old pc. Start running a bunch of services. Some documentation mentions “heres how you set it up behind a reverse proxy”. “Hmm…whats that” is pretty much how i learned it.

                  Then compare with people in the homelab communities who are doing differently and find out why.