ESXi hosts have an inbuilt firewall setting between the management interface and the rest of the network. The firewall is configured to drop all incoming and outgoing traffic but for a specific set of services in ESXi Host.In order to secure ESXi host by allowing only certain IP addresses or IP ranges after a fresh installation of ESXi, you can use the ESXi vSphere client, vCenter or vSphere ESXi CLI to configure the firewall settings.

Manage ESXi firewall Using vSphere client

It is an easy way to configure the firewall settings using a vSphere client or ESXi vCenter GUI.

Login your vSpere client

Click ESXi host

Go to Configuration

Click Security Profile under Software – You can see the services list and firewall