By default, the firewall for each service allows access to all IP addresses. To restrict traffic, change each service to allow traffic only from your management subnet. You might also deselect some services if your environment does not use them.
About this task
You can use the vSphere Web Client, vCLI, or PowerCLI to update the Allowed IP list for a service. By default, all IP addresses are allowed for a service.
- Browse to the host in the vSphere Web Client inventory.
- Click the Manage tab and click Settings.
- Under System, click Security Profile.
- In the Firewall section, click Edit and select a service from the list.
- In the Allowed IP Addresses section, deselect Allow connections from any IP address and enter the IP addresses of networks that are allowed to connect to the host.
Separate IP addresses with commas. You can use the following address formats:
- Click OK.