Setting up OPNsense as Router for LXC Containers & Virtual Machines

barlap

New Member
Dec 29, 2023
3
1
3
Does somebody have any tutorial for setting up an OPNsense/Pfsense as a router for all containers/vms created in proxmox?
I want to do this in order to isolate the vms from my home network and also get a static ip from an external server using OPNsense VPN function .

I attached my current configuration below.
I tried creating a new vmbr1 in network tab and install OPNsense but when I create a vm and try to access the OPNsense GUI it only works if vmbr0 is linked as a network device to that machine. If I only use vmbr1 I can't access the OPNsense GUI.
opnsense-config.png
 

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!