美文网首页
ERROR: iptables: Index of deleti

ERROR: iptables: Index of deleti

作者: wivwiv | 来源:发表于2018-03-09 17:47 被阅读798次

某天给 Docker 运行中的容器添加端口 NAT ,出错, 删不掉规则

ERROR: iptables: Index of deletion too big

各种找:

iptables-save >/tmp/somefile
vi /tmp/somefile
iptables-restore < /tmp/somefile

这样就可以

相关文章

网友评论

      本文标题:ERROR: iptables: Index of deleti

      本文链接:https://www.haomeiwen.com/subject/qklmfftx.html