Fedora 10 ファイヤーウォールの設定
ナビゲーションに移動
検索に移動
Fedora10 ファイヤーウォールの設定
Fedora 10 | CentOS 初期設定 |
ポート 1158を許可する
確認
- # iptables -L
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT icmp -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:dbcontrol-oms
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ncube-lm
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5560
- REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
許可
- # iptables -I INPUT 9 -m state --state NEW -p tcp --dport 1158 -j ACCEPT
保存と再起動
© 2006 矢木浩人