Cannot pass traffic to WAN interface
-
I'm setting up a test lab with several vlans using ESXi 6.0, a small managed switch and pfsense virtualized on top of ESXi. I'm having an issue reaching anything on the outside of the WAN interface from my LAN interface and any of the VLAN interfaces that were created off my LAN interface.
Within ESXi I have two vSwitches created; vSwitch0 and vSwitch1. vSwitch0 contains my pfsense WAN port and uplinks to the physical adaptor that connected into my external network. My external network is a private subnet in my works network. It provides my pfsense with internet access. My WAN interface has a static IP in the 172.16.x.x subnet. I made sure not to block private or bogon networks in the WAN interface config. From my pfSense shell I can ping any IP on the WAN interface.
vSwitch1 has several port groups:
LAN, which has it's vlan value set to "ALL (4095)" The parent pfsense interface to all my vlans is assigned to this group.
MGT1, which has it's vlan value set to 2200
SEC1, which has it's vlan value set to 2210
DMZ1, which has it's vlan value set to 2220
STG1, which has it's vlan value set to 2230
vSwitch1 is attached to the physical adaptor on the host that's connected to a small managed switch.In pfsense I have a LAN interface setup without any VLANs assigned to it. I created a vlan with LAN as the parent interface for 2200 through 2230.
Inter-vlan routing works within and between vlans. I tested this by turning packet filtering OFF on pfsense to rule out the firewall rules from causing issues. EVen with packet filtering completely off, I am still unable to reach the outside. Since packet filtering also turns off NAT, I figured maybe nat translation wasn't being done and therefor wasn't going outside of the WAN interface. I turned packet filtering back on, and made a rule in each of my LAN/VLAN zones to allow ALL to destination "ANY" for ANY protocol. I also made sure outbound nat was set to automatic. This still didn't fix the issue.
open-vm-tools is installed, and the routing table looks fine as well. Now I'm pretty much stumped as to what it could be. Any idea's on what to try next? I'm including screenshots of my configs here for your reference.
http://i.imgur.com/h38F8ez.png
http://i.imgur.com/Vhu8Nje.png
http://i.imgur.com/Jo6iCQF.png
http://i.imgur.com/ZAI74qn.png
http://i.imgur.com/zCrCHxq.png
http://i.imgur.com/6VExgRR.png
http://i.imgur.com/g4NenL6.png
http://i.imgur.com/FHQKC0k.png
http://i.imgur.com/A2QsERF.png
http://i.imgur.com/qib3AVw.png
http://i.imgur.com/T70RuEp.png
http://i.imgur.com/ynPqOpR.png
http://i.imgur.com/BFU5Bko.png
http://i.imgur.com/iFrneMI.png
http://i.imgur.com/qrayfpi.png -
I found the fix to my issue. The issue was being compounded by one of my troubleshooting steps. When I disabled packet filtering to verify that it wasn't the firewall rules causing the issue, outbound nat would also be turned off, which won't allow traffic through the wan. The firewall rules I had were only allowing TCP to flow. I was troubleshooting using PING with is ICMP.