Configure a firewall for the service console. ESX uses iptables to provide the firewall. Don’t use the iptables command to configure it, though; use this command instead. In its default configuration, it denies all incoming or outgoing connections except for the ports required for the server to function:
Allow incoming connections by default.
Allow outgoing connections by default.
Block incoming connections by default.
Block outgoing connections by default.
Close a port. The type may be tcp or udp, The direction may be in or out.
Close the ports required by the specified service.
Open the ports required by the specified service.
Print a usage message. This is the default if no options are given.
Load current firewall settings into iptables.
Print all current settings or the state of a service specified by name. Instead of a service you can query the default settings for incoming or outgoing packets.
Open a port. The type may be tcp or udp, The direction may be in or out. You must give the service you have opened a name.
Reset all parameters to the installed defaults.
List known service names.
Allow vmware-cmd ...