All the cool projects I see while lurking around here have thrown me into the world of Self-Hosting! Some months ago I got myself a NAS, flashed it with TrueNAS and started playing. Today, I am ready to face the creation of my first homelab.
Since I got the basic data storage working, I decided to continue with the Firewall setup. I’d like to have my security figured out before I start spinning up machines, playing with their configs and unwittingly opening all kind of arcane doors to the unknown. So I turn to the Fediverse!
I’d like to create the standard network with a DMZ. Within the network, I plan to use VLANS to manage traffic between devices, and the firewall to limit internet access.
This is a sketch of what I think I want to achieve:
Connections
- The Consoles will connect only to the internet
- The Home Devices (printers) will connect only to the Home WKS
- There will be a NAS device hosting VMs with services accessible only from the home network:
- The Home Automation will connect to IoT
- The Recipes will connect to Home Wks
- The Data Archive will connect to Home Wks
- Jellybean will connect to:
- Home Wks
- TV
- *arr Stack will connect to:
- The Internet
- the NAS (presumably Jellybean)
- The Home WKS connect to pretty much anything
Available Hardware
- OpenWRT compatible Router
- 2.5gbs Unmaged Switch
- 1gbs Unmaged Switch
- QNAS with 2x2.5gbs NIC, running TrueNas
- A few Rpis of different specs
Questions
Firewall
My Main questions relate to the Firewall. It seems that pfsense is the way to go for a SW Firewall:
- What HW should i use? would a Raspberry pi 4, 4GB RAM work?
- What do you think of Netgear 1100?
- I like this device since 3ports would allow me to create a physically separate DMZ
- Should I consider other firewalls?
NAS
For Bonus Points, some questions regarding the NAS:
- With my current diagram, it seems like it is not possible for the NAS to receive updates from the internet. The obvious change is to place the NAS within the DMZ, but I’d like to keep the Data Archive as far from the net as possible
- Should i locate the entire NAS in the DMZ?
- My TrueNas has 2x2.5Gb ports. Can i connect each NIC to a different network? Would this have any benefit?
Thanks for your time!
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters AP WiFi Access Point DNS Domain Name Service/System IP Internet Protocol IoT Internet of Things for device controllers NAS Network-Attached Storage NAT Network Address Translation TCP Transmission Control Protocol, most often over IP UDP User Datagram Protocol, for real-time communications
8 acronyms in this thread; the most compressed thread commented on today has 15 acronyms.
[Thread #448 for this sub, first seen 23rd Jan 2024, 14:45] [FAQ] [Full list] [Contact] [Source code]