1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-23 15:22:12 -05:00

Lockdown firewalld on RHEL

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-12-12 01:21:56 -07:00
parent 9c942cf89e
commit 0c8ae2fa24
No known key found for this signature in database
GPG Key ID: D30DEC268D3FEB17

View File

@ -42,6 +42,7 @@ sudo systemctl restart chronyd
sudo firewall-cmd --permanent --remove-service=cockpit
sudo firewall-cmd --reload
sudo firewall-cmd --lockdown-on
# Harden SSH
mkdir -p /etc/ssh/ssh_config.d /etc/ssh/sshd_config.d