pfSense Hardware + ESXi Direct Connect Not Working
-
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!
-
-
@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