Unlike prior versions of ESX, v5 uses an XML file to describe the firewall configurations. These files are stored in the /etc/vmware/firewall directory and are automatically loaded. Firewall rules should be installed as part of a VIB package.
More information on creating rules: http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vsphere.vcenterhost.doc_50/GUID-E1D90120-73EB-4B00-9F89-8650EBE911F7.html
Once installed, the firewall rules and service is managed via the vSphere client.
- Open vSphere and select Hosts and Clusters
- Select a host and click the Configuration tab
- Select Software | Security Profile
- Next to Firewall, click Properties to enable or disable specific rules