![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iptables
shangyuanlang
运维之路
展开
-
centos7下部署iptables环境纪录(关闭默认的firewalle)
CentOS7默认的防火墙不是iptables,而是firewall. 由于习惯了用iptables作为防火墙,所以在安装好centos7系统后,会将默认的firewall关闭,并另安装iptables进行防火墙规则设定 下面介绍centos7关闭firewall安装iptables,并且开启80端口、3306端口的操作记录: [root@localhost ~]# cat /etc/redha...原创 2018-07-28 08:41:24 · 208 阅读 · 0 评论 -
centos6.5虚拟机安装后,没有iptables配置文件
openstack环境里安装centos6.5系统的虚拟机,安装好后,发现没有/etc/syscofig/iptables防火墙配置文件。 解决办法如下: [root@kvm-server005 ~]# iptables -P OUTPUT ACCEPT [root@kvm-server005 ~]# /etc/init.d/iptables save iptables: Saving fir...原创 2018-07-28 08:42:15 · 1195 阅读 · 0 评论