23. 컴퓨트 노드로 돌아가서 문제가 발생한 포트 5900번을 Iptables에 다음 명령어를 이용해 추가합니다. Iptables 목록을 확인하면 추가한 포트가 있습니다.
[root@compute ~]# iptables -A IN_public_allow -p tcp -m tcp –dport 5900 -m conntrack –ctstate NEW -j ACCEPT [root@compute ~]# iptables -L … Chain IN_public_allow (1 references) target prot opt source destination
ACCEPT tcp – anywhere anywhere tcp dpt:ssh ctstate NEW ACCEPT tcp – anywhere anywhere tcp dpt:rfb ctstate NEW …
24. 다시 openstack console url show 명령어를 이용해 앞에서 생성한 demo_instance의 novnc url을 확인합니다.
[root@controller ~]# openstack console url show demo_instance +——-+———————————————————————-+ | Field | Value | +——-+———————————————————————-+ | type | novnc | | url | http://192.168.56.101:6080/vnc_auto.html?token=a7231d7e-8807-4a41- | b99d-bcc8134fb175 | +——-+———————————————————————-+