proxmox with pfsense?

xokia

Member
Apr 8, 2023
95
8
8
I purchase a Beelink EQ12 16GB ram 512GB SSD and two 2.5Gb ethernet ports.

I'd like to setup proxmox on this and then run pfsense in a VM and use this as my primary DHCP and DNS resolver. Just a little confused on setup.

1 ethernet would connect directly to the WAN and 1 would connect the LAN. I am thinking the WAN can be a direct passthrough to pfsense VM. I do not want proxmox to accessible from outside the local network. So I need proxmox to get its IP address from the pfsense running in VM.

I dont know if the LAN connection should be passthrough or bridge?

Seems like proxmox would need to boot, bring up the VM then get its IP from pfsense. Is that possible or am I creating a cyclical loop?
 
I dont know if the LAN connection should be passthrough or bridge?
If you would want to passthrough LAN as well you would need a third NIC for PVE itself as passthroughed hardware can't be used by the host any longer.
 
I would probably dedicate/pass through one NIC to pfsense using something like this tutorial (but with appropriate changes for your situation) https://www.joe0.com/2019/11/16/con...irtual-lan-configuration-on-a-managed-switch/

I would probably dedicate the second NIC to Proxmox itself. You will need two connections from the Beelink to a managed switch. I would make the second NIC VLAN aware so you can use it on any VLAN for the VMs and containers running inside of Proxmox.
 
Alternatively you could pass both NICs through to pfsense and ad a 2.5gbe USB NIC for Proxmox to use. Then it becomes much easier to set up and you don't have to mess with VLANs if you don't want.
 

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!