this post was submitted on 08 Jul 2023
134 points (100.0% liked)

Selfhosted

40355 readers
359 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.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I put up a vps with nginx and the logs show dodgy requests within minutes, how do you guys deal with these?

Edit: Thanks for the tips everyone!

you are viewing a single comment's thread
view the rest of the comments
[–] orangeboats@lemmy.world 12 points 1 year ago* (last edited 1 year ago) (2 children)

I only expose services on IPv6, for now that seems to work pretty well - very few scanners (I encounter only 1 or 2 per week, and they seem to connect to port 80/443 only).

[–] beppi@sh.itjust.works 4 points 1 year ago (2 children)

Must be nice living in a post 1995 country... theres only 1 or 2 ISPs in Australia that support ipv6...

[–] orangeboats@lemmy.world 3 points 1 year ago (1 children)

Lol, I have heard some ISP horror stories from the Down Under.

I am fortunate enough that my country's government has been forcing ISPs to implement IPv6 in their backbone infrastructure, so nowadays all I have to really do is to flick a switch on the router (unfortunately many routers still turn off IPv6 by default) to get an IPv6 connection.

[–] beppi@sh.itjust.works 2 points 1 year ago (1 children)

Yeah the internet services here are really stuck in the past. Hard to tell if theyre taking advantage of the scarcity of ipv4 addresses to make more money somehow, or of theyre just too fuckn lazy

[–] gardner@lemmy.nz 3 points 1 year ago (1 children)

I’m guessing they’re on CG-NAT and someone upstairs thinks staying ipv4 reduces customer support costs.

[–] orangeboats@lemmy.world 1 points 1 year ago

Being put on CGNAT without IPv6 is terrifying.

[–] fakkrs@aussie.zone 1 points 1 year ago

Aussie supports full IPv6 and provide a /48

[–] Pixel@lemmy.sdf.org 2 points 1 year ago (1 children)

Isn't that akin to security through obscurity... you might want one more layer of defense

[–] orangeboats@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

I still have firewall (that blocks almost all incoming connections) and sshguard setup. I also check the firewall logs daily, blocking IPs that I find to be suspicious.

I could probably do better, but with so few scanners connecting to my home server, I have managed to sleep way better than back when I setup a server on IPv4!

Also, even if my home server gets attacked, at least I know that my other devices aren't sharing the same IP with them... NAT-less is a godsend.