From c5cbbc6c7abcc0eb665126a2089b6675149789b3 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 26 Sep 2023 15:20:38 -0700 Subject: [PATCH] Use firewalld block zone on Fedora Workstation Signed-off-by: Tommy --- Fedora-Workstation-38.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Fedora-Workstation-38.sh b/Fedora-Workstation-38.sh index 852b2fa..566137b 100644 --- a/Fedora-Workstation-38.sh +++ b/Fedora-Workstation-38.sh @@ -34,11 +34,7 @@ OPTIONS="-F 1"' | sudo tee /etc/sysconfig/chronyd sudo systemctl restart chronyd # Setup Firewalld -sudo firewall-cmd --permanent --remove-port=1025-65535/udp -sudo firewall-cmd --permanent --remove-port=1025-65535/tcp -sudo firewall-cmd --permanent --remove-service=mdns -sudo firewall-cmd --permanent --remove-service=ssh -sudo firewall-cmd --permanent --remove-service=samba-client +sudo firewall-cmd --set-default-zone=block sudo firewall-cmd --reload # Harden SSH