国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

解決centos7中使用service iptables stop 顯示not loaded

2016-07-06 07:19:48 33283

centos從7開(kāi)始默認(rèn)用的是firewalld,這個(gè)是基于iptables的,雖然有iptables的核心,但是iptables的服務(wù)是沒(méi)安裝的。所以你只要停止firewalld服務(wù)即可: 
sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service

如果你要改用iptables的話,需要安裝iptables服務(wù): 
sudo yum install iptables-services 
sudo systemctl enable iptables && sudo systemctl enable ip6tables 
sudo systemctl start iptables && sudo systemctl start ip6tables


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問(wèn)題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問(wèn)題: