klay's cookbook for web server admins, v0.5.2

klay@lemmy.world to Selfhosted@lemmy.world – 55 points –
klay.gay

I'm writing my own novice guide to setting up a home server, the stuff I wish I'd been told when I started. Would love feedback from beginners on how useful this is, as well as feedback from veteran self-hosters on how accurate this is, and I welcome suggestions from anyone about what I should add next.

update: tweaked the introduction a bit, corrected title to match header, added note about podman-compose v1.0.6 incompatibility.

update: major update, v0.9.2 here

8

I would like a very small segment on IPv4, the implications of NAT and why NAT reflection should be turned on- why uPnP should never be turned on in residential networks and only if you know what you're doing in any other networks, and maybe how IPv6 solves some of these issues.

These are the issues I've struggled with. Even now I curse under my breath whenever I have to deal with NAT.

actually, could you tell me more? not only are those new solutions to me, those are new problems. I don't even know how to tell if uPnP is turned on.

edit: oh! I have actually dealt with NAT reflection before, the guide I used called it Hairpin NAT. https://help.mikrotik.com/docs/display/ROS/NAT#NAT-HairpinNAT

You'd need to log into your router to see if it's enabled. Assuming you've got standard consumer grade stuff, it's likely on by default because it makes things like console multiplayer 'just work's without needing someone to go in and port forward stuff.

Before I built my home network, any Linksys/Netgear/etc router I used had that disabled when I was doing my initial setup.