Yes, there are two advantages:
1. When you use cross-VLAN-traffic, you do not share the bandwidth of one port. That might come in handy when you use file transfers from a NAS to a PC when both are connected via 2.5 Gbps. Incidentally, 300 MByte/s seems to be the speed where RAID-volumes with HDDs max out and also, Nxxx CPUs can also do that.
2. FreeBSD (and hence OpnSense) does not like mixing tagged VLANs and untagged traffic on the same interface. While you can fix that by using all tagged VLANs, some vendors prefer their management VLAN untagged (e.g. Unifi). Thus, you need two LAN interfaces: one untagged and the other for all tagged VLAN traffic.
That is obviously impossible with only two ports, unless you use another VLAN for WAN traffic. In that case, you can also use a router-on-a-stick.
Another warning: Cheap china boxes are often worse in cooling performance than, say, brand variants like Protectli (they also offer firmware updates). N305 uses more power than N150, despite having the same max TDP. (almost no vendor actually limits those units at their base TDP) While it is true that the performance is slightly better, it all originates from more threads. Last time I looked, Zenarmor supported only single threading in the CE version.
Supply of these boxes has diminished severely since prices are so high. You could get yourself an N1x0 four port box without RAM and SSD for < 200€ in 2025. The same box now costs >300€ and the RAM and NVME come in at another 200 instead of 100€.
1. When you use cross-VLAN-traffic, you do not share the bandwidth of one port. That might come in handy when you use file transfers from a NAS to a PC when both are connected via 2.5 Gbps. Incidentally, 300 MByte/s seems to be the speed where RAID-volumes with HDDs max out and also, Nxxx CPUs can also do that.
2. FreeBSD (and hence OpnSense) does not like mixing tagged VLANs and untagged traffic on the same interface. While you can fix that by using all tagged VLANs, some vendors prefer their management VLAN untagged (e.g. Unifi). Thus, you need two LAN interfaces: one untagged and the other for all tagged VLAN traffic.
That is obviously impossible with only two ports, unless you use another VLAN for WAN traffic. In that case, you can also use a router-on-a-stick.
Another warning: Cheap china boxes are often worse in cooling performance than, say, brand variants like Protectli (they also offer firmware updates). N305 uses more power than N150, despite having the same max TDP. (almost no vendor actually limits those units at their base TDP) While it is true that the performance is slightly better, it all originates from more threads. Last time I looked, Zenarmor supported only single threading in the CE version.
Supply of these boxes has diminished severely since prices are so high. You could get yourself an N1x0 four port box without RAM and SSD for < 200€ in 2025. The same box now costs >300€ and the RAM and NVME come in at another 200 instead of 100€.
"