CentOS关闭防火墙

[root@localhost vsftpd]# service vsftpd restart
Shutting down vsftpd: [  OK  ]
Starting vsftpd for vsftpd: [  OK  ]
[root@localhost vsftpd]# ps -ef | grep iptables
root     25745 23250  0 08:20 pts/2    00:00:00 grep iptables
[root@localhost vsftpd]# /etc/init.d/iptables stop
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]

 

[root@localhost vsftpd]# chkconfig --level 35 iptables off 
 

你可能感兴趣的:(centos,防火墙)