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

centos7关闭防火墙

时间:2015-08-07 16:42:49      阅读:337      评论:0      收藏:0      [点我收藏+]

标签:

直接命令:service firewalld stop

 

1. Disable Firewalld Service.

[root-centos7-tejas-barot-linux ~]

2. Stop Firewalld Service.

[root-centos7-tejas-barot-linux ~]

3. Install iptables service related packages.

[root-centos7-tejas-barot-linux ~]

4. Make sure service starts at boot:

[root-centos7-tejas-barot-linux ~]

# If you do not want ip6tables, You can skip following command.

[root-centos7-tejas-barot-linux ~]

5. Now, Finally Let’s start the iptables services.

[root-centos7-tejas-barot-linux ~]

# If you do not want ip6tables, You can skip following command.

[root-centos7-tejas-barot-linux ~]

Firewalld Service is now disabled and stop, You can use iptables.

centos7关闭防火墙

标签:

原文地址:http://my.oschina.net/u/2345713/blog/489124

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