[Linux] Firewall configuration centos 7


Writing time : 2017-03-28 01:03:38

Firewall configuration centos 7

You can check if the firewall is running using the systemctl status firewalld command.

# systemctl status firewalld  
firewalld.service - firewalld - dynamic firewall daemon  
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)  
Active: active (running) since 화 2017-03-28 00:59:12 KST; 2s ago  
Docs: man:firewalld(1)  
Main PID: 2496 (firewalld)  
CGroup: /system.slice/firewalld.service  
└─2496 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid  
  
3월 28 00:59:11 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...  
3월 28 00:59:12 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.  

To disable the firewall, run the command systemctl stop firewalld.

# systemctl start firewalld  

The command to restart the firewall is systemctl start firewalld.

# systemctl start firewalld  
Previous post

Next post

Other posts in the category