Is it possible to add the firewall rules for vCenter via any script?
-Connect to the vCenter VAMI (port 5480)
-Select Firewall
-Add the rules by Providing the values (Network Interface, IP Address, Subnet Prefix Length and Action)
-Click Save
This is what I got it to work"
yes it is possible
check also here
https://core.vmware.com/blog/first-line-defence-vcenter-server-appliance-firewall
I am sorry, I am unable to follow those commands.
After I connect the vCenter using root account via putty session, if I enter this command:
GET https://vCenterFQDN/api/appliance/networking/firewall/inbound
then I am getting this message: -bash: GET: command not found
Can you please help me what exact command I can run?
This is what I got it to work"