һred hat/CentOs7رշǽ!
1:鿴״̬

systemctl status firewalld

service  iptables status

2:ʱرշǽ

systemctl stop firewalld

service  iptables stop

3:ùرշǽ

systemctl disable firewalld

chkconfig iptables off

4:ǽ

systemctl enable firewalld

service iptables restart  

5:ùرպ

//ʱûԹ

chkconfig iptables on

 

firewalld
Centos7ĬϰװfirewalldûаװĻʹ yum install firewalld firewalld-configаװ

1.ǽ

systemctl start firewalld 
2.÷ǽ

systemctl stop firewalld
3.ÿ

systemctl enable firewalld
4.ֹͣÿ

sytemctl disable firewalld
5.ǽ

selinuxر

 disable

vim /etc/selinux/config
SELINUX=disabled

