Pfsense esxi



  • I had previously set up pfSense on an ESXi 6.0 server. Everything worked great. I then upgraded the motherboard and reinstalled ESXi, and that is when the problems started. I imported my old pfsense VM and it started up fine, but I couldn't access the gui, DHCP on the LAN wasn't working, and I could not access the internet. At this point it was the only VM installed since I needed to get it up first. I tried reinstalling pfsense and ESXi multiple times but no matter what I tried, it just would not work. I can access the ESXi server just fine from the WAN side, but as soon as I connect to the LAN side of the network nothing works. I even tried adding another NIC and passing that through directly to pfsense and it still doesn't work. I am at a complete loss here. If more information is needed let me know and I will be happy to tell you whatever it is you need to know. But I can't for the life of me figure it out. It's even the exact same version of ESXi

    I also just tried passing through another card for the wan directly to pfsense from ESXi and that did not work either. So both the NICs, lan and wan were passed through directly to pfsense and it did not work



  • This isn't really a PFS issue at all. You need to check your network settings on your ESXi and make sure your network infrastructure/hardware isn't faulty. It sounds a little vague, but it's probably one of the few suggestions you'll get given the information provided. I would also suggest perhaps finding a VMWare forum, or if you have paid support bring the question to your supplier or VMWware directly.


  • Rebel Alliance Global Moderator

    With muswellhillbilly here, without some understanding of your esxi setup there is no way to help you.

    How do you have your vswitches setup, what interfaces do they connect to on your esxi host.  How does pfsense interfaces connect to your vswitches..

    You say you can access esxi from wan??  So you have vmkern running on your phsyical interface connected to your wan??  Sounds like you just need to correct your esxi connections and network setup.  This really has nothing to do with pfsense..  Pfsense has nothing to do with you connecting to vmkern.  And if your networking is not correctly setup on esxi then no your not going to be able to access pfsense gui or would it be able to provide dhcp to your clients.  So yeah no internet.

    Post up your esxi network configuration and how you have this setup in pfsense and we can point out what could be wrong.



  • @johnpoz:

    With muswellhillbilly here, without some understanding of your esxi setup there is no way to help you.

    How do you have your vswitches setup, what interfaces do they connect to on your esxi host.  How does pfsense interfaces connect to your vswitches..

    You say you can access esxi from wan??  So you have vmkern running on your phsyical interface connected to your wan??  Sounds like you just need to correct your esxi connections and network setup.  This really has nothing to do with pfsense..  Pfsense has nothing to do with you connecting to vmkern.  And if your networking is not correctly setup on esxi then no your not going to be able to access pfsense gui or would it be able to provide dhcp to your clients.  So yeah no internet.

    Post up your esxi network configuration and how you have this setup in pfsense and we can point out what could be wrong.

    sorry for the late response i was camping all weekend.

    I could access esxi from the wan because i created a new vmkern to allow it. The old one was still set to allow management on the lan. so that was not the issue. I ruled out the networking setup in esxi being an issue when I passed through both nic's directly to the pfsense vm. Yes I know this would not allow me to access the esxi interface from the lan when I did that. But I still could not access the pfsense interface nor the internet. I wasn't using the ethernet controller onboard the mobo either, it was two pci cards. the same ones that have worked in pfsense in the past. One as recently as a couple hours before it stopped working. So that's why I'm so stumped. Even with the nic's passed through directly to the vm, it still didn't work


  • Rebel Alliance Global Moderator

    dude if it wasn't working then clearly it was setup wrong..

    I have been running pfsense on esxi for years..  Multiple versions of esxi and pfsense..  This is really is clickity clickity sort of stuff..

    connect wan phy nic to wan vswitch.  Give pfsense vnic on this vswitch.
    Connect esxi phy nic to lan vswitch, Give pfsense lan vnic on this switch. Connect this to your physical switch

    Your vmkern could be another connection into yoru physical lan, or could be port group on your lan vswitch and there you go your done..  You can add more networks/vlans whatever..

    Here is typical sort of setup