Running pfsense and unms on one server

Hey guys, hope you are all well.I need your help…So i have this idea of intergrating pfsense and UNMS on one of my computers, meaning they would run as Virtual Machines.The computer specs: HP DC5700 , 3Ghz Processor, Core 2 Duos, 160GB HDD, 4GB RAM. Is this possible and how ?

Theoretically possible using xcp-ng, but probably less than an ideal situation. It’s best to run pfsense on bare metal. While that machine would probably run either of those two instances, it might be stretching it to run both.