Guide

Choosing OPNsense Hardware for 1 Gbps With Suricata

Suricata IPS on OPNsense is limited per connection by one CPU core. Pick fast cores, Intel NICs and 8 GB of RAM: what fits a 1 Gbps line and what doesn't.

Applies to OPNsense 26.7 with Suricata 8 in IPS mode
Read 7 min

For a 1 Gbps line with Suricata in IPS mode on OPNsense, buy for fast CPU cores and Intel network ports, not for core count. Suricata inspects each connection on a single core, so one fast download can only go as quickly as that core can inspect it. The clearest published reference point is Deciso’s own: its appliances built on a 4-core, 2.2 GHz AMD Ryzen V1500B are rated at about 1 Gbps of IPS throughput. Match or beat that per-core speed, give it 8 GB of RAM, and keep the ruleset sensible.

I went through this choosing a gateway for a 1 Gbps office line that also needed WireGuard at full speed, LTE failover and eight VLANs. Routing and VPN turned out to be easy for any modern box. IPS was the part that decided everything.

Why IPS is the hard part

Routing, NAT and firewall rules at 1 Gbps barely trouble current hardware. WireGuard is similar: Protectli’s own OPNsense tests show even its 4-core Intel N150 box reaching about 2.25 Gbps of WireGuard, which is the limit of its 2.5 GbE ports, not the CPU.

Suricata in IPS mode is different. Every packet passes from the network card to Suricata, gets matched against thousands of rules, and is handed back before it goes anywhere. That work is heavy, and it doesn’t spread across cores the way you’d hope:

  • OPNsense’s own performance documentation still says the Suricata/netmap IPS path re-injects traffic on one thread only.
  • Releases since 23.7 use netmap’s newer API, and Suricata now runs one worker per network-card queue. Several connections can then be inspected on several cores at once.
  • Each connection still lands on exactly one worker. A single large download, a backup job or a speed test is limited by one core either way.

So two numbers matter: single-core speed, which sets the ceiling for one connection, and core count, which only helps when many connections run at once.

What 1 Gbps with IPS needs

A box for 1 Gbps with IPS needs fast cores, Intel ports and enough memory for Suricata’s rule updates. In detail:

Part What to look for Why
CPU High clock speed per core; 4 cores or more One connection is inspected on one core
Network ports Intel (i226-V, X710) Native netmap support, which IPS mode needs
RAM 8 GB Suricata’s memory use jumps during rule updates
Storage SSD, 120 GB or more Logs and alert databases write constantly
Ports One more than you think WAN, failover WAN, LAN trunk, and a spare

OPNsense’s hardware sizing page stops at “350–750+ Mbps” for its recommended tier (a 1.5 GHz multi-core CPU, 8 GB of RAM and a 120 GB SSD) and doesn’t size for IPS at all, so treat it as a floor, not an answer.

How the common options compare

These are the boxes that come up most for a 1 Gbps OPNsense gateway, including the ones I shortlisted:

Box CPU Cores / threads Max clock Network ports
Protectli VP2430 Intel N150 4 / 4 3.6 GHz 4 × 2.5 GbE (i226-V)
Protectli VP3230 Intel i3-N305 8 / 8 3.8 GHz 2 × 2.5 GbE (i226-V)
Generic N305/N355 mini PC i3-N305 or Core 3 N355 8 / 8 3.8–3.9 GHz Usually 4–6 × 2.5 GbE (i226-V)
Protectli VP4630 Intel i3-10110U 2 / 4 4.1 GHz 6 × 2.5 GbE
Protectli VP6630 Intel i3-1215U 6 / 8 (2 performance cores) 4.4 GHz 2 × 10 GbE SFP+, 4 × 2.5 GbE
Deciso DEC2752 AMD Ryzen Embedded V1500B 4 / 8 2.2 GHz 2 × 10 GbE SFP+, 3 × 2.5 GbE

How I’d read that table for a 1 Gbps line:

  • N150 (VP2430): fine for routing and VPN at 1 Gbps, and workable for IPS with a tuned ruleset. It’s the one I’d expect to run out first when IPS, WireGuard and a busy office all peak together.
  • i3-N305 / Core 3 N355: eight fast cores at up to 3.8–3.9 GHz. The sweet spot for IPS at 1 Gbps with headroom. Protectli’s only N305 model, the VP3230, has just two ports, which is too few for WAN, failover and a LAN trunk; generic N305/N355 boxes with four or more Intel ports fill that gap, at the cost of vendor support and firmware quality.
  • i3-10110U (VP4630): skip it. Despite the i3 badge it has only two physical cores, on a 2019 platform, for about the same money as newer options.
  • i3-1215U (VP6630): the strongest single-core speed here and real 10 GbE ports. Overkill for 1 Gbps, but the one to buy if you’ll grow into multi-gigabit.
  • DEC2752: the only one sold with OPNsense on it by the people who make OPNsense, in a proper 1U rack case, rated by Deciso at about 1 Gbps IPS. Its clock speed is the lowest here, so that rating is its realistic ceiling.

Network cards: Intel, or expect trouble

IPS mode on OPNsense uses netmap, a fast path between the network card and Suricata. It works best with drivers that support netmap natively:

  • Intel i226-V, i225-V, i210/i211 and X710 are the safe choice. OPNsense’s documentation recommends Intel cards in general, and they’re what most people run IPS on.
  • Realtek ports are a gamble. OPNsense’s optional Realtek vendor driver runs netmap in emulated mode, and IPS stalls on Realtek are a recurring forum theme.
  • Broadcom bnxt cards do get native netmap through FreeBSD’s shared driver framework, but they’re far less tested with Suricata IPS than Intel cards.
  • Virtual machines with VirtIO network cards work, but keep the MTU consistent everywhere, or Suricata can crash on oversized frames.

With VLANs, enable IPS on the parent interface, not on each VLAN.

Set Suricata up so the hardware isn’t wasted

  1. Turn off hardware offloading under Interfaces > Settings: CRC, TSO and LRO. TSO is incompatible with IPS on OPNsense, and the IPS documentation asks for all offloading off.
  2. Choose Hyperscan as the pattern matcher in the IPS settings. It’s Intel’s fast matching library, built into OPNsense’s Suricata on x86, and every CPU in the table supports it.
  3. Enable only the rule categories you need. Loading every ET Open category costs CPU on every packet and rarely adds protection for a small office. Start with the policies that match your network and add categories with a reason.
  4. Put custom tuning in /usr/local/etc/suricata/conf.d. OPNsense 26.1 dropped custom.yaml, so older guides that edit it no longer apply.

OPNsense 26.1 also added a Divert capture mode for IPS, which works with firewall rules instead of binding to a network card. It’s more forgiving of virtual and unusual NICs, but there are no published throughput figures for it yet.

Test it before you trust it

Run iperf3 through the firewall with IPS on, once with a single stream and once with eight (iperf3 -c <server> -P 8), and watch the CPU in another SSH session with top -HSP.

  • Single stream slow, eight streams fast, one core at 100%: you’re limited by single-core speed. That’s the per-connection ceiling, and only a faster CPU raises it.
  • All cores busy: the ruleset is too heavy for the box. Trim categories before buying hardware.
  • Low CPU but low throughput: suspect the network card driver or leftover offloading settings.

If IPS turns out to be more than the line needs, IDS mode, which only alerts and doesn’t block, is far lighter on the same hardware.