广告合作
  • 今日头条

    今日头条

  • 百度一下

    百度一下,你就知道

  • 新浪网

    新浪网 - 提供新闻线索,重大新闻爆料

  • 搜狐

    搜狐

  • 豆瓣

    豆瓣

  • 百度贴吧

    百度贴吧——全球领先的中文社区

  • 首页 尚未审核订阅工具 订阅

    iptables 信息读取出错:没有那个文件或目录

    来源:网络收集  点击:  时间:2024-08-05
    【导读】:
    服务 iptables 信息读取出错:没有那个文件或目录查看防火墙状态显示Redirecting to /bin/systemctl status iptables.serviceUnit iptables.service could not be found.解决步骤1/7分步阅读

    停止 firewalld

    # systemctl stop firewalld# systemctl mask firewalld

    2/7

    安装 iptables-services

    yum install iptables-services

    3/7

    再查看防火墙状态

    service iptables status

    4/7

    开启 iptables

    #service iptables start

    5/7

    把 iptables 加到开机启动项中

    # systemctl enable iptables

    6/7

    保存防火墙规则

    service iptables save

    7/7

    检查状态

    service iptables start

    注意事项

    问题产生原因可能是由于安装系统时没联网造成的服务没有成功安装

    IPTABLES
    本文关键词:

    版权声明:

    1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。

    2、本站仅提供信息发布平台,不承担相关法律责任。

    3、若侵犯您的版权或隐私,请联系本站管理员删除。

    4、文章链接:http://www.1haoku.cn/art_1065580.html

    相关资讯

    ©2019-2020 http://www.1haoku.cn/ 国ICP备20009186号05-07 00:23:23  耗时:0.036
    0.0357s