this post was submitted on 15 Jun 2023
28 points (100.0% liked)

Technology

37747 readers
329 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I'm almost ready with my lemmy instance server. Now what are some steps that are definitly worth doing after setup?

you are viewing a single comment's thread
view the rest of the comments
[–] Wander@yiffit.net 16 points 1 year ago* (last edited 1 year ago) (17 children)

Definitely install fail2ban and use certificates for ssh authentication. Also, use cloudflare and consider using an email delivery service like jetmail instead of sending mail directly from the instance.

You could then block any incoming traffic that doesn't come for port the ssh port or from cloud flare for port 443.

[–] lemmy@melly.0x-ia.moe 3 points 1 year ago (4 children)

Also, use cloudflare and ...

I was using CF initially for proxying, but noticed some weirdness with federation. I would only get updates from Beehaw, but lemmy.world and other servers' updates wouldn't come through. As soon as I dropped the proxy and restarted the server, my instance got flooded by updates. I'm really not sure where to start debugging, so I've kept it off for now

[–] chris@l.roofo.cc 1 points 1 year ago (3 children)

CF has some firewall feature active by default. You have to turn them off.

[–] lemmy@melly.0x-ia.moe 1 points 1 year ago (1 children)

Checked it out. I ended up having a WAF rule blocking non-US traffic.... Given Beehaw is US based, the fact that I was mostly getting posts from this instance makes a lot of sense now. Thanks again

[–] chris@l.roofo.cc 2 points 1 year ago

Glad I could help

load more comments (1 replies)
load more comments (1 replies)
load more comments (13 replies)