centos7 포트가 안열립니다...
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:mysql
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:http
1 40 ACCEPT tcp -- any any anywhere anywhere tcp dpt:rfb
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ftp-data
202 15148 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- any any anywhere anywhere
0 0 ACCEPT all -- lo any anywhere anywhere
0 0 ACCEPT tcp -- any any anywhere anywhere state NEW tcp dpt:ssh
0 0 ACCEPT tcp -- any any anywhere anywhere state NEW tcp dpt:ftp
30 3518 REJECT all -- any any anywhere anywhere reject-with icmp-host-prohibited
이렇게 열고 service iptables restart도 했습니다.
그런데 [nc -z 주소 포트]로 확인을 하니 새로 연 포트(mysql,http,rfb)만 응답이 없습니다...
service iptables stop도 사용해 봤으나 무반응 이였고요...
뭐가 문제인 걸까요 ㅜ-ㅜ
댓글 달기