Technology Sharing

Firewalld in Linux

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

1. Firewalld in Linux

1. What is a firewall?

Mainly prevent network attacks, generally divided into software firewalls and hardware firewalls

2. The role of firewall

Protect the system from unauthorized access and attacks. Prevent hackers from exploiting vulnerabilities and displaying access to specific network services

3. Linux firewall classification

Centos7->Firewall->firewalld firewall

4. Firewalled

(1) Firewall service management

Start the firewall
# systemctl start firewalld
Stop the firewall
# systemctl stop firewalld
Restart the firewall
# systemctl restart firewalld
Check the firewall status
# systemctl status firewalld
Set startup
# systemctl enable firewalld
Set not to start at boot
# systemctl disable firewalld
Reload the firewall
# systemctl reload firewalld