您的位置:首页 > 运维架构 > Linux

Centos 7 切换为iptables 防火墙

2017-10-11 09:59 281 查看
1.关闭firewall:

service firewalld stop
systemctl disable firewalld.service #禁止firewall开机启动


2.iptables安装以及 使用

yum install iptables-services #安装
systemctl start iptables
systemctl enable iptables
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: