码迷,mamicode.com
首页 > 其他好文 > 详细

安装iptables防火墙

时间:2019-08-17 14:57:08      阅读:99      评论:0      收藏:0      [点我收藏+]

标签:ble   sysconf   stop   firewall   table   防火墙   enable   fir   firewalld   

若/etc/sysconfig/iptables不存在,即没有安装iptables防火墙

 

可以通过以下命令安装iptables防火墙

 

systemctl  stop firewalld

 

systemctl mask firewalld

 

yum install iptables-services

 

service iptables status

 

//设置开机启动

 

systemctl enable iptables

安装iptables防火墙

标签:ble   sysconf   stop   firewall   table   防火墙   enable   fir   firewalld   

原文地址:https://www.cnblogs.com/yangjiquan/p/11368243.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!