homelab.

6 readers
1 users here now

Welcome to your friendly /r/homelab, where techies and sysadmin from everywhere are welcome to share their labs, projects, builds, etc.

founded 2 years ago
MODERATORS
76
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/brainmuad on 2024-01-23 13:29:15+00:00.


I have my Normal Home/Work computer with 10Tb of drives

i recently bought 4X4TB Hdd's. and i also have other hard drives lying arround.

Now i wanna install 3X 4TB into my machine and make everything else for backup.

How can i do this?

Should i create a Nas server? or manually backup to those drives once a month?

I'm thinking about putting all the other drives in my second computer and share them with my main computer via network and schedule a task to copy files to those drives once a month? i have to turn the computer manually once a month to do the backup and shut it off

Or Should i create a nas with truenas and raid 6 and scheduale a backup to that nas(im afraid this may be slow)

How should i set this up please?

77
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Ejo2001 on 2024-01-23 13:22:13+00:00.


Hello!

I'm want to get Linux up and running as my full time OS within a couple of months, and I am planning out an upgrade path for my computer. My computer specs are:

CPU: AMD Ryzen 7 3800X

GPU: Nvidia RTX 2070 Super

RAM: 32GB DDR4 3600Mhz

Storage: 8TB (1Tb M.2 + 2Tb M.2 + 1Tb SATA SSD + 4Tb SATA SSD)

Motherboard: Asus ROG STRIX X570-E

The computer has served me well, and I would like to use it for a while in the near future. I want to keep as much parts as possible, but upgrade things that will affect my usage. I have already picked up another 32GB RAM kit so that I'll have a total of 64GB, and I also picked up an AIO. I'm planning on picking up another GPU soon to run in a VM (Thinking of the Nvidia Tesla P4, or some other consumer card)

Now, here is my question: Should I pick up the AMD Ryzen 9 5950X?

I'm not an artist, nor a video editor (I edit video sometimes, but that's very rare), so I understand that the R9 5950X is a bit much for a lot of the workload I am planning, however, I am a programmer, and I would love to be able to run multiple programs and multiple operating systems in the machine at the same time. I am gonna play as much of my games as possible on Linux, but I also plan to have a Virtual Machine running Windows alongside so that I can run Windows-specific applications in there. I am likely going to experiment a bit with AI, run docker containers, other virtual machines for testing, and much more

So would the R9 5950X be worth it? I was thinking the extra cores might be usefull for the gaming VM etc

78
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Lazar07 on 2024-01-23 10:59:40+00:00.


Hey guys, I am kinda stuck on this issue for days but couldn't get anything working. I hope you can find something I am missing.

I have two servers (A/B). Both have a nginx (proxy managers) running. I am using these to proxy incoming requests to services on the corresponding server.

All requests are sent to server A. So if I want to reach a service on B the request should be redirected from nginx A to nginx B.

Example: I have an app on server B on port 2000.

  1. Request for
  2. Hits nginx A (responsible for https)
  3. Proxies request to :80
  4. Proxies request to localhost:2000

NginxA has valid Certs and is responsible for https. NginxB has no Certs at all.

I am getting the http error 301. As far as i know 301 is also best practice for upgrading from http to https. I am not receiving any log-messages on nginx-B.

Am I missing something? I feel like I know the problem but can't wrap my head around it.

Edit 1:

curl -v on my Windows machine (powershell) says following:

Too many automatic redirects were attempted.

Edit 2:

nginx A conf:
server {
  set $forward_scheme http;
  set $server         "ip-of-nginx-2";
  set $port           80;

  listen 80;
listen [::]:80;

listen 443 ssl http2;
listen [::]:443 ssl http2;

  server_name app.example.com;

  # Let's Encrypt SSL
  include conf.d/include/letsencrypt-acme-challenge.conf;
  include conf.d/include/ssl-ciphers.conf;
  ssl_certificate /etc/letsencrypt/live/npm-3/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/npm-3/privkey.pem;

# Asset Caching
  include conf.d/include/assets.conf;

  # Block Exploits
  include conf.d/include/block-exploits.conf;

  # HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
  add_header Strict-Transport-Security "max-age=63072000; preload" always;

    # Force SSL
    include conf.d/include/force-ssl.conf;

  access_log /data/logs/proxy-host-14_access.log proxy;
  error_log /data/logs/proxy-host-14_error.log warn;

  location / {

  # HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
  add_header Strict-Transport-Security "max-age=63072000; preload" always;

    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

nginx B conf:

server {
  set $forward_scheme http;
  set $server         service-ip;
  set $port           service-port;

  listen 80;
listen [::]:80;

  server_name app.example.com;

# Asset Caching
  include conf.d/include/assets.conf;

  # Block Exploits
  include conf.d/include/block-exploits.conf;

  access_log /data/logs/proxy-host-8_access.log proxy;
  error_log /data/logs/proxy-host-8_error.log warn;

  location / {
    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

79
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/BrimarX on 2024-01-23 07:13:50+00:00.


Many homelabers want some of their homelab 'stuff' accessible from the Internet. There are many ways of doing that, but one is amost always described as insecure: NAT.

NAT alone is indeed a risky business as your applications are open to the internet and could be attacked directly.

However, using an SNI backhole properly our applications can be hidden from the Internet and accessible only to us, keeping them out of harm's way.

Here I am sharing my setup for review and criticism. This is a homelab variation of a very common enterprise setup.

It works like that:

  1. All HTTP/HTTPS traffic is port-fowarded to a reverse-proxy
  2. That reverse proxy has 2 virtual hosts:
  3. One virtual host setup for your true homelab public servername (say homelab.example.com ) and reverse-proxing an internal origin server.
  4. One virtual host setup as a default (say random.duckdns.org) and basically rejecting incoming traffic reaching that FQDN or any other a potential scanner might use.

This setup requires:

  • A reverse-proxy supporting SNI in conjunction with default virtual hosts (ex: nginx)

  • 1 homelab FQDN under your control.

  • 1 'random' public FQDN under your control and used by default. It should be on a different domain than the homelab one and ideally have a random hostname (both to avoid leaking information an attacker might use to guess the homelab FQDN)

  • Valid TLS certificates for both (typically achieved with let's encrypt)

With this setup legit traffic (with the homelab FQDN) is served as normal:

While any other traffic (without the homelab FQDN) is rejected with very minimal interaction:

So, what does that achieve?

The big reason why NAT is usually a bad idea is because it directly exposes internal origins to the Internet accessing (without knowing the FQDN or anything else) and those origins are usually soft targets.

Alternative setups (such as HTTP tunneling with ngrok or equivalents) do prevent that as there is no HTTP/HTTP server listening on our homelab public IP. Connection from Internet is only possible using our homelab FQDN.

The setup proposed here achieves the same: origins are exposed ONLY when accessed through our homelab FQDN.

It does require the reverse proxy to be properly configured and hardened though. A task delegated to the HTTP tunneling service with ngrok and such. But that is not very complicated to do right and test since the attack surface is very small, the setup very simple and it only relies on mainstream mature technology (ex: nginx + lets encrypt).

Why doing that?

Because we can... ;) And because it removes an external dependency and possibly subscription.

What do you think?

80
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/data-bot-4000 on 2024-01-23 12:45:12+00:00.


Im running a proxmox server on a hp z840 with the following specs

  • xeon e5-2637 v4 x2
  • 128gb ecc ddr4 2100 mhz
  • onboard dual 10gbe

I currently have two VM's

  • Truenas
    • one pcie nvme storage pool of mirror 2x1tb on a x16 bifurcation slot (4x4x4x4x with 2 filled)
    • one SAS hdd pool 2x2 mirror 18tb
    • I flashed the internal hba to IT mode and shared the entire hba to a vm with truenas. It's a SAS2 controller.
    • 47gb ram, and truenas shows around 28gb free
    • all of the applications data are on the PCIe nvme pool and shared through NFS, the larger files and backups are stored on the hdd pool.
  • Ubuntu server VM
    • Runs multiple docker compose stacks, including a reverse proxy (linuxserver/swag) to access several services remotely
      • typically simple applications, immich, nginx , nextcloud , ...
    • 47gb ram
    • I use NFS mounts on the VM where I store all of the application data. Truenas performs snapshotting / backup tasks. I mount using fstab and "source destination nfs auto 0 0" style.

I ran iperf3 from truenas to the vm and its shows around 18-20Gbits/s in both directions. The CPU util is usually not more than 10-20%.

The services that I run are very....delayed. It seems like the application needs a few seconds to be loaded, and is not very snappy overall. I used to have a single ubuntu server (different hardware) where the data was on the ssd and this performed significantly faster.

Can anyone share insights in how to improve this setup?

81
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/ghimireddit on 2024-01-23 10:49:43+00:00.


Hiya fellow HomeLab’ers

I have a spare MAG B460M MORTAR WIFI motherboard laying around. (My mate purchased it and realized it doesn’t support his cpu ended up buying a new one).

I was wondering if its worth investing money on this get a chasis, dimm and cpu (off fb marketplace), and build myself a NAS or am I better off just buying a new NAS altogether and save myself trouble of collecting part?

82
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/blinkerbill999 on 2024-01-23 00:14:23+00:00.


Hi all,

I'm looking to build my first homelab. I want to have a main "compute" node running proxmox, decently specced, but with no storage. I then want to use a fast storage solution for all of the VMs storage. So my compute node will be a miniITX with only a boot drive. A ChatGPT consult told me this sort of setup is called "diskless" or "stateless".

As far as I've researched, I'll need some sort of fast storage with 10Gbe (or thunderbolt?) like the asustor FLASHSTOR 12 Pro.

Questions:

  • Is this a dumb idea for a beginner?

  • Any recommendations for a entry level setup with maybe 2x M.2 NVMEs to start with (one for each VM)

83
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Own_Friendship8523 on 2024-01-23 08:39:36+00:00.


I want to make a home server. And here I came across used HGST HUH721010ALE604 Ultrastar He10 10TB hdd. What can you say about them? how reliable are they and is it worth taking for a home server? according to the smart test, they worked +-5 years. I plan to take 4 pieces and combine them into a raid.

84
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Weak_Education_1778 on 2024-01-23 08:35:39+00:00.


I cannot port forward on my home router, so my current plan is to get a free google cloud vm, install NPM inside it, and use that with tailscale to manage my proxy hosts. Is this how Im supposed to be doing it or is it a security issue? I dont see how else NPM would be useful, since I would need nginx on the public facing VM in order to reverse proxy to certain services in my homelab. Is the npm:81 login page secure? How should I do this safely?

85
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/WaveExtension4666 on 2024-01-23 08:08:52+00:00.


Hi, does anyone know anything about the Avaya 4524GT-PWR switch? I found it for about $50 and i am considering purchasing it. I want it to have POE and be quiet. Does anyone know about its power consumption and noise level?

Thank you.

86
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/chaosmetroid on 2024-01-23 07:50:27+00:00.


I got an option to go for a fully build server.

But its either a Xeon D-2143IT or a Xeon E-2286G.

Which would would have the best power efficiency plus a decent performance?

87
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Syber1998 on 2024-01-23 07:49:58+00:00.


Hey! I've recently been upgrading my super shabby coding skills for work (I trade full time) and made some bots that need to be run 24x7. I've been running them on my laptop (it's crying for help) but instead I want something that is purely for running them separately.

If I had to list down things that would help narrow it down:

  1. I don't own any apple device and have only worked on windows so far (still open to mac mini in case you guys feel that's the best option)

  2. I will be fetching data from multiple APIs constantly

  3. There are also plenty of https GET requests to servers happening

  4. They also read/write frequently enough to export data

  5. 2 of the bots are fully automated (buys and sells) and while I'm obviously not fighting for 100ms gains like HFT firms, they do require decently fast execution (Currently using multiprocessing and threading for a lot of tasks)

  6. Built with python but I'm getting into rust and js as well

  7. I travel every month between hotels so it should be portable enough for hand baggage(would love for the size to be around the mac mini)

  8. I expect to add more intensive bots as I transfer my manual stuff to being more automated

  9. I can't host them for various reasons including being uncomfortable putting years of work on a third-party platform

  10. Budget - Not set but I was thinking around $1k since this is my first time doing this and I can always upgrade if I need something better. Open to cheaper alternatives but I would rather it be a bit overkill than under

  11. I value reliability highly so if it's a known reliable product then that's great as well

Please let me know what options you recommend for me. I really have no expertise in all of this so please feel free to correct me wherever I'm thinking wrong.

TLDR: Need to setup a portable homelab that can run trading scripts coded in python 24x7

88
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Responsible-Daikon-5 on 2024-01-23 07:25:51+00:00.


Total newbie here.

I wanted to set up a NAS for PLEX, Backups of my data, and general storage solution.

This QNAP I got came with 2 x 1000gb M.2 Crucial drives. although after setup I see they are reserved for something (system?). Can anyone tell me what I am looking at here and why I need it this way??

89
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/travprev on 2024-01-23 05:06:44+00:00.


Hi all. I'm wanting to upgrade my home/small office server setup. I have an antique Synology DS1511+ that has served me well, but my needs have outgrown it and it really is quite an antique.

I will be buying new hardware, and I'm struggling to figure out if I should keep my Linux based server and docker apps separate from the storage (separate server altogether), or if I should combine everything into one server. I'm leaning towards combining into one beefy server, but that raises questions in my mind. Note that I'm a tinkerer, but not an expert in Linux, NAS, etc. I am, however, a quick study with all things tech once I put my mind to it.

I suspect I need a Hypervisor of some sort (XCP-ng / Proxmox) because I want the flexibility to run Linux distros and have a Windows VM as well. So, do I add in a NAS VM such as TrueNAS SCALE, or is that unnecessary complication of the system configuration?

If that is unnecessarily complicated, what do you recommend? Or, maybe I'm on the right track.

90
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Few-Cry5389 on 2024-01-23 04:48:31+00:00.


Supermicro server has some problem that is stopped in DXE--USB initilization phase.

So I asked solution to Supermicro support team.

And give me some solution that update BIOS FW.

But for BIOS FW update, I have to access boot menu.

However method of accessing boot menu is to press F11 keys after BIOS booting process(including DXE--USB initilization)

So could you give me some option to access boot menu plz...

This screenshot is my problem image.

My server spec is SYS-240P-TNRT; X12QCH+;


Using IPMI

Immediately update option is failed.

Update on next boot option is just pending task list after rebooting(hang on status code 68 also)

91
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Business_Contract_28 on 2024-01-23 04:21:23+00:00.


Anyone able to share this so I don't have to hit the streets and beg for HP Updates? It is astounding to me that HP thought it was a great idea to hold back updated firmware, especially from EOL servers. I'm just a guy installing ProxMox and a few other goodies on an old ass home server, not exactly in the market for an HPE Extended warranty... I'm sure you all know the drill.

There are a couple other posts in here that have tailed off, but I did get updated to about August 2022 which I appreciate... I just don't know what I don't know if a further update is useful but thought I would get it up to date best I could.

Any help appreciated, thanks in advance.

92
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/travprev on 2024-01-23 05:33:28+00:00.


Are there vGPU options where I could share across 2 or maybe 3 VMs that would be affordable for homelab use?

Home server:

VM 1 - Linux - Transcoding 4k on the fly.

VM 2 - Windows - Graphics Rendering Apps (Adobe, etc).

VM 3 - Who knows... maybe Linux based Graphics Rendering Apps

What's the entry point for this?

Can you virtualize integrated graphics chips - such as one of the newer generation Intel Arc or Intel Iris?

If not, could I install two "cheap" GPU cards and assign one to each VM?

93
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/vertexsys on 2024-01-23 05:14:45+00:00.

94
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Medium-Ad9461 on 2024-01-23 04:25:15+00:00.


Hello there, I an absolute beginner in terms of networking and homelabbing (not sure if that's a term lol). I want to improve and improve my networking knowledge and create a project at the same time. I think the best of way of learning things is by doing things. What would be a good beginner networking homelab build that I could do? Any info and input is more than appreciated.

95
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/sowhatidoit on 2024-01-23 03:33:06+00:00.


I added a LSI HBA pcie card to an Optiplex 5050 SFF so that I can pass through physical hard drives to my NAS OS virtualized on Proxmox. However, with a proprietory power supply on the dell, there are only 2 additional HD power connectors. I used a Y-splitter and now I have a total of 3.

Do I keep splitting or is there a better way to do this without upgrading the PSU?

96
1
R710 help? (zerobytes.monster)
submitted 1 year ago by [email protected] to c/[email protected]
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/Mental_Patient887 on 2024-01-23 03:18:20+00:00.


Hi guys, hopefully someone can lead me in the right direction, I've read this, read that, and I'm either not understanding or I'm asking the wrong questions... I have a r710, one of the things I want to do is to be able to use it as a gaming pc... .. i know... odd.. but its about my only choice at the moment. the issue Im having is... Can I, and if so, what external gpu can i use to play modern games? I dont think the games are heavy, something like the new call of duty. idk.. im not a gamer by no means, just found out my brother plays and asked if i could as well, we never had a good relationship so i hope this will help us. What my goal overall for the server is = install unRaid, which I beleive i need the H200 for, i think.. Then I would like to have a vm that I can use as a gaming pc, that uses the external gpu for the vm to play games.. then just a few other vms for bullshittin' purposes. But my question/ goal here is to figure out how to set it up first and formost to use as as gaming pc.. Any help? Or am i stuck with a dinosaur ..

97
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/redboxjm on 2024-01-23 02:56:27+00:00.

98
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/biggus_brain_games on 2024-01-23 02:29:43+00:00.


I have a super micro x10dri server motherboard that I slapped into a regular pc case and have been using it as a regular computer and testing some VMs.

The other day I downloaded a windows update and started to have problems with the system unable to boot to windows. I did automatic repair and it worked for a bit then down. I wiped the ssd and reloaded the OS. Worked for two days now not booting to windows. It just stalls on the icon and never loads.

Was thinking bad ssd but this is the most recent one I purchased. I also messed with some settings so that the computer should see my drives as ssds instead of hdd. Changed the boot option to uefi, then tried to boot a new media install and it won’t boot the flash drive. It shows the super micro logo with windows behind then keyboard shuts off.

Double checked the usb in another device and it’s now fat32 instead of ntfs file format. Trying to get an install going so I can update the bios as I just checked and says it’s version 2. Maybe a recent update finally bricked the machine as it can’t understand the OS instructions now?

Thoughts?

99
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/thomzjv1 on 2024-01-23 02:00:08+00:00.

100
 
 
This is an automated archive.

The original was posted on /r/homelab by /u/dracardOner on 2024-01-23 01:34:33+00:00.

view more: ‹ prev next ›