Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfSense Hardware + ESXi Direct Connect Not Working

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 341 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      IFixIT
      last edited by

      Helllo! I'm having a networking issue with pfSense(Barebones) and an ESXi VM. Here's my configuration

      pfSense (Barebones/Hardware), OPT2 Port --> ESXi vSwitch 1 --> ESXi VM

      • vSwitch 1: VLAN 0, Allow Promiscuous + MAC Changes + Forged Transmits, Standard vSwitch

      • OPT2 Rules: Allow all and allow ICMP to anything not in local network; allow all except port 22 & 443 to default route/pfSense

      With the above configuration, any traffic from the ESXi VM to the internet, such as ping or DNS request, gets logged in pfSense as 'pass' but never makes its way back. i.e. if I ping 8.8.8.8 from the VM, I see the pfSense 'pass' the traffic in the System Logs, but the VM receives no response. Same with a DNS nslookup.

      However, everything works if I add a Ubiquiti Swtich in the mix:

      pfSense (Barebones/Hardware), LAN Port --> Ubiquiti Switch VLAN 10 --> ESXi vSwitch 1 --> ESXi VM

      • Same vSwitch configuration, same rules as above, only applied to VLAN 10 on LAN network.

      This doesn't seem right to me. There should be a way to plug in pfSense directly to a vSwitch, right? Any help would be appreciated. Thank you!

      kiokomanK 1 Reply Last reply Reply Quote 0
      • kiokomanK Offline
        kiokoman LAYER 8 @IFixIT
        last edited by

        @ifixit
        not enought information but if i have to guess you need to set the vswitch to vlan10 or vlan4095 if you have configured vlans on pfsense

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.