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
Shiimiish @lem.ainyataovi.net
Posts 5
Comments 7

[Question] 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/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-20-04) and they seem decent enough - but I think I'll need to get into more depth than that :)

15
Are there really no stupid questions?
  • 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.

  • Anyone here made their own Lora and can share some experiences?
  • wow, thank you for the detailed answer! I think you have saved me a couple of wasted hours right there :) I think I'll start with a Lora on Bucket Helmets (which seems to be the most straight forward of the things I have in mind) and see how that goes. Your detailed comment on tagging was especially helpful, before that I thought I would just tag "bucket helmet", but not it seems that I'll need to be a lot more thorought than that.

  • How do you compose images without "strangling" the image generation

    Hi there,

    I'm a complete amateur in design and painting, but I got kinda hooked on Stable Diffusion, because it (theoretically) lets me create images out of my fantasy without needing the digital painting skills.

    I poured a couple of weekend free time into learning how to use SD and by now I'm somewhat familiar with how to make useful prompts, how to use Control Net, Inpainting and Upscaling.

    But now I'm a bit at a loss on how to further perfect my workflow, because as of right now I can get really good images that kinda resemble the scene I was going for (letting the model / loras do the heavy lifting) or I'm getting an image that is composed exactly as I want (utilizing control net heavily) but is very poorly executed in the details with all sorts of distorted faces, ugly hands and so on.

    Basically, if I give a more vague prompt the image comes out great but the more specific I want to be, the more the image generation feels "strangled" by prompt and control net and it doesn't seem to result in usable images ...

    How do you approach this? Trying to generate 100's or more images in the hope that one of them will get your envisioned scene correctly? Or do you make heavy use of Photoshop/Gimp for postprocessing (<- I want to avoid this) or do you painstakingly inpaint all the small details until it fits?

    Edit: Just to add a thought here: I just started to realise how limited most of the models are in what they "recognise". All our everyday items are covered pretty well, e.g. prompting "smartphone" or "coffeemachine" will produce very good results, but things like "screwdriver" are getting dicey already and with special terms like "halberd" it is completely hopeless. Seems I will need to go through with making my own lora as discussed in the other thread ....

    8

    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.

    11
    What are the most significant balance changes in D2R
  • 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)

  • What's your workflow to generate images that come out close to what you've imagined?

    I have been toying around with Stable Diffusion for some time now and have been able to get out great images.

    However, as I dive deeper I want to really get images that match as closely to what I imagine and I'm kinda struggling to get there.

    For now, I work with Control Net and Inpainting, which help a lot, but I have yet to produce images I'm really satisfied with.

    How's your workflow when composing specific images? Do you complement it with Photoshop (or similar)?

    2
    What are the most significant balance changes in D2R
  • 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.

  • [Q] 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 :)

    7