mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 17:41:32 -05:00
Lockdown firewalld on RHEL
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
9c942cf89e
commit
0c8ae2fa24
@ -42,6 +42,7 @@ sudo systemctl restart chronyd
|
|||||||
|
|
||||||
sudo firewall-cmd --permanent --remove-service=cockpit
|
sudo firewall-cmd --permanent --remove-service=cockpit
|
||||||
sudo firewall-cmd --reload
|
sudo firewall-cmd --reload
|
||||||
|
sudo firewall-cmd --lockdown-on
|
||||||
|
|
||||||
# Harden SSH
|
# Harden SSH
|
||||||
mkdir -p /etc/ssh/ssh_config.d /etc/ssh/sshd_config.d
|
mkdir -p /etc/ssh/ssh_config.d /etc/ssh/sshd_config.d
|
||||||
|
Loading…
Reference in New Issue
Block a user