Ask Your Question
1

VNC port not open in firewall

asked 2015-01-27 23:50:03 -0600

rvarghese gravatar image

Hello,

I trying to setup a 3 node juno on CentOS and most part it is successful. Issue what I am facing is the VNC console access through the Horizon dashboard. I figured the issue is with the iptables on compute node refusing the connection. The workaround I used is to put a firewall rule on compute node to allow the ports 5900-5999.

iptables -A IN_public_allow -p tcp --match multiport --dports 5900:5999 -j ACCEPT

But my question is this should be added to the rules dynamically by nova, right? Am I missing something?

Thanks RV

edit retag flag offensive close merge delete

Comments

on centos did you turn of the selinux or the builtin firewall if security is not a big concern for your lab.

9lives gravatar image9lives ( 2015-01-28 00:57:49 -0600 )edit

No, selinux is enabled and iptables in on. I believe these are required since compute dynamically create rules.

rvarghese gravatar imagervarghese ( 2015-01-28 07:40:43 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-30 02:55:41 -0600

dbaxps gravatar image

updated 2015-05-03 10:53:05 -0600

UPDATE 05/03/2015

Would you perform RDO Juno(Kilo)deployment via packstack,it disables firewalld and enables 
ipv4 iptables firewall automatically.

END UPDATE

Another approach to switch to ipv4 iptables firewall manually

service iptables save 
systemctl stop firewalld
systemctl disable firewalld
systemctl start iptables
systemctl enables iptables

Update /etc/sysconfig/iptables as needed

systemctl restart  iptables
systemctl status iptables
edit flag offensive delete link more

Comments

I was trying the fully manual installation and was missing the firewall part.

rvarghese gravatar imagervarghese ( 2015-05-01 22:22:38 -0600 )edit
0

answered 2015-04-29 22:23:14 -0600

rvarghese gravatar image

The issue was caused by the firewalld on Centos7. I disabled it and then VNC console start working.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-27 23:50:03 -0600

Seen: 2,600 times

Last updated: May 03 '15