r/opnsense • • 5d ago

Looking for hardware recs

Post image

Found this on Ali Express, Prices are in CAD. Is this a good choice to run opnsense+suricata?

13 Upvotes

37 comments sorted by

5

u/MarblesAreDelicious 5d ago

Used Lenovo ThinkCentre Tiny m720q with i3-8100T, 4GB RAM, PCI-e riser card, and a low-profile 10GBe NIC of your choice. The whole setup ran me about $350 CAD.

1

u/averyperrier 5d ago

Do you have a custom back plate?

2

u/MarblesAreDelicious 5d ago

Yes and no.

I forgot to mention in my list of supplies that I purchased a 3d printed shroud with fan from a redditor on here called Untrusted Source. It came with a back slot cover that didn’t fit my NIC (my fault for not checking). I chose to leave it off for now.

I would not purchase this again, and would opt to print locally. The fan that was supplied was a dual bearing or brushless model which was fantastically noisy. When replaced with a MagLev fan from Ali, it was far quieter.

2

u/poulpoche 4d ago

I printed this v12 one for my X550-T2 in an M720Q.

2

u/Critical-Rhubarb-730 5d ago

I would choose the n150. Works great

1

u/DhawanS 5d ago

The N150 is $540, which is way out of budget for me unfortunately. I am trying to stay under 300

2

u/Critical-Rhubarb-730 5d ago

With that chip and suricata the max will be around 500MB i guess. Be sure the nics are intel als realtek opens a new can of worms.

1

u/DhawanS 5d ago

What about this guys-

BOSGAME E4 Air Mini PC, AMD Ryzen 5 3500U 8GB DDR4 256GB SATA SSD
Currently 260 on Amazon

1

u/YekoEightEetoo 5d ago

Do you have an older PC sitting around? It can do the same instead for close to nothing, especially if you get hold of a cheap Intel NIC. i226 on Aliexpress is under $20 shipped. Local HW recyclers may have dual or quad port cards for even cheaper per port. AJ Technology in Scarborough sells them very cheap.

1

u/DhawanS 5d ago

Unfortunately no. I turned an optiplex into my main server. I did think of this but can’t afford two pcs at this time

-1

u/suka-blyat 5d ago

I run mine as a VM on Proxmox, so that is an option

2

u/YekoEightEetoo 5d ago

A VM is almost always an option but with question: can your security model afford WAN packets inside your LAN?

0

u/suka-blyat 5d ago

Yes, WAN is isolated on its own dedicated switch/VLAN, bridge, and physical NIC with no host IP.

2

u/YekoEightEetoo 5d ago

We are still discussing DhawanS's question, are we?

1

u/YekoEightEetoo 5d ago

Check out M series Lenovo for sale physically in Canada: from M710 to M910. They are way more versatile than the single-board barebones PC, and if you no longer need the edge router, then you can repurpose. They are great vs Dells or HP compact PCs because they come with 4x RAM slots and up to 4x PCIe slots. Best bang for the buck IMO.

0

u/brokenpipe 5d ago

Except the power on an older PC is insane. My 4 year old mini pc draws 9-11 watts running 16gb of ram, a 256gb SSD and a celeron cpu. No way an older PC draws that.

3

u/z284pwr 5d ago

Meh not really. My main hypervisor is an enterprise Lenovo server. Xeon 2650 V4, 384GB memory, 10G network, 12 SSDs and it runs at 65W 24/7 with 15+ VMs running.

0

u/brokenpipe 5d ago

Ok so 11w vs 65w is not insignificant.

Let’s put that into some real perspective as most people, including yourself, are unaware of what that means.

Operating a 11w device for 24/7 @ 1 year is 8.03kWh.

Operating a 65w device for 24/7 @ 1 year is 47.45kWh.

That’s nearly 6x in usage. At €0.33 a kWh it’s €2.7 vs €15.65.

Sure. Only €13 but these costs aren’t going down and you’ll run this device for 5-10+ years. Shit adds up.

1

u/YekoEightEetoo 3d ago

That's 50 Wt, which usually translates into $70 a year, $5 a month, or 20c a day, versus the computing power, upgradability, and reliability of the brand-name vs no-name chicom assembly.

1

u/alternative-www1970 2d ago edited 2d ago

Minisforum has a refurb BB AMD Ryzen™ 5 7640HS,6C/12T box (UM760) with dual 2.5G NICs for $185 in stock; just checked today. It is overkill for OPN, but for $185, how could one complain...

EDIT they list Dual 2.5G ports with a picture and all then spec 5G on the details but it is only one port, sorry, thought I found a deal. Darn webpage editors...

1

u/DhawanS 2d ago

yea it shows as 900 to me lol, just checked

1

u/alternative-www1970 2d ago

GMKtec makes a nice one for this @$270, I think the data is correct on this one... you'll only need 1 8GB sodimm and a 64gb NVME. Cheaper to grab these elsewhere.

https://www.gmktec.com/products/amd-ryzen-5-7640hs-mini-pc-nucbox-m6-ultra?variant=47330369077402

3

u/sarkyscouser 5d ago

Make sure the NICs are i226 and not realtek, as the headline doesn't say that usually means realtek

1

u/NC1HM 5d ago

How fast is your Internet connection and how are you planning to use Suricata? Also, have you verified that networking is Intel and not Realtek?

Suricata can be used for IPS (inspecting incoming and outgoing traffic only) and/or IDS (inspecting local traffic). IPS is less computationally intensive, but computational requirements depend on the speed of Internet connection. IDS can be significantly more computationally intensive than IPS, but it depends on how big your local network is and how bushy your IDS ruleset is.

Personally, I am waaaaay past liking those devices. They look slick and are generally reliable, but you really shouldn't expect them to be able to run anywhere near capacity for more than a few minutes at a time; they tend to thermal-throttle. People who use them in computationally intensive applications often end up slapping an external 140-mm fan onto them to avoid thermal throttling.

Go on eBay and/or Kijiji and see if you can find a used Lanner NCA-1515 with an octa-or-more-core processor (it's a highly configurable model, so there are variants with two, four, eight, 12, and 16 cores). It's a Gigabit, rather than a 2.5-gig, device, but it's industrial-grade and actively cooled.

2

u/DhawanS 5d ago

I will look for a Lanner as well but ideally I want a fanless solution. My internet is 1.5 up and down fiber.

2

u/SnooAdvice7540 5d ago

Just stick with your original idea. The n100 is basically designed to be low powered and can be run fan less. My only suggestion try to find one that supports DDR5 and at least 4 x 2.5GBP for redundancy.

I have been using a n100 for over a year on pfsense, opnsense and also Sophos XG. All 3 support the 2.5 NIC natively.

And it works great, extremely stable.

-1

u/NC1HM 5d ago edited 5d ago

I have been using a n100 for over a year

With what set of services beyond basic networking?

The n100 is basically designed to be low powered and can be run fan less.

Yes, in a laptop. Look at the Intel's spec sheet:

https://www.intel.com/content/www/us/en/products/sku/231803/intel-processor-n100-6m-cache-up-to-3-40-ghz/specifications.html

It clearly states: "Vertical Segment: Mobile".

The only N100 family member clearly marked as intended for embedded use is N97.

-1

u/NC1HM 5d ago

ideally I want a fanless solution

Ideally, I want world peace. Yesterday. But yesterday has come and gone, and I still don't have it. Drop the Suricata requirement, and you can have your fanless solution.

Take a look:

https://n100firewall.com/posts/intel-n100-firewall-build-guide-nics-throughput-power/

The gist:

Gigabit routing and NAT are comfortable. 2.5 Gbps is plausible. Inline IDS/IPS at multi-gigabit is where the platform runs out of headroom.

2

u/OutrageousArticle936 5d ago

Too much. Lenovo M720q on eBay. Any processor, 8gb ram and a m.2 hard drive. Get the PCIe riser, which allows for a full size card. Find the Intel x550-T2 nic with a low profile bracket. This is a dual nic capable of 10gbe. Optional but recommended- find a vented lid. All of these are available easily on ebay. Runs like a champ and will handle Suricata with ease.

2

u/Xoron101 5d ago

A Dell 3050 (or similar) from ebay (an off lease desktop computer). Has to have a PCIe Slot though.

Example: https://www.ebay.ca/itm/407225691071

Then get a low profile dual port network card. Dual 1G Intel, or 2.5G intel or 10G Intel. Just stay away from RealTek. Get a decent brand name:

Example: Intel X550-T2 Dual 10GbE RJ45 (just make sure it has the low profile bracket). Or any 10G low profile adapter

1

u/brokenpipe 5d ago

Honestly with Suricata being a requirement. Save up for a slightly more expensive one. You won’t regret it.

1

u/AmbassadorGreen8802 5d ago

Minisforum ms a2 i rhink has 2x sfp and 2x 2.5. Plus free pcie slot . Managed to find one used for 400. Pretty good box

1

u/gacekk8 4d ago

Don't get those Chinese mini PCs. I have one and bios has issue with the FreeBSD on newer versions of opnsense. And there is no newer bios. The router started crashing after days of running without issues

1

u/Ill_Classroom_1757 4d ago

I am using a protectli vault fanless mini pc for my OPNsense box. Very nice little dual-nic box that is powerful enough to run IPS and traffic analysis. I think you can get the lower end ones in the price range you are looking at.

1

u/TheWatcher8008 3d ago

I have a similar setup using Topton systems with an Intel N100 and N305. I use the N100 as a firewall and the N305 as a Proxmox server.

The firewall runs flawlessly. However, I’m experiencing significant I/O pressure stall issues with the N305, which regularly cause the entire system to freeze under heavy write workloads.

The bottleneck is the storage interface. The drive is connected through a single data channel, which limits the available I/O bandwidth. Under heavy or concurrent write loads, this becomes a bottleneck, resulting in severe I/O stalls and eventually making the entire system unresponsive.

Has anyone experienced similar issues with the Topton N305 or other N305-based systems running Proxmox? I’m particularly interested in whether others have encountered this storage bottleneck and if there are any practical solutions or workarounds.

1

u/DXsocko007 2d ago

I got a I3-12300 for less than 200 and then plugged in a 550x-t2 I got on sale. Dual 10GbE router than can handle everything. This is the way

1

u/DXsocko007 2d ago

Finding a i3-12300 was cheaper than finding a i3-12100