Regarding CJ's question "No comment on the performance, but keep in mind that this means your internet will be tied to your TrueNAS. If you need to take it down for any reason, your entire network goes with it. Is there a particular problem you're attempting to solve by virtualizing it?"I totally understand your point, and this is a good question which I've thought carefully about, and there are pluses and minuses either way. But in the end I decided to virtualize, mainly because it will allow me eliminate extra hardware and cabling, reduce energy usage, and clear some space on the shelving unit where I have my gear set up. I can't just use one of those mini firewall devices for OPNsense, at least not easily, because one of the adapters is 10gbps SFP+ and another is 2.5gpbs base-T, and finding a mini PC that supports 10gbps (especially) is difficult. So right now, I'm using an old mini Tower for OPNSense. It will be nice to clear it out of there.Also, two physical computers (one with OPNsense, one with Truenas) means extra hardware to maintain, with twice the components that can fail.All of that being said, yes your point is certainly valid. Virtualizing OPNsense on Truenas means that if Truenas goes down, my entire network does. That's a downside, but it's a risk I've decided to take, mainly because Truenas SCALE is extremely stable, runs for months with no problems, and is installed on server hardware with ECC memory, and the OPNsense VM will be on a 3x mirror pool, so out of three HDDs, up to two could fail and OPNsense would still function.
Quote from: patrick3000 on September 29, 2023, 06:18:52 pmRegarding CJ's question "No comment on the performance, but keep in mind that this means your internet will be tied to your TrueNAS. If you need to take it down for any reason, your entire network goes with it. Is there a particular problem you're attempting to solve by virtualizing it?"I totally understand your point, and this is a good question which I've thought carefully about, and there are pluses and minuses either way. But in the end I decided to virtualize, mainly because it will allow me eliminate extra hardware and cabling, reduce energy usage, and clear some space on the shelving unit where I have my gear set up. I can't just use one of those mini firewall devices for OPNsense, at least not easily, because one of the adapters is 10gbps SFP+ and another is 2.5gpbs base-T, and finding a mini PC that supports 10gbps (especially) is difficult. So right now, I'm using an old mini Tower for OPNSense. It will be nice to clear it out of there.Also, two physical computers (one with OPNsense, one with Truenas) means extra hardware to maintain, with twice the components that can fail.All of that being said, yes your point is certainly valid. Virtualizing OPNsense on Truenas means that if Truenas goes down, my entire network does. That's a downside, but it's a risk I've decided to take, mainly because Truenas SCALE is extremely stable, runs for months with no problems, and is installed on server hardware with ECC memory, and the OPNsense VM will be on a 3x mirror pool, so out of three HDDs, up to two could fail and OPNsense would still function.You could have just used the quote functionality of the forum. Regarding mini pc that support 2.5g and 10g SFP+, have you looked at the R86S-U4? It sounds like it fits your use case perfectly. HomeNetworkGuy reviews it with OPNSense here. https://homenetworkguy.com/review/gowin-r86s-u4/ I believe he's on the forum but I don't know his username.In regards to virtualizing OPNSense, I wasn't even referring to hardware failures. What happens when you need to update TrueNAS? Or replace a drive for more storage, etc. Regardless, it's your network, but I wanted to point out the risks.
Thanks. I didn't know about that mini PC with 2.5gb and 10gb SFP+ support. It looks like a nice option, as most mini PCs lack 10gb ports. Although frankly I'm still leaning toward virtualizing as my Truenas system almost never needs to be taken off-line, but that is the one of the better options I've seen in mini PCs for use as firewalls.
For testing OPNSense can already be bootstrapped on a FreeBSD 13.2 and the experience should be very close if not identical with the upcoming TrueNAS 13.1
The Cobia announcement was a bit concerning, sounded like FreeBSD TrueNAS is on an extended life support. All resources go on Linux and some bits will get backports later on.