this post was submitted on 30 Nov 2026
204 points (98.1% liked)

Selfhosted

64159 readers
1042 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] irotsoma@piefed.blahaj.zone -3 points 1 day ago (1 children)

So you're saying there was 0 inbound traffic the whole time and only outbound? I mean, unless you're saying you think someone got in via wardriving or something that got into your LAN directly, or someone on your LAN opened some malware, they had to have started the process over the internet. First wave is discovery of vulnerabilities and if you don't have protection, then yeah they might have found something and exploited it. But simple monitoring and manually reacting still likely wouldn't have stopped this. It's very common to attack all valid IPs. That's why LLM data centers need so much processing power to be constantly scanning for any opening and the requesting all available data for training the LLMs or whatever.

Anyway, it always starts with inbound unless you're compromised from internal users activities.

[–] JohnnyCanuck@lemmy.ca 2 points 20 hours ago (1 children)

They're talking about this specific post, and OP specifically said his server was contacting outside malware sites.

[–] irotsoma@piefed.blahaj.zone 1 points 14 hours ago

Yeah, but what triggered that. Likely an inbound connection that installed the malware. Again, unless they installed something locally or their poorly secured WiFi or other non internet service allowed access. Or they could be just seeding torrents which tend to access lots of less left sites. Blocking the inbound before connecting to the internet stops a lot of malware from getting installed in the first place. Of you're monitoring is showing unexpected traffic, it's too late.