mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-08 11:11:34 -05:00
Use firewalld block zone on Fedora Workstation
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
9f89e65e0d
commit
c5cbbc6c7a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user