- 806 名前:login:Penguin mailto:sage [2009/09/15(火) 21:04:18 ID:A92myaqf]
- iptablesに関して教えてください
外部からはSSHのみ可能で、内部からはウェブサイトの閲覧だけ出来るように iptablesを設定したつもりですが、この書式だと外部からSSHできませんでした。 iptables -L は以下のようになっています。 何がおかしいかご教示いただけると幸いです。 Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere tcp dpt:ssh Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy DROP) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:http
|

|