CentOS 7的防火墙

来源:互联网 发布:淘宝一淘与淘宝的关系 编辑:程序博客网 时间:2024/05/22 15:06
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。firewall:systemctl start firewalld.service#启动firewallsystemctl stop firewalld.service#停止firewallsystemctl disable firewalld.service#禁止firewall开机启动
改成iptablesfirewall:systemctl start iptables.service

0 0