【发布时间】:2015-01-13 19:32:34
【问题描述】:
我正在尝试理解 iptables 中的规则之一:
$ sudo iptables -t nat --list -v
...
Chain OUTPUT (policy ACCEPT 618 packets, 31267 bytes)
pkts bytes target prot opt in out source destination
0 0 DOCKER all -- any any anywhere !127.0.0.0/8 ADDRTYPE match dst-type LOCAL
...
所以这条规则试图匹配目标地址类型“LOCAL”而不是在 127.0.0.0/8 的范围内?
那么它会匹配什么地址? 这条规则的目的是什么?
谢谢!
【问题讨论】: