您现在的位置: 万盛学电脑网 >> 网络安全 >> 安全资讯防护 >> 正文

CentOS 7.0 关闭firewalld防火墙指令 及更换Iptables防火墙

作者:佚名    责任编辑:admin    更新时间:2022-06-22

service firewalld stop

 

本文来自织梦


织梦内容管理系统

1. Disable Firewalld Service. 内容来自dedecms

[root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld

2. Stop Firewalld Service. 本文来自织梦

[root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld

3. Install iptables service related packages. dedecms.com

[root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services

4. 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. 内容来自dedecms

[root@rhel-centos7-tejas-barot-linux ~]# systemctl enable ip6tables

5. 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 ip6tables

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

dedecms.com


版权声明,所有转载都有注明出处,本站不负责承担任何法律责往。若有侵权,请联系我。我会及时删除。 织梦内容管理系统

专业从事于个人计算机维护,系统安装,软 、硬件维修,计算机配件,零售业务,网站建设,路由器安装设置、 服务器维护,计算机、网络维护,智能手机刷机,安装WIFI 调试!

织梦好,好织梦