/hsg/ - Home server general

/hsg/ - Home server general

Discuss building, setting up your own homeserver and maintaining the services and demons on it.

[Quick Questions Quick replies]
HOW DO I SELF HOST GIT?
>gitolite+cgit

[I want a NAS/HTPC/Plex what should I get?]
RPi3, Asus Tinker or Odroid XU4/HC1.

Are you interested in learning Linux or BSD administration and configuration better? Becoming a systemd expert? Or maybe you hate that shit and want a cozy little BSD machine to run services on and interact with. Or practice more advanced and complicated networking setups.

[FAQ & Guide]
pastebin.com/XYYp9TAC (embed)
[Software and Distro Tips]
pastebin.com/SXuHp12J (embed)

[News]
yro.slashdot.org/story/18/05/24/152239/pornhub-launches-vpnhub-its-own-virtual-private-network-app

it.slashdot.org/story/18/05/23/2347259/fbi-seizes-control-of-russian-botnet

[Chat]
discord.gg/9vZzCYz
riot.im/app/#/room/#homeservergeneral:matrix.org
irc.rizon.net #_hsg_

Attached: hsg6a.jpg (1247x1050, 872K)

Other urls found in this thread:

github.com/mayfrost/guides/blob/master/ALTERNATIVES.md
google.be/amp/s/www.cyberciti.biz/faq/how-to-block-an-ip-address-with-ufw-on-ubuntu-linux-server/amp/
serverfault.com/questions/381833/how-can-i-block-port-6379-for-outside-traffic-on-ubuntu
ubnt.com/unifi-switching/unifi-switch-8/
digitalocean.com/community/tutorials/an-introduction-to-securing-your-linux-vps
plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers
github.com/mayfrost/guides/blob/master/IRC.md#step-3-set-a-znc-bouncer
reddit.com/r/homelab/wiki/resources
reddit.com/r/homelab/wiki/tutorials
github.com/sindresorhus/awesome
twitter.com/SFWRedditGifs

fpbp

Finally got the fiber at home and went from 500KiB/s to 27MiB/s donwload and 90KiB to 6MiB upload.
I can finally set up and use a server

intended use
>hosting web shit project
>ftp server / backup
>streaming music
>web radios (basically, stream random songs from a playlist / folders
>mumble or some other voip service (maybe code my own chat / voip software for fun)
>torrent

I already got the machine and installed a linux distribution. Only thing I wonder is if I can only use free software server side and also client side (including if I want to stream music or webradio from an android smartphone).

a thread forked for this

That's slow as fuck fibre

He listed it in MiB (instead of the conventional Mib), so he must have 200 Mib, which is fine.

Yes, it should be easy to purely have free software running for those services.

'tism

Odroid C2
>
>
>
>

Raspberry Pi
>
>

Feels gudman

>fibre
>27MiB/s down
>6MiB up
>expressing speeds in *bytes instead of *bits per second
Ehh I get those speeds with cable, still good for you

>Only thing I wonder is if I can only use free software server side and also client side (including if I want to stream music or webradio from an android smartphone).
Yes to all of them

Is a RasberryPie i3 good enough for playback of blu-ray remux movies? or is that just for NAS?
What would be the kodi box hardware to playback remux quality films without any loss or lag, and possibly 4k HDR remux in the future?
Currently I have this Samsung smart TV, but it is not android, but some proprietary software, and it does lag when playing back remux movies, not to mention the proprietary subtitle fonts are horrific and the player unstable, so to watch those movies I just have an hdmi hooked up from a pc and use vlc.
But the cable runs across the room and is incovienient when you have to turn a pc on along side the tv, ideally there I could use a raspberry or orangepie or something cheap that could run something foss like kodi and not choke or reduce quality over lan.
Are there any video quality enthusiasts who have this figured out here?

I still haven't done anything with my server other than install samba and store files.

for some reason I never liked to express things in bits, but yeah, it's 195mbps download and 53mbps upload

Is anyone waiting on the release of the Odroid N-1?
It looks very interesting.

I'm looking to build a small, low power, quiet, home server.
Most likely doing storage duties for the most part, but would like to be streaming music to multiple devices, automatic backups etc.

Or would I be better buying one of the minin itx celeron boards?

SFTP is easier to setup than regular FTP - since you're probably gonna configure SSH either way.
rtorrent/transmission-CLI for torrents.
MPD is great for streaming music, on Android you can listen to and control the stream via MPDroid (available of F-Droid).

I wanted a NAS for hoarding anime and streaming music and movies both at the TV and remotely. Which is the most suitable product for my needs?

MPD for streaming has always been a pain in the ass for me: tried to get it to work multiple times but there was always something not working as intended, whether it was pulseaudio/alsa conflicts or Android shitty streaming library.
I reverted to subsonic/libresonic for my music streaming needs which is just perfect.

Get an Intel NUC which is pretty comfy to start with

IDK if it was IT voodoo magic or what, but tweaking the server config and the buffer sizes was what got it working here.

>I wonder is if I can only use free software server side and also client side
github.com/mayfrost/guides/blob/master/ALTERNATIVES.md
You are welcome.

Does anybody here have experience with chink Orange Pi as web server?

I was hoping for something to fit two drives in, is there a larger nuc?

How do I prevent my VM from accessing the router configuration page?

I'm running windows 10 pro, and ubuntu as a VM in vmware workstation 14. Network is bridged, so the VM has its own IP. Other traffic goes through nordvpn because torrents. I just use the virtual machine as a layer of security, all the files I've shared (that I can access from outside my network) are in read only mode.

I've tried and tried looking for a solution, I just want to block 192.168.1.1 from my server's LAN IP which is static.

Attached: 139.gif (455x249, 1.16M)

Maybe something like this?
google.be/amp/s/www.cyberciti.biz/faq/how-to-block-an-ip-address-with-ufw-on-ubuntu-linux-server/amp/
Or this
serverfault.com/questions/381833/how-can-i-block-port-6379-for-outside-traffic-on-ubuntu

I would think that you need to only block the specific port for that IP address, or your VM would't be able to get its own IP from your router (assuming you're using the built-in DHCP server)

Not quite home server but don’t see a better thread to ask: I have an asus Rt-ac88u router that does an excellent job on the top floor of my house, but can’t reach my downstairs all that well due to house design/layout. I was going to buy a repeater (specifically the Rp-ac68u), but just recently learned about AiMesh. I’ve come to the realization that I could get a sufficiently powerful router for much less than the repeater I was going to buy, and use it as a node for AiMesh. I’ve read pretty mixed reviews on both the repeater itself and AiMesh in general; does Jow Forums have a recommendation one way or the other?

is "thelounge" pajeet or am I in for a surprise?

Best option: pull network cable to downstairs, place second router in AP bridge mode.
If you don't want to open your walls or have a long ass cable out in the open, and if your wires aren't a hundred years old: you may want to give power line a try.
It works alright at my parent's place.
There are versions that have built-in WiFi, or you can also connect a second router.

Currently using a RasPi as a NAS and another as a mediabox, linked via the router I got from my ISP. Intending of implementing a firewall sometime, just to learn the ins and outs of it. Suggestions for this end?

Also:

Got my hands on ancient Cisco gear, namely:
2x 2900 Catalyst Routers
1x 2610 Router WITH JUST ONE ETHERNET PORT.

What the hell can I do with them? I already know my way around CiscoIOS from CCNA courses.

Related question that I hope you guys might offer some insight into: Can I use a VPN to get around cellular carrier level NAT? If so, what exactly do I need? Let's say I want to host torrents--do I open ports using the VPN software, or something else?

tl;dr: using an LTE modem at home and looking to host torrents

Why should i build a server Jow Forums?

>hentai@home

store files

I've set up an ssh server on my desktop secured using pubkey and passphrase authentication (soon to add SOCKS). Its just so that i can program on my desktop from my laptop and copy data from my laptop to my desktop.

Now bearing this in mind, how can i reduce latency to and from my ssh server?
Secondly, what else can i do with a home server?

>vmware
>not qemu

Attached: smug.jpg (1920x1080, 216K)

i should probably add that i don't own any servers yet so any reccomendations on sub 500$ servers would be appreciated.

Probably belongs in sqg but I was running out my environment off a strong router but no vlan capabilities. Everything a flat lan of 10.10.1.x but I now have about 30 endpoints, some iot, mostly vms and some physical devices, and things are getting spotty. I tried to put another router into play on a 10.10.2.x and want both to issue dhcp for their respective subnets, though for some reason guests will pull an address from either at times. Lab devices will go up to core router or secondary. Core devices stay where they are. ReIPing shit kinda sucks desu

Attached: uwot.png (377x316, 203K)

Name one company worth more than the lot their hq is on using anything but vmw or maybe rh

I'm not aware of companies but we usually used qemu

Hey there /hsg/, how is the "HP ProLiant DL360 G6 1U RackMount 64-bit" Server? Its ~300$ which is within my budget

I want to let some friends use some of my VMs on my esxi box. What would be the best way of letting them do this with out a vpn server?

>64-bit" Server
?? depends on the CPU and RAM and for $300 I'm guessing not a good amount of either.

Port forwarding

I assume your new by the way you copyed the whole name and even put in in quotations including the "64-bit" part. Start smaller and learn about networking before you put money down on hardware.

should I really buy a domain just to properly give internal devices names instead of using fake ones
so like:
machine1.lan.domain.com
vs
machine1.lan

will I ever be burned by the latter like all the stack overflow monsters from ten years ago seem to believe

You can port forward the control panel but port forwarding a VPN server sounds better

where to start learning about networking?
Any keywords? I bet there's YouTube tutorials :\

I'm familiar with computational systems, and thus have familiarity with switching fabrics, if i understand correctly this is a server switching fabric: ubnt.com/unifi-switching/unifi-switch-8/

full name: HP ProLiant DL360 G6 1U RackMount 64-bit Server with 2xQuad-Core X5550 Xeon 2.66GHz CPU + 24GB PC3-10600R RAM + 8x146GB 10K SAS SFF HDD, P410i RAID, 2xGigaBit NIC, 2xPower Supplies, NO OS

yeah I was looking giving them all there own domains and find away to do it with a nat solution

Sorry if this is the wrong place to ask but lets say someone was trying to transfer all their music from a PC to a server. Is there some sort of script or program that can collect and move all the songs on the PC?

Rsync is your god now. If you need to FIND the files on the computer, try FIND command.
find / -iname '*mp3'
and it gets more autistic from there.

I have an (older) J1900 system that I built myself, The slightly higher end Atom / lower-end celeron SOC/SBC are great. I think I spent about $300 to build the whole thing and it just works™. Quad core and super low power. If you want something better it's not a great option but I like it as a low-power, cheap solution.

Ive skimmed through the pastas,
and overall i like where this general is going

you should add pasta dedicated to security,
from tips regarding ssh, locking down apache/nginx
closing ports, basic firewall
simple nmap scans against the hosts
view open sockets and closing them down.
monitoring logs and rouge processes
using fail2ban and maybe port knocking

digitalocean.com/community/tutorials/an-introduction-to-securing-your-linux-vps
plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers
would be a good reference for starters

unironically, add Jow Forumshomelab and Jow Forumssysadmin to refrences

How does mpd works when it comes to stream music to users ?
I get that you can run mpd and any user that connects to your server will be able to listen to whatever mpd is streaming currently.
You can also launch one instance of mpd per user, each one having a its own config file, so each user of your system can listen to his music (or listen to a music in a shared repository).
But how would you set up mpd to stream for various users without accounts ?

Pretty much anything openstack. VMWare is for small companies and illiterate sysadmin.

if it's all internal you can use anything

Attached: Capture.jpg (316x148, 12K)

I'm looking to expand storage on my server. I'm wondering if I should just run my server on an SSD and have file storage on a separate NAS.

Just get plex server, then install the plex app on whatever device and plex will figure out what it can handle and transcode the video to a maximum level it can take

I have an Xbox One S as my plex player streaming content from my r710 and it’s handled absolutely everything at maximum even my autism rips

My chromecast couldn’t take it however and bluray got transcoded down 8-12mbps

This will not happen

>Is a RasberryPie i3 good enough for playback of blu-ray remux movies?
AHAHHAHA

Torrent server
Fileserver with SSH/SFTP/SSHFS
Media streaming with DLNA
Tor relay
Torrent server
IRC bouncer with ZNC github.com/mayfrost/guides/blob/master/IRC.md#step-3-set-a-znc-bouncer
Helping science with BOINC
Torrent server
Torrent server

Look for more here github.com/mayfrost/guides/blob/master/ALTERNATIVES.md

How do you even setup a NAS with odroid xu4? It only has two USB 3.0 or something... Complete but curious noob btw.

>unironically add cancer
no

that cancer has more resources then this general, put your silly grudge against it aside, and abuse the place, the general will only benefit from it

What kind of NAS you mean? What do you want?

What kind of resources would you suggest? Maybe some can help.

>r710
How noisy are these? Been thinking of grabbing one, read that they're quieter than the r610; but just how much?

I just bought one and when at 100% it sounds like a jet taking off.
When it's idle you can hear it from other rooms, but it's like a soft hum.

did you even bother to look?
reddit.com/r/homelab/wiki/resources
reddit.com/r/homelab/wiki/tutorials
if you are OP you will have to do better than that
note the digital ocean once, its a gold mine of good info

Hey, those are pretty good suggestions.

I am not OP (I never was as far as I can remember) but I like to contribute to the pasta. I asked to see what in particular I can help and now that I've looked to the other comment I see now so thanks for that and for the links. And I agree with digital ocean, is full of gold.

no problem user, thank you for commenting,
if i had the time myself i would write about it.
if you know basic security i would encourage you to write about hardening a linux box

/cyb/ has a lot of good info, and i believe it goes strongly hand in hand with this general.

basically you would want to secure every service that faces the internet (ssh, plex, torrent, webserver, ftp)
and close all the ports
you would want to block enumeration attempts and not leaking your info (like versions of software)

and you would want to setup some intrusion detection system and monitor logs closely.
thats whats comes out on top my head.

digital ocean has invaluable info.
there are alot of github projects.
start here, you will be blown at the amount of info
github.com/sindresorhus/awesome

OP might as well add that link to the pasta

I've seen threads stupid enough to try and wield the utility of cance/r/, but the normie cancer could not be contained and the threads were poisoned and corrupted. case in point: the transformation of Jow Forums
Redditards post on every site like they're on Jow Forums or reddit, they are a cancer and any fool who thinks they can use reddit constructively has already drank the reddit kool-aid and likely browses there often. I will use reddit the day it becomes less cancerous but all proof points to the cancer only getting worse.
You sad fuck, i hope you die a quick and painless death, because at this point dying would be preferable to being Jow Forumseddit

Attached: betterdeadthanreddit.png (571x618, 42K)

Hey guys, I want to setup a local DNS server and mirror OpenNIC locally are there any good guides for this?

ddg opennic root hints

i will be honest with you,
ive been a lurker of Jow Forums and reddit alike for a long time, i dont go on Jow Forums and i dont meme other guys.
despite the cancer on reddit, Jow Forums has quite a lot of it too, by a big margin. i see how fast threads get derailed here.
still i prefer Jow Forums. there is no heavy moderation in here.

seeing you, you clearly are biased and i dont blame you for that, dont attack me personally, cause, to be blunt, you know shit.
you are way too affected by Jow Forums

ignore me, if you have to. but be hoesnt with me and yourself,
reddit wiki pages are well beyond what we have here, you want to get better info , you imitate and create better pastas, cause the one in the OP are a joke even as a draft, the OP (you) clearly lack the knowledge.
stop sperging about the ppl trying to help you
> put your silly grudge against it aside, and abuse the place, the general will only benefit from it

Don't worry anons, hating reddit is a meme that even the mods grew tire off a while back. Just ignore the hate like me, they got good stuff too.

>you clearly are biased and i dont blame you for that

i dont blame him for that, there is legitimate concern about reddits and its userbase.
infact i agree with him to some degree,
but this user need to learn to differentiate between ideological hate and use of tool.
despite all the cancer, reddit DOES have better info out there.

>What kind of NAS you mean? What do you want?
A regular NAS with 2-4 drives. How to make a NAS with that odroid? How to connect drives to it?

Yes i am biased,
I prefer the Jow Forums style of being an asshole to the reddit white-knight attitude of posters, because on Jow Forums you can be completely open and honest, or a fucking wanker, and you'll be a fag either way. On cance/r/ you must be very nice all the time to all sorts of people because the mods are breathing down your neck like a rabid dog. Furthermore i want the old pol back, the one before it became a reddit colony, because it was fun to post there. Now its not fun anymore :,(

>I'm OP
I like traps not men, OP will always be a greater fag than i.

>derailing is cancer
>implying derailed threads are a bad thing


I'm still a pragmatist, i'll use resources when they are at my disposal, so you will still find me lurking and reading the pastas, but if you post there i pity you.
Anyways there are forums dedicated to this, even if they are relatively inactive. Stack Exchange is a pretty good one, can't name any others because i haven't really looked but i can grantee that there are more resources than just 4chins and cance/r/.
There are levels of cancer and homelab is on the low cancer level, but just be aware of the hazards that come with dealing with idiots on that forsaken site.

well we are on the same page there,
i dont like reddit attitude of beating around the bush and censoring everything that doesnt fit the hivemind.

>I'm still a pragmatist,
so dont contradict yourself, and start spergin on me
drop the group politics (Jow Forums or reddit) its about communication between individuals at the niche communities like here or Jow Forumssysadmins

> i haven't really looked but i can grantee that there are more resources
stack exchange isnt a resource its just Q&A with citations, beside reddit that is meta hub, like github, digital ocean and various mediocre sites, reddit does stand out, and thats what the OP here is trying to do, be productive and offer good knowledge.
so dont talk out of ur ass for the sake of argument if you dont know better. im not your enemy and its not about winning.
>inb4 this post
i just want to make my point clear enough

> just be aware of the hazards that come with dealing with idiots on that forsaken site.

im prepared to deal with kind of anons here and ""people"" who argue by down voting .

and thats why i like Jow Forums, because the likes of you.
you argue, and and say meaningful things by being direct.

Sounds like you want a drive case for the extra drives or just buying external drives. Do you want a file server? A simple SSH server with SSHFS client is all I would use.

HELLO FRIENd.

AFTER INVESTIGATING THIS REDDIT SITE AND CAREFUL CONSIDERING YOUR SUGGESTION. THE /HSG/ HAS MADE A FINAL DECINISION:

WE REGREFLULLY TO INFORMAT YOU THE REDDIT LINKS WILL NOT BE INCLUDED ON /HSG/.

Attached: 1522879662377.jpg (1200x900, 301K)

Are you intentionally trying to start a war here? Good job.

I dont wanna use plex cause it's proprietary and expects me to pay for features when i'm not even paying for the content, I just want an open source stream box that plays good quality back without losing it, sounds like I need to build a seperste tower for that pc, what kind of gpu is enough for that shit?

>Tor relay

Don't

emby?

Why tho?

If you run an exit relay you'll soon get a bunch of angry letters from cops and lawyers who don't comprehend what Tor is, and assume that since the logs of the hacked web server or whatever came from your IP, you must have done it. Most exit relay operators handle this by replying to every such communication with a form letter explaining what Tor is and why not only was it not them who did it, but also why they have no information on who might have done it. This usually takes care of things, but its a big hassle.

If you run a non-exit relay, you avoid all of this. Residential ISPs may still get pissy at you for running a server or the amount of bandwidth you're using, but you won't get cops and lawyers. You still get the work of maintaining the Tor relay, keeping up with security updates, and so on.

Oh, I assumed you said non-exit relays too. Got it.

>and thats why i like Jow Forums, because the likes of you.
>you argue, and and say meaningful things by being direct.
that grammar is hard to understand, could you be clearer please?

It seems we're in agreement. see you on the other side senpai.

is Docker a meme for self hosting?

In my opinion it is. Are you planning to host several services in different vms? Maybe you can spare a few headless virtual machines with qemu. The problem is that supposedly docker is good for automatize a bunch of systems, however I don't see a benefit when is not resource efficient overall with the docker bundle running in the background. But take this with a grain of salt.

user-chan
i luv u

My server/router running since august last year just crashed while logging in through ssh
Didn't even make a screenshot of the uptime
I feel so betrayed right now

Pics or it didn't happen....oh wait

no u

My setup:
Core Server #1
FX 8300
8GB Ram
Server 2012 R2 Standard
2TB Storage Space Mirror Refs Volume
9TB Storage Space Parity Refs Volume
Roles: File Sharing,Media Streaming via Serviio DNLA server, Hyper-V

Core Server #2
Windows Home Server 2011
4GB ram
dual core cpu
1TB hdd
Roles: Client PC Backups & FTP Server. Remote access for Media Library

Core Server #3
HP Microserver N40L
4GB EEC DDR3
FreeNas 8
7.1TB Raid 1z
Roles: Data Archive "Failsafe"

Core Server #4
Zyzel Nas 540
12TB Raid 5
Roles: Full Primary Data Backup

3TB External drive - Server System Image & 4th copy of E-Book & Porn Collections

Recently bought another HP Microserver w/16GB EEC ram for $200. Clean, not abused like some pictures I've seen. Considering that 8GB of regular DDR3 will cost you $100 now, I think I got a damn good deal. Eventual plan will be to load Freenas on it and replace the Server 2012 server as the central file server. May also use it for media streaming duties, depending on the built in media server's supported formats and how much of a pain in the ass it'll be to setup. Hell both Microserver's only draw 150w under full load. (300w) Server 2012 Server's psu is 550w. So I'll be saving money on my electric bill to.

>May also use it for media streaming duties, depending on the built in media server's supported formats and how much of a pain in the ass it'll be to setup.
Not that much of a pain