I’ve run a bunch of self-hosted services for quite some time now. Mostly, the usual media and file storage suspects.

Last week, I switched my network over to Firewalla boxes for routing, network monitoring, and mesh wifi. I went with them instead of a self-hosted solution because of the push alerts you get on mobile, plus setting up vLAN and vqLANs to separate family, IOT, work, and guest networks.

Slowly started moving over different devices. Within 5 minutes of putting the server on the network segment, started getting warning alerts that the server was contacting potential malware sites. In Japan, Africa, then Pakistan! The mobile app let me block this outbound traffic, but it kept changing. Russia, South America, Canada, etc. Definitely a botnet, and the volume of outbound data kept going up.

After a few minutes of this, I just went over and pulled the power plug. This server is mainly running media hosting stack via Docker on top of Ubuntu. Pretty stock, with no manually installed plugins or anything. I’m likely going to nuke the whole thing and manually install only the bits that I need.

Anyway, as a PSA, recommend everyone set up an active network monitoring system, ideally separate from the host itself. I thought I was pretty careful with my ports, regular virus scans, and firewall rules. Have learned my lesson.

No affiliation with any vendor. Just passing it forward.

  • MuttMutt@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    The first upgrade on the self hosting journey IMHO is switching from a craptastic hardware router to a firewall. I’ve used OpnSense for a long time and switching was one of the best decisions I made.

    • filcuk@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      I’ve moved to opnsense from pfsense and it’s been great! Pfsense would sometimes just fail to boot and I’d have to jack in with serial and restore image. anecdotal, but i don’t need that kind of trouble with a firewall of all things.

    • hexagonwin@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      is it easy to do such in/outbound analytics in opnsense? i’ve never used opnsense. it would be nice if it works from a pretty webui since i’m not a network guru.

      • MuttMutt@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        It’s fully GUI controlled. I am visually oriented myself and have zero issues with most of the setup. vLAN’s are where things get tricky because if things are wrong it will either break internet or allow things you don’t want. Thankfully if you backup your configuration and keep spare copies handy you can simply restore so it’s mostly a one and done unless you need a change.

    • trilobite@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      I second this although i’m using pfsense with the ambition to one day move to oprnsense

        • youmaynotknow@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          23 hours ago

          Yeah, I’m running a very similar setup, just with an i5-12600H. Same, 16GB of RAM, Crowd-Sec and Suricata.

          The daily attempts on getting into my network are ridiculously high, you would think I’m some sort of political target or something.

          It is bad out there, I’m sorry for the people that have consumer networking like Eero and garbage like that, and even worse, how many people just rely on their ISP provided devices.

          • MuttMutt@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            18 hours ago

            Don’t get me started on ISP combo devices. Can’t understand how people will trust a company that stands in line for gov handouts with control of both sides of a connection…