SV-258769r1003571_rule
V-258769
SRG-OS-000480-VMM-002000
ESXI-80-000214
CAT II
10
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)
From an ESXi shell, run the following command:
# esxcli network firewall get
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.network.firewall.get.invoke()
If the "Default Action" does not equal "DROP", this is a finding.
If "Enabled" does not equal "true", this is a finding.
V-258769
False
ESXI-80-000214
From an ESXi shell, run the following command:
# esxcli network firewall get
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.network.firewall.get.invoke()
If the "Default Action" does not equal "DROP", this is a finding.
If "Enabled" does not equal "true", this is a finding.
M
5562