Sunday, September 27, 2009

Temporarily disable the ESX firewall

*Temporarily disable the ESX firewall with service firewall stop or the following commands:
-esxcfg-firewall -allowIncoming
-esxcfg-firewall -allowOutgoing
*Permanently disable the firewall with chmod 644 /etc/init.d/firewall
(re-enable with chmod 744)
*Enable the ESX firewall with the following commands:
-service firewall start (if it was stopped)
-esxcfg-firewall -blockIncoming
-esxcfg-firewall -blockOutgoing
More vQuotes

1 comment:

  1. esxcfg-firewall --allowIncoming --allowOutgoing

    Works in one command

    ReplyDelete