iptablesでポート空ける
[root@jetspeed Desktop]# iptables -L > iptables0.log #現時点でのiptablesルール [root@jetspeed Desktop]# iptables -I INPUT -p tcp -m tcp --dport 8080 --syn -j ACCEPT #8080ポートを空ける [root@jetspeed Desktop]# iptables -L > iptables1.log #追加後のiptablesルール [root@jetspeed Desktop]# diff iptables* #ちゃんと追加されてるか確認 2a3 > ACCEPT tcp -- anywhere anywhere tcp dpt:webcache flags:FIN,SYN,RST,ACK/SYN [root@jetspeed Desktop]# /etc/init.d/iptables save active #設定の保存+適用 ファイアウォールのルールを /etc/sysconfig/iptables に保存中[ OK ]