Firewall operation commands in Linux

Linux operating firewall commands

View firewall status

systemctl status firewalld

Temporarily turn off the firewall

systemctl stop firewalld

Permanently turn off the firewall

systemctl disable firewalld

Restart firewall

systemctl enable firewalld

or

service iptables restart  

Guess you like

Origin blog.csdn.net/u010312671/article/details/106754730