Commonly used commands in Linux

Linux common commands

Table of contents

Linux common commands

firewall command


firewall command

 

  • Check the fire status: systemctl status firewalld service iptables status
  • Temporarily turn off the firewall: systemctl stop firewalld service iptables stop
  • Permanently turn off the firewall: systemctl disable firewalld chkconfig iptables off
  • Restart the firewall: systemctl enable firewalld service iptables restart  

 

Guess you like

Origin blog.csdn.net/a34651714/article/details/102757520