How to disable ESXi firewall

If you want to disable the esxi firewall service for some reason, you can disable it with the command below.

 

esxcli network firewall set --enabled false

 

Note that when you stop this service, esxi services are opened to the outside world. so re-enable it after making the necessary changes.