[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: containerized fairy.png (169 KB, 1000x1000)
169 KB
169 KB PNG
Containerization is app cruelty

>>108465124

READ THE (temp)WIKI! & help by contributing:
https://igwiki.lyci.de/wiki/Home_server

/hsg/ is about learning and expanding your horizons. Know all about NAS? Learn virtualization. Spun up some VMs? Learn about networking by standing up a OPNsense/PFsense box and configuring some VLANs. There's always more to learn and chances to grow. Think you’re god-tier already? Setup OpenStack and report back.

>What software should I run?
Install Gentoo. Or whatever flavor of *nix is best for the job or most comfy for you. Jellyfin/Emby/Plex to replace Netflix, Nextcloud to replace Googlel, Ampache/Navidrome to replace Spotify, the list goes on. Look at the awesome self-hosted list and ask.

>Why should I have a home server?
De-botnet your life. Learn something new. Serving applications to yourself, your family, and your frens feels good. Put your tech skills to good use for yourself and those close to you. Store their data with proper availability redundancy and backups and serve it back to them with a /comfy/ easy to use interface.

>Links & resources
Cool stuff to host: https://github.com/awesome-selfhosted/awesome-selfhosted
https://reddit.com/r/datahoarder
https://www.reddit.com/r/homelab/wiki/index
https://wiki.debian.org/FreedomBox/Features
ARM-based SBCs: https://docs.google.com/spreadsheets/d/1PGaVu0sPBEy5GgLM8N-CvHB2FESdlfBOdQKqLziJLhQ
Low-power x86 systems: https://docs.google.com/spreadsheets/d/1LHvT2fRp7I6Hf18LcSzsNnjp10VI-odvwZpQZKv_NCI
SFF cases https://docs.google.com/spreadsheets/d/1AddRvGWJ_f4B6UC7_IftDiVudVc8CJ8sxLUqlxVsCz4/
Cheap disks: https://shucks.top/ https://diskprices.com/
PCIE info: https://files.catbox.moe/id6o0n.pdf
>i226-V NICs are bad for servers
>For more SATA ports, use PCIe SAS HBAs in IT mode
WiFi fixing: pastebin.com/raw/vXJ2PZxn
Cockpit is nice for remote administration

Remember:
RAID protects you from DOWNTIME
BACKUPS protect you from DATA LOSS
>>
>>108509526
>Why is zhe elf in zhe oven!?
>>
Do you really need https certs if you're using Wireguard to tunnel into nextcloud while remote?
>>
>>108509664
maybe if browsers weren't so fucking retarded. they spaz out even if its private ip space. and linuxservers.io moved all their remote desktop shit to a protocol that only works with https. so annoying.
>>
Boughted a Dell Wyse 5070 thin client for 50 bucks with the power brick included and I'm pretty happy with it.
It's only 4gb ddr4 and 16gb of emmc storage but that's good enough for home assistant.
Barely uses 5w of power.
>>
>>108509537
>oven
>>
>>108509772
How new?
>>
Are USoids stockpiling routers now?
>>
File: file.png (43 KB, 871x1039)
43 KB
43 KB PNG
So, I seem to have successfully combined my previous truenas and jellyfin host PCs into a single build, upgrade my truenas install to SCALE v25.10, setup jellyfin as an app, GPU passthrough is working for hardware transcoding, and I'm now in the process of recreating my libraries, and not sure what the best way to achieve this is.
I have a bunch of movie, music, and anime torrents, as well as a decent collection of self-ripped blurays, spread across a handful of folders on my ZFS array.
In my previous jellyfin setup, I used windows as the host OS and was able to create a local folder filled with symlinks which pointed to a mapped drive containing shares, so that I could add/remove files to the library folder without having to add my entire torrent/BD collection, as some files didn't work right or won't appropriate (I had a library just for kids content for my nieces and nephews for instance)
with my new truenas setup, I seem to have no option except to add the folders directly as Host Paths. I tried adding them as SMB shares and creating a SMB folder containing symlinks, but that didn't work.
any ideas on how I could do this in truenas scale?
alternatively I might just setup a windows VM on the truenas box and run jellyfin through that, would enable my old behaviour and should also be more reliable through truenas version upgrades, as apps are considered experimental still
>>
>>108509690
you could try using some older browser perhaps solely for this purpose. perhaps some firefox ESR

>>108509526
what if the tank was filled with a gas that makes elves lactate? haha that would be so weird, i wont imagine it.
>>
so, with the recent news, it's best to avoid truenas when building a new nas? whats the alternative for building a media server?
>>
>>108510349
what recent news
>>
should I try to RMA this drive? It's a refurb with 5 year warranty and the vendor has been great at replacing previous failed drives
PSU was failing in the previous host machine so not sure if that could have affected results, but running new SMART test fail immediately, short or long
also there was a metal spur on the edge of the case which unfortunately scratched the drive label up badly, and right where the serial number is, so I'm not super confident of actually getting an RMA replacement
it's a raidz2 array so if I can't RMA it I'll probably just wait for it to fail before ordering a new (non-refurb) drive
>>
File: file.png (198 KB, 1501x863)
198 KB
198 KB PNG
>>108510572
specifically it was displaying as failed in truenas CORE for the Multi_Zone_Error_Rate but scrutiny reports that as a pass, oddly enough
>>
File: IMG_6061.jpg (1.11 MB, 2048x1152)
1.11 MB
1.11 MB JPG
I've been trying to find some kind of cheap dedicated control panel to perform various actions on my server - Home Assistant controls, Portainer controls, etc. Ended up buying one of these CYDs for $10 - used Cursor to build the custom firmware for it and it works perfectly. Always on, ready to go. Going to buy a little mic to plug in for voice controls, and 3D print a little desk enclosure for it. Might end up buying a few more to wall mount around the house.
>>
>>108510610
Nice, very cool. Is that just a display or is there a little sbc behind that? What'll you be plugging them in to for the ones around your house?
>>
>>108510678
nevermind, I just looked up what a CYD is. Looks cool, I might have to pick up a few.
>>
>>108510678
It's an ESP32. They just run off of USB-C so I'll probably just find convenient wall outlets.
>>
>>108510712
Yeah, there's actually a lot of cool pentesting tools like Halehound built off of these.
>>
File: 1774899891232612.gif (47 KB, 200x200)
47 KB
47 KB GIF
Instead of adding addresses to the hosts file on my PC can I do the same directly in my Ubiquiti router (without having to add each entry one at a time)?
>>
>>108511016
you just discovered dns
>>
>>108511028
Cool, but when I try adding a new DNS policy I don't see an option to bulk add a bunch of addresses?
>>
>>108511045
>bulk add
how many do you need to add?
>>
File: 1774898351326102.gif (67 KB, 200x200)
67 KB
67 KB GIF
>>108511052
Probably around 80 in total I guess?
A bunch for Adobe and some other software so it can't call home to check the license or deliver ads.
>>
>>108511066
you should've started by saying that you want to block outgoing traffic, you have to add firewall rules for that
>>
>>108511016
set up bonjour
>>
>>108511066
First question, are you trying to block domains or ip addresses? For rerouting/blocking domains, you want DNS, for rerouting/blocking IP addresses, you'll want firewall rules.

The ubiquiti built-in dns functionality is there but pretty basic.
>80 records
At that point you'd probably want to host a dns server somewhere, which you can then configure your router to point to as the default dns server for the network.

There are very many options for this. Pihole is a common one that's built specifically around blocking stuff.
>>
File: 1774902400478405.gif (106 KB, 200x200)
106 KB
106 KB GIF
>>108511162
Domains that then reroute to 127.0.0.1 or 0.0.0.0
For Viber for example:
127.0.0.1 s-bid.rmp.rakuten.com
127.0.0.1 ads-d.viber.com
127.0.0.1 ads.aws.viber.com
127.0.0.1 ads.viber.com

I wouldn't have Viber installed if it wasn't for work, but the little ads running in the corner are infuriating, the easiest option is just to add the domains to the hosts file, but I thought why not make this rule in the router instead.
>>
>>108511194
127.0.0.1 is code that means youre a faggot.
>>
>>108511194
yeah probably worth it to install pihole on your homeserver desu
>>
File: 1772720205564526.gif (218 KB, 371x371)
218 KB
218 KB GIF
>>108511389
I'll have to look into that, but does that mean I'll have to point to my home server as a DNS provider or something?
I'm retarded when it comes to networking, I can set up ddns and nginx when I'm looking at tutorials but I'm just following along with very limited understanding of how anything works.
>>
Instead of exposing shit via cloudflare tunnels I set up a VPS (by selling my soul to the devil and giving Oracle my credit card for a pay as you go OCI account so I could actually deploy a free compute instance) and running Pangolin on it to act as both a reverse proxy and a wireguard tunnel to my homelab. Set up crowdsec and fail2ban and it's interesting to see how much malicious traffic hits a public endpoint as soon as it's exposed.
Pretty neat extension to my homelab. Now I gotta find more shit to run on it to actually make use of those free 4 vCPU cores and 24GB RAM.
>>
>imagine getting filtered by something as simple as DHCP and DNS
>>
say that after trying to get unbound dns working on openwrt. it's a nightmare.
>>
>>108511461
>find more shit to run on it to actually make use of those free 4 vCPU cores and 24GB RAM.
host a big titty elf gallery with a live chatbox feature so we can hang out there
>>
>>108511444
>does that mean I'll have to point to my home server as a DNS provider or something?

Yes

The quick rundown on dns in a network is that when clients connect to your router, your router will hand them the address of a dns server that they should use. (It's also common for routers to advertise themselves as the dns server, and just forward requests from there). Either way, your router will have a setting that lets you set a DNS server that machines on the network should use, and you'll point that at the custom DNS server you run and everything will use that.

Note that applications are capable of having their own dns settings, for example if you go in your browser settings its possible to set a dns server there instead of using the system dns, so just be aware of that if you end up troubleshooting why something isn't going through your dns.

>>108511194
>I wouldn't have Viber installed if it wasn't for work
idk what your work setup is like but you should be aware that if you're using a work VPN those will often fuck with your dns settings
>>
File: 1769581978445599.gif (116 KB, 434x238)
116 KB
116 KB GIF
>>108511546
Thanks for the advice, Anon.
I work for a startup that doesn't have much money for anything besides salaries (for now), I'm using my personal laptop and when I'm working from home my desktop.
>>
>>108509526
I'm getting an annoying error trying to update Mealie in proxmox
 Prerendered 42 routes in 0.958 seconds                                                                                                nitro 1:24:17 AM
Downloading fonts... @nuxt/fonts 1:24:17 AM
─ https://fonts.gstatic.com/s/roboto/v51/KFO5CnqEu92Fr1Mu53ZEC9_Vu3r1gIhOszmkC3kaSTbQWt4N.woff2 @nuxt/fonts 1:24:17 AM
ERROR fetch failed 1:24:28 AM
[cause]: Connect Timeout Error (attempted address: fonts.gstatic.com:443, timeout: 10000ms)
at onConnectTimeout (node:internal/deps/undici/undici:1936:23)
at Immediate._onImmediate (node:internal/deps/undici/undici:1917:11)
at process.processImmediate (node:internal/timers:504:21)
ERROR fetch failed 1:24:28 AM

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
in line 58: exit code 1 (General error / Operation not permitted): while executing command yarn generate

This same issue happened during install as well, but I picked the option "4) Retry with DNS override in LXC (8.8.8.8 / 1.1.1.1)" and it worked. What should I do to solve it this time?
Curiously there's nothing wrong with the fonts.gstatic.com url and when opening it in a browser I do get the file downloaded, so I don't understand what's the issue here.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.