this post was submitted on 11 Apr 2024
55 points (95.1% liked)

Selfhosted

37932 readers
445 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
55
submitted 3 months ago* (last edited 3 months ago) by Tinnitus to c/selfhosted
 

I have been exploring the world of home servers/self-hosting for a little over a year now, and feel like I have at a decent understanding of a lot of things that go into this. The one thing I am not remotely comfortable with yet is networking. It's like a foreign language to me.

What are some good resources or projects that I could work on to help me develop a better understanding of this? Or, what helped you advance your networking knowledge? I have an UnRaid machine and a Raspberry Pi 4 (8gb) at my disposal (for any project recommendations). Current router is ISP provided, so nothing fancy.

top 19 comments
sorted by: hot top controversial new old
[–] foggy 19 points 3 months ago (1 children)

If you want dry and boring, do CompTIA and Cisco certs.

If you want fun, get into info sec and learn that way. Check out OWASP, Hackerone, Hack The Box, et al. These platforms will teach you about networking and security at the same time.

Neither is better. Depends on the person.

I recommend getting a VPS and playing around with all kinds of networking tools.

[–] Tinnitus 2 points 3 months ago

Hack The Box looks like it could be quite interesting and fun. I think I’ll start there. I appreciate your feedback!

[–] [email protected] 8 points 3 months ago

Don’t bother with the cert if it’s not your job, but at least look into CCNA Routing and Switching. There are tons of courses available, both in person and online, as well as numerous YouTube videos on the subject.

See if your local library or community college has an adult education center that provides a course. At some point, you will need to learn subnetting, which is just math, but practice makes perfect, and your life is easier if you have it committed to memory.

Proper written work is still one of the most effective ways to do this.

[–] TCB13 7 points 3 months ago* (last edited 3 months ago) (1 children)

Start by replacing your ISP-provided router with something that runs OpenWrt and explore around.

[–] Tinnitus 1 points 3 months ago (1 children)

This is something I have on my to-do list. I just need to figure out which router to go with.

[–] TCB13 2 points 3 months ago* (last edited 3 months ago)

Well, how much wifi and open-source do you really want?

If you are willing to go with commercial hardware + OpenWRT you might want to check the table of hardware at https://openwrt.org/toh/views/toh_available_16128_ax-wifi and https://openwrt.org/toh/views/toh_available_864_ac-wifi. Solid picks for the future might be the Netgear WAX2* line (no USB), the GL.iNet GL-MT6000, ASUS RT-AX59U, Belkin RT1800, Belkin RT3200, Linksys E7350, Linksys E8450. If you don’t mind having older wifi a Netgear R7800 is solid.

For a full open-source hardware and software experience you need a more exotic brand like this https://www.banana-pi.org/en/bananapi-router/. The BananaPi BPi R3 and here is a very good option with a 4 core CPU, 2GB of RAM Wifi6 and two 2.5G SFP ports besides the 4 ethernet ports. There’s also an upcoming board the BPI-R4 with optional Wifi 7 and 10G SPF.

Side note: while there are things like OPNsense and pfSense that may make sense in some cases you most likely don't require that. You've a small network and OpenWRT will provide you with a much cleaner open-source experience and also allow for all the customization you would like. Another great advantage of OpenWRT is that with a great router like the BananaPi BPi R3 you've the ability to install 3rd party stuff in your router, you may even use qemu to virtualize stuff like your Pi-Hole on it or simply run docker containers.

[–] [email protected] 5 points 3 months ago
[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Check Gentoomen Library and anarcho-copy, both have a huge curated list of books on everything, including networking.

[–] filister 3 points 3 months ago (1 children)

The reality is that you won't learn much just by reading, you need to try to debug stuff and eventually work in the area to truly learn.

But I am sure there are plenty of tutorials and video courses in various platforms where you can learn a bit on the topic. Coursera might be a good place to start as you can enroll for free to those courses if I am not wrong.

[–] Tinnitus 2 points 3 months ago (1 children)

I’m also a person that has always struggled to learn by solely reading. Typically a combination of video tutorials and documentation, while actually doing the work on my end, is how I usually grasp concepts.

[–] [email protected] 2 points 3 months ago

Imagine trying to learn math without solving any problems along the way.

[–] [email protected] 2 points 3 months ago

You can use emulation to practise. Gns3 or packet tracer are example of visualising networking hardware to play out different ideas. Jeremy's it lab has plenty of cisco related videos to teach you.

This way you can fuck around without the wife getting angry she lost instagram access again and again and again.

[–] [email protected] 2 points 3 months ago

Computer Networking: Top down approach book is awesome honestly

[–] NeoNachtwaechter 1 points 3 months ago* (last edited 3 months ago)

First the basics: the book "Computer Networks" by Andrew S. Tanenbaum

If you have read and understood it all, continue with https://www.openwrt.org/

[–] [email protected] 1 points 3 months ago

Michael W. Lucas's "Networking for System Administrators" is a great resource: https://mwl.io/nonfiction/networking#n4sa

[–] [email protected] 1 points 3 months ago

There is always the Network + book. I went through it in 2005, so no idea what the content is like nowadays though

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
PiHole Network-wide ad-blocker (DNS sinkhole)
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

3 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.

[Thread #676 for this sub, first seen 11th Apr 2024, 23:05] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 1 points 3 months ago

Do you like dry reading? I do, and I started here http://intronetworks.cs.luc.edu/

[–] [email protected] -1 points 3 months ago

Raspberry Pi + PiHole + PiVPN = Network Gateway Drug

Although, PiVPN is winding down so you might want to find something different instead. Setting up a regular Wireguard VPN isn't so bad, but it may be simpler to setup a Tailscale Tailnet.