I have run an OPNsense router like this but not through Proxmox. I did it through virtualization and did a direct PCI passthrough. The main thing is I needed 3 Ethernet ports for this setup to work. It does create at this point as bare metal you can get through virtualization. I am not a network engineer so take what I say with some salt.
I would recommend it but I am confused by some things you have. It sounds more like a switch is needed and the 2.5g to be setup on the LAN side while 1g wan. Most providers don’t go above 1g wan. The router will not be used in an unmanaged switch as it will do direct connections. A managed switch would need some of the traffic to go through the router. The router would only be needed from LAN to WAN.
Main thing is that the internet goes down any time your host updates or router. Booting host then VM can take a few min in some cases.
Level1tech on YouTube has a detailed walkthrough on this type of setup.
I have run an OPNsense router like this but not through Proxmox. I did it through virtualization and did a direct PCI passthrough. The main thing is I needed 3 Ethernet ports for this setup to work. It does create at this point as bare metal you can get through virtualization. I am not a network engineer so take what I say with some salt.
I would recommend it but I am confused by some things you have. It sounds more like a switch is needed and the 2.5g to be setup on the LAN side while 1g wan. Most providers don’t go above 1g wan. The router will not be used in an unmanaged switch as it will do direct connections. A managed switch would need some of the traffic to go through the router. The router would only be needed from LAN to WAN.
Main thing is that the internet goes down any time your host updates or router. Booting host then VM can take a few min in some cases.
Level1tech on YouTube has a detailed walkthrough on this type of setup.