简书链接:iptablesNochaintargetmatchbythatname错误的解决方法
文章字数:49,阅读全文大约需要1分钟
重启docker容器

1
2
3
4
5
6
7
8
9
10
root@OpenWrt:/mnt/sdc2/config/bind/bind/etc# nano named.conf
root@OpenWrt:/mnt/sdc2/config/bind/bind/etc# iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 10000 -j DNAT --to
-destination 172.17.0.2:10000
iptables: No chain/target/match by that name.
root@OpenWrt:/mnt/sdc2/config/bind/bind/etc# iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 10000 -j DNAT --to
-destination 172.17.0.2:10000
root@OpenWrt:/mnt/sdc2/config/bind/bind/etc# iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 10000 -j DNAT --to
-destination 172.17.0.2:10000
root@OpenWrt:/mnt/sdc2/config/bind/bind/etc#