Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SH
Posts
3
Comments
4
Joined
2 yr. ago
Selfhosted @lemmy.world
Shiimiish @lem.ainyataovi.net

about the security basics

Hi there, I've been reading up on selfhosting for a couple of weeks now and I got my feet wet with a couple of things.

However, before really getting serious with it, I feel I need to get down the basics and make sure that my server will not end up a security hazard. My final goal would be to self-host my socials (Mastodon, Lemmy, Matrix) - just for myself.

What basic security do I need to have in place, considering these services? I'll be running this on a VPS and so far I consider the following: disable password login (login with ssh key only) then set up nginx, fail2ban, and a basic firewall. I'd try to close all ports that are not required for the services I run. I'll also change ssh port from 22 to something else and close port 22 as well.

Would this be a sufficient basis, or am I missing something crucial?

Bonus question: do you know of good tutorials to learn the above stuff? I've been following the guides on DigitalOcean (e.g. https://www.digitalocean.com/community/tutorial

  • I don't think the distinction between "stupid / non-stupid" is the important one to make. The important distinction, imo, is between "honest" and "dishonest".

    If someone wants to honestly learn the answer to something, how could this be a stupid question? Even if all other people in the world do, in fact, know the answer, it still wouldn't qualify as a stupid question if asked in good faith.

    However, there are so many questions asked in bad faith and not coming from a desire to learn something. These are the real stupid questions.

    So, to answer your question: if you're feeling stupid for asking something, just think about your intentions: do you ask because you honestly want to know the answer? Go ahead, and know that in this case there are no stupid questions - only stupid answers.

  • Stable Diffusion @lemmy.dbzer0.com
    Shiimiish @lem.ainyataovi.net

    Anyone here made their own Lora and can share some experiences?

    Hi there, I'm trying to get (more or less) historically accurate images from the early and high middle ages, but none of the models seems to have a grasp of what "maille armor" or "bucket helmets" are and I either get complete garbage or fantasy armor that mostly resembles the early modern period (the stereotypical shining knight armor).

    I assume a Lora, trained on images of the armor and weapons I'd like to include, could fix this problem. I found some neat tutorials for making Lora's and think I'll give it a shot.

    Do any of you have experience in making these kinds of style Lora's? What should I take care of? I will be manually downloading images that fit my aestethic and manually tag them - how many images should I use? Any input here is highly appreciated.

  • If you stopped after patch 1.10 (with the runewords like Enigma or Infinity) all tried and true builds from then will still work well: Hammerdin, BlizzSorc, Javazon, Summon Necro, Trapsin, WindDruid, Frenzy Barb .... all still work well. The only "old" build that got hampered a bit is WW - Barb, because of the changes to attack speed. D2R mostly opens new possibilities and didn't nerf anything (aside from arguably WW - Barb)

  • Biggest change, imo, is the addition of Terror Zones. How this works is that a number of zones in each act can become terrorized (one at a time, lasts for 1 hour, changes to a different zone after that). When a zone becomes terrorized, the monsters there will adjust to your lvl+2 (champions and bosses adjust +4 / +5), with all consequences of that, e.g. they grant the respective xp and their treasure class also changes accordingly (which means they can drop better loot). Terror Zones open up after killing Baal in that difficulty, so you'd need to beat the game before you can start farming terror zones. However, these zones (in hell difficulty) are really one of the prime farming spots now and also help to level once you're in the 90's as you're not bound to xp penalties due to outlevelling monsters.

    Second biggest change is the introduction of Sunder Charms (only obtainable in hell terror zones) which allow to break immunities (each immunity has their own charm). This makes it really viable to go for single element builds now.

    BEside that there are a bunch of new runewords and fixes to skills (ias calculation has been changed on some skilles and next hit delay has been fixed among other things), which opened up quite a few new builds.

  • Selfhosted @lemmy.world
    Shiimiish @lem.ainyataovi.net

    Router DNS question

    Hi, I'm trying to figure out how to set up a service like pi-hole and one of the prerequisits seems to be to have admin access to the router to make the correct DNS entries.

    Unfortunately, the router provided by my ISP doesn't grant me access to these settings - is there a way around that, and what would it involve? I do have a hybdrid router (DSL + LTE connection), that's (according to my ISP) the reason DNS settings are locked.

    Any ideas are welcome :)