Pfsense as a router within proxmox

beautron7

New Member
Mar 7, 2015
3
0
1
Hi,
Please bear with me as i am a noob to proxmox, but i have tried googleing and i cant understand what most people are saying
I currently have a really powerfull desktop as a pfsense router, but i was thinking about leveraging the horsepower for other applications. i asked various fourms what is the best way to do that and people said proxmox. i have looked at a few different tutorials to try to understand what exactly proxmox does, and how to install it. i am now wondering how i should connect proxmox to the internet when i start (LAN or WAN). if i connect it as a client to my LAN, then will there be issues when i connect it to the WAN and connect the LAN as a client of the proxmox? if that will cause issues, could someone describe what i could do to prevent them?
 
*NOT recommended, but thoughts I have had with setting up something similar, I have not moved forward due to security conerns I have*

Security note - I have not set this up as this actually leaves proxmox connected directly to the internet, I have not worked with the proxmox firewall enough to know how to secure that from outside traffic while also allowing the traffic to pass through pfsense. I would honestly just suggest getting either a small low power machine or old PC set up as a pfsense router and put proxmox on the more powerful machine.

*Only suggested for testing, if you follow these instructions make sure you BACKUP your pfsense config so if it doesn't work you can reinstall and be back to where you were*

I think that I have an idea of what you're talking about. This will not be a how to set this up but should give some idea on how to if you choose to. If the desktop that you have running pfsense right now has a processor with virtualization then you could install proxmox to it. Remember to back up your pfsense config before you do as this would wipe your current hdd. You would also want at least two network adapters (I do not think this will work with a wireless adapter)

After the setup of proxmox you will have under networking 1 linux bridge attached to eth0 with the network information you set up with installation. For ease I would suggest this to be the green network adapter. You will then want to set eth1 for dhcp (in the case that's what your isp supports), Set that as another linux bridge, vmbr1 which we will add to the pfsense vm as the red interface.

Setting up the pfsense vm, at least for me - your mileage may vary (I use it as an internal to proxmox router).
Create VM, name it, I used the top linux choice, specify iso (you need to upload this before you can complete this), I used IDE as hdd, cpu choice, memory choice, then in network you will want to keep Intel E1000 (tried virtio and it didn't work).
After you create the VM you will need to add another Network interface, same Intel E1000, but connected to the vmbr1 bridge (red interface).
Set up pfsense like you normally would with those interfaces. This is as far as my knowledge on the subject would go.

Hope this helps in some way.