プロが教えるわが家の防犯対策術!

iptablesのデフォルトの設定(#iptables -Lの見方)
について教えて頂けませんでしょうか。

教えて頂きたい箇所は、デフォルトのiptablesの設定の以下★の箇所です。
====
Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
★1 ACCEPT all -- anywhere anywhere
====
この★箇所は、すべてを許可しているように見えるのですが、例えば、http通信をする場合など、
なぜ追加設定が必要なのでしょうか。

<デフォルトのiptablesの設定>
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
★1 ACCEPT all -- anywhere anywhere
2 ACCEPT icmp -- anywhere anywhere icmp any
3 ACCEPT esp -- anywhere anywhere
4 ACCEPT ah -- anywhere anywhere
5 ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
6 ACCEPT udp -- anywhere anywhere udp dpt:ipp
7 ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
8 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
9 ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
10 REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

お手数をおかけしますが、よろしくお願いします。

A 回答 (1件)

iptable -L -v

    • good
    • 0
この回答へのお礼

ヒントをありがとうございます。
解決できそうです。
ありがとうございました。

お礼日時:2010/05/04 11:16

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!