ESXI-80-000214 The ESXi host must configure the firewall to block network traffic by default.

Information

In addition to service-specific firewall rules, ESXi has a default firewall rule policy to allow or deny incoming and outgoing traffic. Reduce the risk of attack by ensuring this is set to deny incoming and outgoing traffic.

Solution

From an ESXi shell, run the following command:

# esxcli network firewall set --default-action false --enabled true

or

From a PowerCLI command prompt while connected to the ESXi host, run the following commands:

$esxcli = Get-EsxCli -v2
$arguments = $esxcli.network.firewall.set.CreateArgs()
$arguments.enabled = $true
$arguments.defaultaction = $false
$esxcli.network.firewall.set.Invoke($arguments)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-258769r1003571_rule, STIG-ID|ESXI-80-000214, Vuln-ID|V-258769

Plugin: VMware

Control ID: 1d6e8b23ee907ecd5eb0b3de5fed274fa934a7fa705a89d152783fcc1620cb79