ESXi 5.5 Firewall Commands

ESXi Firewall Commands
CommandDescription
esxcli network firewall getReturns the enabled or disabled status of the firewall and lists default actions.
esxcli network firewall set --defaultactionUpdate default actions.
esxcli network firewall set --enabledSet to true to enable the firewall, set to false to disable the firewall.
esxcli network firewall loadLoad the firewall module and rule set configuration files.
esxcli network firewall refreshRefresh the firewall configuration by reading the rule set files if the firewall module is loaded.
esxcli network firewall unloadDestroy filters and unload the firewall module.
esxcli network firewall ruleset listList rule sets information.
esxcli network firewall ruleset set --allowedallSet the allowedall flag.
esxcli network firewall ruleset set --enabledEnable or disable the specified rule set.
esxcli network firewall ruleset allowedip listList the allowed IP addresses of the specified rule set.
esxcli network firewall ruleset allowedip addAllow access to the rule set from the specified IP address or range of IP addresses.
esxcli network firewall ruleset allowedip removeRemove access to the rule set from the specified IP address or range of IP addresses.
Did you find this article useful? Why not share it with your friends?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.