![](sweat.gif)
裸着跑了好多天,现在才发现。求大佬们帮看下原因,急。

centos7上iptables一加这条规则就启动不了:

  • -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT复制代码

报:

  • -- Subject: Unit iptables.service has begun start-up
  • -- Defined-By: systemd
  • -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  • --
  • -- Unit iptables.service has begun starting up.
  • Oct 13 11:58:56 xiaoji iptables.init[14047]: libkmod: kmod_module_get_holders: could not open '/sys/module/sg/holders': No such file or directory
  • Oct 13 11:58:56 xiaoji iptables.init[14047]: iptables: Applying firewall rules: iptables-restore: line 22 failed
  • Oct 13 11:58:56 xiaoji iptables.init[14047]: [失败]
  • Oct 13 11:58:56 xiaoji systemd[1]: iptables.service: main process exited, code=exited, status=1/FAILURE
  • Oct 13 11:58:56 xiaoji systemd[1]: Failed to start IPv4 firewall with iptables.复制代码