Is there a way to show the network interfaces via iptables -L in Ubuntu 12.04?
When I execute an iptables -L I get an output like this :
Chain INPUT (policy DROP)
target prot opt source destination
...
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
...
which is somehow misleading. First I was thinking, great rule, allows everything until I discovered that this rule is bound to interface localhost.
Is there a way to get an overview which shows the rules and the interfaces at once?