vmware 5.x firewall command line reference
From thelinuxwiki
CLI
List rulesets
esxcli network firewall ruleset list
List rules for ruleset vSphereClient
esxcli network firewall ruleset rule list -r vSphereClient
List IPs allowed for ruleset vSphereClient
esxcli network firewall ruleset allowedip list -r vSphereClient
Add allowed IP/network to ruleset vSphereClient
esxcli network firewall ruleset allowedip add -i 192.168.1.0/24 -r vSphereClient
external links
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2005284