I recommend a dedicated machine for OPNsense.
My own setup runs on an older Intel i3 8th gen CPU with 8GB RAM, two 120GB SSDs in RAID 1, and dual Intel NICs. My entire WAN is behind a VPN and the machine pushes full gigabit speeds without any issues, even under full load, it only reaches around...