Pfsense and Proxmox Configuration Help

andrewsetiawan

New Member
Oct 16, 2023
1
0
1
Hi there,

I recently build a homeserver and I decided to run a virtual environment with a Proxmox as the hypervisor. One of the goals running proxmox is to also be able to also run a pfsense as my firewall within the same machine. I'm running proxmox on a PC that has two onboard NICs. Following some guides and tutorials online, I have successfully installed pfsense and made it work to handle the traffic of the vms, but not the 2nd onboard NIC. I would like to connect the 2nd nic to a switch which then will connect to other devices on the network. I configured it by using 2 linux bridges for the pfsense. One bridge as vmbr0 that binds one of the NICs and get the WAN from, the other bridge is just an empty bridge (vmbr1) that pfsense uses it as a LAN where the VMs connect to to get ip addresses and traffic from.

Can someone guide me with the proxmox configuration so that all traffic from the 2nd nic and the vms inside proxmox will go through pfsense and also have proxmox running behind pfsense as well. What should I do to make the 2nd nic working to handle the routing of the the devices that are connected to the physical NIC.

Thanks,

Andrew
 
Can someone guide me with the proxmox configuration so that all traffic from the 2nd nic and the vms inside proxmox will go through pfsense and also have proxmox running behind pfsense as well. What should I do to make the 2nd nic working to handle the routing of the the devices that are connected to the physical NIC.
That 's a routing problem and need to be done in your pfsense. Your lan devices need to set a gateway and probably also need to have DHCP, which you have to provide, because PVE does virtualization not, network infrastructure.

To restrict your PVE from beeing in the WAN-side, just do NOT set a IP on the bridge there, set it only on then LAN bridge.
 

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!