SV-275617r1148290_rule
V-275617
SRG-OS-000481-GPOS-00481
RIIM-OS-255010
CAT II
10
Deny all other SSH connections and allow SSH connections from a specific IP address by using the following commands. Allow from NetIM core/worker(s)/manager in a base configuration with UFW allow.
$ sudo ufw deny from any to any port 22
$ sudo ufw allow from <NETIM_IP_ADDRESS node list> to any port 22
Where NETIM_IP_ADDRESS list are the list of NETIM IP addresses for all nodes.
Note: This will restrict system admins to use of the CONSOLE mechanism available depending on the Virtual Platform being used.
Verify firewall rule exists to restrict SSH to allow specific IP addresses only by using the following commands:
$ sudo ufw status
If a firewall rule does not exist to restrict port 22 to allow specific IP addresses and deny all other address, this is a finding.
V-275617
False
RIIM-OS-255010
Verify firewall rule exists to restrict SSH to allow specific IP addresses only by using the following commands:
$ sudo ufw status
If a firewall rule does not exist to restrict port 22 to allow specific IP addresses and deny all other address, this is a finding.
M
5706