You can customize many of the essential security settings for your ESXi host through the Firewall, Services, and Security Profile panels available in the vSphere Client. The Security Profile is especially useful for single host management. If you are managing multiple hosts, consider using one of the VMware CLIs or SDKs and automating the customization.