더북(TheBook)

3. 포트 80번이 정상적으로 실행되고 있다면 방화벽에서 포트 80번을 허용하고 있는지 iptables 명령어를 이용해 확인합니다. 결과를 보니 Iptables 서비스의 방화벽 목록에는 포트 80번이 없습니다.

[root@controller ~]# 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:ssh ACCEPT tcp – anywhere anywhere state NEW tcp dpt:amqp 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

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.