[EDIT: Apologies for missing rule 3, my question is quite hardware focused. I will post any future follow ups elsewhere]

Hello fellow Lemmings (?).

Full disclosure, the text below is identical to my post on the OPNSense Forum, so apologies if you get déjà vu. I can edit the post and make it totally unique if just copying and pasting it here is against the rules, but I just figured that Lemmy would be a great place to get advice as well, as it embodies the selfhosting/homelab ethos and I might get some more diverse/independent advice here.

My Post

I will be building out a homelab and would like to have the router running OPNSense. I am coming from a Fritzbox 7530 AX.

I am considering a number of hardware options and would appreciate some advice to help me narrow it down.

Use Case

My use case, as I implied above, is to set up a homelab but also just have a secure and functional home network, so I can do the following:

  • Segment my network into multiple VLANs
  • Set up semi-managed switches
  • Set up access points
  • Explore the IDS/IPS features - will probably run CrowdSec
  • Support personal devices for a household of 2-4 people
  • Set up PoE security cameras on seperate VLAN
  • Establish homelab to mess about with things like HomeAssistant, etc.
  • Set up a VPN or similar means of accessing self-hosted services when away from home
  • Future proof my network, at least 2.5G capable

My maximum budget would be €800, though ideally I’d like to stay well under that if possible.

Ready and Purpose Built Options

As far as brand new devices, I have been looking at the following:

1. Protectli VP2430

Pros:

  • From my understanding, specs wise it should be able to handle everything I need.
  • I can also configure it to have more than 8GB of RAM or just get it with 8GB and update it myself down the road if I see the need.
  • Can be configured with Coreboot -Can be configured with a TPM
  • Has a standard 2-year warranty

Cons

  • American company (with EU offices) - would prefer to support an EU company and not have to worry about current/future international relations
  • Relatively pricey, considering similar devices are available from Ali Express and other similar marketplaces

Overkill alternative:

Protecli VP2440

Similar pros and cons, just not sure if getting 10GbE is worth it.

I am not really convinced of the various Chinese brands that do similar devices, primarily due to concerns regarding ongoing support and security updates, but if somebody has similar suggestions that address these concerns somewhat, I would be interested in finding out more.

2. DEC697

Pros:

  • From my understanding, specs wise it should also be able to handle everything I need.
  • Supports OPNSense development
  • European
  • Comes with 2 year warranty
  • Comes with 1 year OPNSense Business Edition

Cons:

  • RAM not upgradable, may not be as future proof?[/li]
  • Also pretty pricey

Questions I have about this product:

  • Since this is running an AMD chip, does the lack of Coreboot still present a loss in terms of privacy and security?
  • How limiting will 8GB be going forward?

Overkill alternative:

DEC750

Again, mainly for 10G future proofing.

Mini PCs

I have also looked into repurposing a SSF/USFF device as a router, like for example a Lenovo ThinkCentre M720q. I also have access to a bunch of Optiplex 5070 Micros, but these don’t have the advantage of the PCIe slot (when used with a riser) that the Lenovo has.

Pros

  • Much cheaper
  • Possibly slightly better specs
  • Can be configured with more RAM later
  • Relatively low power still

Cons

  • Sourcing a device that’s in good condition, with original power brick may be difficult
  • Need to source reputable/genuine Intel NIC
  • Need to source riser for PCIe slot or alternative for the Optiplex option
  • Very DIY, would feel afraid of misconfiguring the device and exposing myself to security issues
  • No warranty or support
  • Not as quiet
  • Higher power consumption

I also have an old Intel i5-4960k and GTX 970 system lying about in a big case, which maybe I could look at converting into a small form factor build, similar concerns as above though (mainly around security). In general, I am comfortable enough with problem solving with servers and personal devices as a Linux user, but ideally my router would be fairly set and forget (and reliable!), which I’m not sure these options would provide.

Open to any alternatives in this space that would be more straightforward than the ThinkCentre/Optiplex 5070 Micros.

Bonus questions:

  1. Has anybody had luck putting a device with OPNSense on it downstream of a FritzBox (which doesn’t seem to support bridge mode) without too many issues due to double NAT? I’ve heard mixed reports that you can put the OPNSense router in the DMZ and forward traffic there, in order to avoid some issues with double NAT.
  2. Does anybody have any suggestions for PoE capable switches and access points that play nicely with OPNSense - I’ve been considering MicroTik but I’m not entirely sure what to look for.

Any advice very much appreciated. Happy to elaborate on anything if need be.

  • Klox@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    12 小时前

    For a Homelab, I cannot imagine going with anything other than older used SFF boxes for my router. I’ve been running PfSense and then OPNSense on them for over a decade.

    [Mini PC] Very DIY, would feel afraid of misconfiguring the device and exposing myself to security issues

    The risk is there for every router software, and the form factor won’t change that. The OPNSense software is pretty solid and the tutorials are less likely to lead you astray. You will learn a lot with a deep dive on OPNSense. So I’d say just go for the used hardware. The nice thing is your entire OPNSense config is a single file making it easy to back up and restore. If the hardware it craps out on you in 5 years, you take your OPNSense config (regularly back it up with one of the plugins) and a new mini PC and you are running again.

    A general PC will crush most routing tasks. The only concern is encryption but anything newish should be fine. Multi gig connections and 10G inner network has been great on my Optiplex.

    1. Does anybody have any suggestions for PoE capable switches and access points that play nicely with OPNSense - I’ve been considering MicroTik but I’m not entirely sure what to look for.

    They should all be fine. OPNSense is your router and firewall, and IMO it doesn’t really influence my downstream hardware choices (switches, APs, etc.).

    Not sure how the used market is in UK. Last year I decided to go 10G so bought a used Brocade ICX 7250 48x PoE+ RJ45 8x 1/10 GbE SFP+ Gigabit Switch for $78 on ebay. Its been so nice! 48x PoE ports and 6x 10G ports. It takes a detailed walkthrough and some head scratching to get it running well so I wouldn’t really recommend it specifically without a bit of experience. But it is easily the best bang for your buck. Throw in 10G SFP+ PCIE module into all your important machines and use passthrough DACs and you’ve got a flexible 10G setup for $200-$300.

    I am not familiar with FritzBox so not sure how that changes the calculus.

    • hacktheplanet@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 小时前

      Yeah I think my concerns regarding using a mini PC might be misplaced, but I was more thinking in terms of the bios and firmware of the mini PC, i.e. if it it’s an older model, will it continue to receive updates. But then again I guess that would take a security vulnerability somewhere higher up the stack to exploit in the first place. 🤔

      OPNSense’s default security posture does seem pretty good and will likely be a significant uplift from my router’s basic firewall.

      Didn’t actually know about the single config thing, very useful.

      That switch looks like a serious bit of kit! I’ll be taking it easy first, space is also at a bit of a premium.