더북(TheBook)

9. 포트 9696번과 9292번을 다음과 같이 추가합니다.

[root@controller ~]# iptables -A INPUT -p tcp -m state –state NEW -m tcp
–dport 9696 -j ACCEPT
[root@controller ~]# iptables -A INPUT -p tcp -m state –state NEW -m tcp
–dport 9292 -j ACCEPT


10. iptables -L 명령어를 이용해 다시 방화벽 목록을 확인합니다.

[root@controller ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source                destination
neutron-linuxbri-INPUT all – anywhere anywhere
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 ACCEPT tcp – anywhere anywhere state NEW tcp dpt:http REJECT all – anywhere anywhere reject-with icmp-host- prohibited ACCEPT tcp – anywhere anywhere state NEW tcp dpt:9696 ACCEPT tcp – anywhere anywhere state NEW tcp dpt:armtechdaemon …

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