centos 7 关闭 firewall、iptables
生活随笔
收集整理的這篇文章主要介紹了
centos 7 关闭 firewall、iptables
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
systemctl是CentOS7的服務管理工具中主要的工具,它融合之前service和chkconfig的功能于一體。
1、關閉firewall
systemctl status firewalld.service systemctl stop firewalld.service systemctl disable firewalld.service firewall-cmd --state2、關閉iptables
yum install iptables-services systemctl status iptables.service systemctl stop iptables.service systemctl disable iptables.service cd /etc/sysconfig mv /etc/sysconfig/iptables /etc/sysconfig/iptables.bak mv /etc/sysconfig/iptables-config /etc/sysconfig/iptables-config.bak touch /etc/sysconfig/iptables touch /etc/sysconfig/iptables-config reboot轉載于:https://www.cnblogs.com/ctypyb2002/p/9793027.html
總結
以上是生活随笔為你收集整理的centos 7 关闭 firewall、iptables的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Unity MeshRender更换材质
- 下一篇: 外出学习总结