• 0 Posts
  • 3 Comments
Joined 3 years ago
cake
Cake day: March 29th, 2024

help-circle
  • I was in your exact same position 2-3 weeks ago. Was also considering the OPNsense rack mounted options FWIW.

    I ended up going with Protectli, which some others have mentioned. Specifically, the VP2440e.

    I just finished the setup completely the last few days and have been making tweaks as I run into concerns or preference changes. But the hardware itself is running great. I ran into a hiccup because I bought a bad RAM DIMM externally and had to return and get a new one. I put in a 32GB one for expandability (Running Proxmox with assorted stuff, like OPNsense, AdGuard Home, Tailscale, an NTP server LXC, UniFi OS controller LXC and a few others). I mention this because some of the Protectli devices are very picky with brand AND model of RAM, so take a look for compatibility on their website.

    Anyhow, I got the barebones option and supplied my own RAM and NVMe and it’s working great so far.

    To answer your question about OPNsense DEC850 - when I was researching the general consensus is that their products are just fine, but overpriced and really geared more towards businesses that plan to utilize an ongoing services/support agreement. That’s also partly how OPNsense (the software) remains free for home users who can put it on whatever hardware they choose (sans professional support).

    For my specific setup, I use one RJ45 port directly to the ISP/modem, one SFP+ port to an SFP+ port on my “gateway” switch (not a software gateway, just a physical one where all the traffic goes through to reach the VP2440e), and then another RJ45 port which was a transit link. I’m looking at changing this up and putting the Proxmox containers/VM on a VLAN 99 as an internal network and having the default LAN be 10.x.x.x instead, which (with a fireall rule) would help me eliminate the transit link port need.

    I included a lot because I just went through your exact process/decision-making situation. Protectli appear to be highly praised in the homelab community. But the choice is always yours, of course!

    EDIT: some typos


  • Your comment about #2 is not true. VLANs can be fully isolated from other subnets on the LAN - sure. But they can also NOT be isolated. I have one fully isolated VLAN, and the rest are not isolated.

    With a savvy user, you can also tehnically isolate VLANs form only specific other VLANs. I’ve never needed to do this, but know it’s possible.

    Edit: for reference, I looked up details and found a helpful link and example:

    5. Firewall zones for VLANs

    config zone
        option name 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'     <-- This line allows intra-zone (inter-subnet) routing
        list network 'lan'
        list network 'your_new_vlan' <-- Adding your new VLAN here stops it from being isolated
    

  • I did #2 and it works perfectly. I have an IoT VLAN and my Brother printer/scanner is on it. I pivoted to the Ubiquiti/Unifi network infrastructure several years ago due to mostly seemless integration with the routers/switches/APs. But have used OpenWRT in the past (but didn’t set up VLANs then). Not sure the steps and if it requires manual firewall rules for the VLAN in OpenWRT.

    In case there identical/similar options to Unifi, however, I’ll just mention it’s pretty simple. Create the VLAN (new subnet vs the default network, e.g. 10.0.0.0/24 vs 10.1.0.0/24), deselect the “allow internet access” option, and make sure to select “network isolation” option (which blocks it from speaking to other VLANs/subnets). That’s it. (For conveniences, I also created another Wifi network call “XYZ_IOT” and then connected the printer to it. The network is fixed to that new IoT VLAN).

    Technically, those options are effectively convenient shortcuts for firewall rules that will get removed or created, accordingly, for that specific VLAN.

    Takes longer when you’re uncomfortable or struggling through it, but the complete setup time took maybe 15-20mins. If OpenWRT doesn’t have those convenience shortcuts, might take a bit longer to search for example firewall rule configs online and then make them.