iptables 报错!iptables-restore: unable to initialize table 'filter

简介:
1
2
3
4
5
6
7
8
root@localhost ~] # service iptables restart
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]
'ptables: Applying firewall rules: iptables-restore v1.4.7: iptables-restore: unable to initialize table ' filter
Error occurred at line: 3
Try `iptables-restore -h ' or ' iptables-restore --help'  for  more  information.
                                                            [FAILED]
1
2
3
4
初始化iptables下
iptables -F
service iptables save
service iptables restart

就可以了!加入规则

\


本文转自 cs312779641 51CTO博客,原文链接:http://blog.51cto.com/chenhao6/1327811

相关文章
|
网络安全 Docker 容器
ptables failed: iptables --wait -t filter -A DOCKER 问题解决
ptables failed: iptables --wait -t filter -A DOCKER
ptables failed: iptables --wait -t filter -A DOCKER 问题解决
|
5月前
How to drop and recreate SYS.SYS$SERVICE_METRICS_TAB
How to drop and recreate SYS.SYS$SERVICE_METRICS_TAB
29 1
|
网络安全 Docker 容器
failed to create network error response from daemon filed to setup ip tables问题
failed to create network error response from daemon filed to setup ip tables问题
185 0
|
11月前
|
网络安全 Docker 容器
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
|
运维 网络安全 Docker
docker报错ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
docker报错ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
418 0
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
968 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
configure: error: SELinux selected but libselinux not found
configure: error: SELinux selected but libselinux not found
103 0
|
Docker 容器 Kubernetes
解决kubeadm init /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
解决kubeadm init /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1 记录
17535 0