You can specify which networks are allowed to connect to each service that is running on the host.
About this task
You can use the vSphere Client or the command line to update the Allowed IP list for a service. By default, all IP addresses are allowed.
- Select the host in the inventory panel.
- Click the Configuration tab and click Security Profile.
- In the Firewall section, click Properties.
- Select a service in the list and click Firewall.
- Select Only allow connections from the following networks and enter the IP addresses of networks that are allowed to connect to the host.
You can enter IP addresses in the following formats: 192.168.0.0/24, 192.168.1.2, 2001::1/64, or fd3e:29a6:0a81:e478::/64.
- Click OK.