Youtube Guide
This guy does everything im going to talk about: Divgitally Only follow this guide till 4:11min though, as after that its deprecated stuff. Have a look at OPNSense Setup instead.
Proxmox interface setup
See the official guide on how to get it installed: Proxmox - Open vSwitch
While switching to OVS, I recommend that you first delete ALL Linux-bridge stuff and then create the OVS bridges. (Do not click “Apply” while there is nothing configured :) )
This ensures, that the network device is transformed into a OVS Port, enabling the OVS bridges to correctly interface with it.
I am running one OVS-Bridge with multiple Int-Ports, which are then connected to the OPNSense VM. Meaning, the OPNSense has no Idea VLAN’s exist.
Installing OPNSense
Long text version with side-quest info: zenarmor tutorial
- Download the image (im choosing serial, amd64)
- Extract the image and upload to Proxmox host.
Image type
Pay attention that you get a .iso, not a .img as this failed to boot on my machine. More info here
- Create a new VM with the ISO, don’t boot yet, don’t assign networking interfaces.
On how much resources:
- 2 Gig of RAM
- 2 vCPU
- 10 Gig Disk
This is what I use (i am low on resources) and the only thing id say: ensure that your disk is big enough…it should not consume much, but depending on your setup, log files start to exist.
If you notice your running low on disk from the get-go, you might have a LOT of swap configured. Here is how to change that: OPNSense Swap