smiletolerantly

joined 11 months ago
[–] smiletolerantly@awful.systems 13 points 2 months ago* (last edited 2 months ago) (2 children)

It's a bit unconventional maybe, but I vote simple-nixos-mailserver - IF you are curious / willing to learn nix. It's essentially just sanely configured dovecot, postfix, rspamd.

My config for those three combined is about 15 lines, and I have never had an issue with them. Slap on another 5-10 lines for Roundcube as a webmail client.

Since it's Nix, everything is declarative, so should SOMETHING happen to the server, you can be up and running again super quickly, with the exact same setup.

[–] smiletolerantly@awful.systems 1 points 2 months ago

Oh shit, yes, hosting at-home and with a non-static IP sounds like hard mode, oof.

I am hosting at a server provider (guess I am dependent on them, but at least it's on their existence, not on a policy-of-the-day), with a static IP. Had no problems with MS/Google, only with T-online, who wanted me to host a website on the domain with clear contact information.

[–] smiletolerantly@awful.systems 2 points 2 months ago (2 children)

Fair TBH. It is such a critical service to keep working.

But it does feel pretty amazing to free yourself of the whims of a provider 😅 I assume that's why you have not gone back either? ^^

[–] smiletolerantly@awful.systems 2 points 2 months ago

I'm using Hetzner in Germany. Need to message them to say you want the relevant ports opened (spam protection measures), happens within an hour usually.

I quite like their service, but of course use full disk encryption etc

[–] smiletolerantly@awful.systems 3 points 2 months ago (7 children)

Selfhosting. (But I recognize that that is not an option for everyone.)

[–] smiletolerantly@awful.systems 14 points 2 months ago (1 children)

Fail2ban allows you set different actions for different infringements, as well as multiple ones. So in addition to being put in a "local" jail, the offending IP also gets added to the cloudflare rules (? Is that what its called?) via their API. It's a premade action called "cloudflare-token-multi"

[–] smiletolerantly@awful.systems 10 points 2 months ago (3 children)

We expose about a dozen services to the open web. Haven't bothered with something like Authentik yet, just strong passwords.

We use a solid OPNSense Firewall config with rather fine-grained permissions to allow/forbid traffic to the respective VMs, between the VMs, between VMs and the NAS, and so on.

We also have a wireguard tunnel to home for all the services that don't need to be available on the internet publicly. That one also allows access to the management interface of the firewall.

In OPNSense, you get quite good logging capabilities, should you suspect someone is trying to gain access, you'll be able to read it from there.

I am also considering setting up Prometheus and Grafana for all our services, which could point out some anomalies, though that would not be the main usecase.

Lastly, I also have a server at a hoster for some stuff that is not practical to host at home. The hoster provided a very rudimentary firewall, so I'm using that to only open necessary ports, and then Fail2Ban to insta-ban IPs for a week on the first offense. Have also set it up so they get banned on Cloudflare's side, so before another malicious request ever reaches me.

Have not had any issues, ever.

[–] smiletolerantly@awful.systems 9 points 2 months ago (8 children)

I am using both and this somehow made it to my phone, wtaf

[–] smiletolerantly@awful.systems 4 points 2 months ago

When I first switched to nix, I made an error copy-pasting my hashed password into a secrets file.

Reninstalled the system 5 times, each time immediately locking myself out, almost

Managing ~35 machines without issues now though.

[–] smiletolerantly@awful.systems 4 points 2 months ago (1 children)
[–] smiletolerantly@awful.systems 2 points 2 months ago (2 children)

FWIW, Lidarr works the worst out of the arr stack for me too. I don't know if there's just not enough well indexed material in my sources or what, but yeah, not great.

If your entire experience with the arr stack has been Lidarr so far, give it another shot! Sonarr and Radarr work absolutely perfectly. It's just such a nice feeling to open Jellyfin (or I guess Plex) on the TV and go "oh nice new episode is out!"

[–] smiletolerantly@awful.systems 5 points 2 months ago

Might even be worth checking if https://github.com/NixOS/nixos-hardware has a straight-up fix for the issue.

view more: ‹ prev next ›