ESXI-67-000022 - The ESXi host SSH daemon must be configured to not allow gateway ports.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

SSH TCP connection forwarding provides a mechanism to establish TCP connections proxied by the SSH server. This function can provide similar convenience to a Virtual Private Network (VPN) with the similar risk of providing a path to circumvent firewalls and network Access Control Lists (ACLs). Gateway ports allow remote forwarded ports to bind to non-loopback addresses on the server.

Solution

From an SSH session connected to the ESXi host, or from the ESXi shell, add or correct the following line in '/etc/ssh/sshd_config':

GatewayPorts no

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y22M10_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000366, Rule-ID|SV-239277r674760_rule, STIG-ID|ESXI-67-000022, Vuln-ID|V-239277

Plugin: Unix

Control ID: 5021b543a5dae8f377a67e5ac0fd87de662357b4ddf1dae37878f3b44c796c49