Resetting the ESX host firewall policy in ESX 4.x

By - Last updated: Monday, October 29, 2012 - Save & Share - Leave a Comment

Resetting the ESX host firewall policy in ESX 4.x

You cannot stop the firewall service in ESX 4.x. If you try, you see the
message:

Firewall can’t be stopped. To disable the firewall run:
esxcfg-firewall –allowIncoming –allowOutgoing

You can allow all packets through the firewall by running the command:

$ esxcfg-firewall --allowIncoming --allowOutgoing

To return the firewall configuration to its previous setting, run the
command:

$ esxcfg-firewall --blockIncoming --blockOutgoing

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003634

Posted in General • • Top Of Page