Simple VLAN setup for Proxmox / OPNsense?

ZZer00

Member
Dec 11, 2021
6
0
6
51
I'm not sure how to proceed with setting up a simple VLAN setup and whether to use vlan aware Linux Bridges, or Openvswitches?

I don't want to do any vlan configuration on my physical switches at all.
It should all be done on Proxmox and/or OPNsense.

I have 2 proxmox servers. One is at the edge of my network and it hosts an OPNsense firewall, and the other is in the core.

I want to be able to run some vlans to keep traffic isolated on my internal networks.
I want to add a vlan tagged interface to a guest vm on my core proxmox, and it should be able to communicate with OPNsense.

So far I have just used a vmbr0 Linux Bridge that is set to vlan aware connected to my physical 10G interface.
Added standard vmbr0 / vmbr1 / etc interfaces to my OPNsense VM. No tags from the Proxmox UI.
Created vlan interfaces in my OPNsense firewall. Tagged in the OPNsense UI.
Created VM guests with the network card set to specific vlans. Tagged on the Proxmox UI

This is working, but is there a better way to approach it?

Any advice on how to set this up would be greatly appreciated
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!