CentOS7关闭防火
来源:互联网 发布:cda数据分析师相关数据 编辑:程序博客网 时间:2024/04/27 17:38
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。CentOS7修改防火墙改成iptablesfirewall:systemctl start iptables.service直接命令:service firewalld stop
1. Disable Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld2. Stop Firewalld Service.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld3. Install iptables service related packages.
[root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services4. Make sure service starts at boot:
[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable iptables# If you do not want ip6tables, You can skip following command.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable ip6tables5. Now, Finally Let’s start the iptables services.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl start iptables# If you do not want ip6tables, You can skip following command.
[root@rhel-centos7-tejas-barot-linux ~]# systemctl start ip6tablesFirewalld Service is now disabled and stop, You can use iptables.
0 0
- CentOS7关闭防火
- centos 关闭防火强
- centos7 设置防火强的问题
- Windows Server2008 禁止关闭防火强
- 在CentOS7或RHEL7防火墙上开启端口
- centos7如何关闭防火墙!
- centos7 关闭防火墙
- centos7 关闭防火墙
- centos7关闭防火墙
- CentOS7.0 关闭防火墙
- CentOS7中关闭selinux
- CentOS7 关闭防火墙
- CentOS7关闭防火墙
- centos7关闭防火墙
- 关闭Centos7的防火墙
- Centos7 关闭防火墙
- Centos7 关闭防火墙设置
- Centos7 关闭防火墙
- 树状数组 求逆序数
- MySQL重做日志
- 2015080405 - 书评们给点有价值的意见呗
- Python KNN 情感分类
- ListView左滑删除&代理模式
- CentOS7关闭防火
- POJ - 1463Strategic game入门树形DP
- Android远程服务四:远程服务service端和client端的线程关系
- Python开发--在python中,有着深拷贝和浅拷贝,即copy模块
- 三维GIS基础数据缺点
- ggplot2——图例篇
- Python开发--pprint
- C/C++经典算法精华整理(1)-求一个数的二进制类型中1(或0)的个数
- JAVA拾遗——面向对象,汇总及练习