18
Advice for home hosting (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by wiggles@programming.dev to c/selfhosted@lemmy.world

Hello, I’m getting into self hosting and looking to setup a small home lab to play around with different technologies. I’m considering setting up a DMZ to keep my lab hardware separate from the rest of the network and other users. What is some of the minimal hardware required to do this on a small budget? Also what are some of the necessary security measures I should understand. One of my first projects would be to setup a small Linux box that I can ssh into remotely. Thanks.

EDIT After much reading today and great guidance from this community this is basically what i ended up doing.... Got a dell optiplex on ebay for about 55 bucks and a dual intel network card on amazon with a managed switch. If i can bridge my current router as an access point, i should be on my way! This community rocks! Lemmy is awesome!

you are viewing a single comment's thread
view the rest of the comments
[-] SinJab0n@mujico.org 3 points 1 year ago* (last edited 1 year ago)

It depends on what u wanna run, I use an old AMD A8-7600B, wich by today standards is less than a laptop cpu. But I run OpenMediaVault wich is just a NAS, so usually my cpu usage with 2 users at the same time is around %40-%60. I recommend u to use passmark as a reference, just tipe the cpu u have in mind + passmark and make thr comparison with mine so u can have an idea.

Manually set up the local IP of ur machine in the router/modem, then in the computer (so everything is failsafe), then configure the firewall (I recommended ufw) and only allow the ports that u need in the necessary protocol, nothing more. Also, to be script kiddos safe I recommend to change the ports of everything that u can, in this case SSH, I don't remember the usual port, but change it to something like 666, 999, 6666, u get the idea, if we aren't the same as every other server in existence we r gonna be safe most of the time, disable password login and use an rsa key.

[-] SinJab0n@mujico.org 1 points 1 year ago

And usually it isn't necessary once u set up the machine as DMZ, but sometimes it doesn't accepts the request so make sure u can access using ur celular data. Otherwise u'll need to do some port forwarding, just do it plainly 443 to 443 and the like.

this post was submitted on 14 Jul 2023
18 points (90.9% liked)

Selfhosted

40347 readers
217 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