これを実行すると現状のフィルタリングルールを確認することができ、下記のように表示されると思います。(下記の表示結果はubuntu12.04の場合です) Chain INPUT (policy ACCEPT 0 packets, 0 bytes) target port opt source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) target port opt source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) target port opt source destination 上記のような結果が表示された場合は、policy ACCEPTと書かれていることから、全てのパケットに対して入ってくること、出ていくことが許可されてい
![iptablesの設定内容確認と設定例](https://cdn-ak-scissors.b.st-hatena.com/image/square/22f637fc71d38ebe8e69bdbf5d2a87b19076279b/height=288;version=1;width=512/https%3A%2F%2Fvirment.com%2Fimages%2F2013%2F03%2Fiptables3.png)