[node-patches] Change in ovirt-node[ovirt-3.6]: post el7: Adjust VNC and Spice in iptables rules

fabiand at redhat.com fabiand at redhat.com
Mon Nov 23 17:13:20 UTC 2015


Hello Douglas Schilling Landgraf,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/49031

to review the following change.

Change subject: post el7: Adjust VNC and Spice in iptables rules
......................................................................

post el7: Adjust VNC and Spice in iptables rules

VDSM set remote_display_port_min to 5900 and remote_display_port_max to 6923 in
/etc/libvirt/qemu.conf. This patch adjust the iptables rules in node side as well.

Change-Id: I0f0c0413dae51db4f93b5606800fd1afeb072456
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1266530
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/centos7-post.ks
M recipe/rhevh7-post.ks
2 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/31/49031/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index 71a39a1..c7cf97f 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -129,7 +129,7 @@
 -A INPUT -p tcp --dport 24007 -j ACCEPT
 -A INPUT -p tcp --dport 24009:24109 -j ACCEPT
 # guest consoles
--A INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT
+-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT
 # migration
 -A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
 # snmp
@@ -157,7 +157,7 @@
 # SSH
 -A INPUT -p tcp --dport 22 -j ACCEPT
 # guest consoles
--A INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT
+-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT
 # migration
 -A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
 # snmp
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 304ed45..4fd77b4 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -130,7 +130,7 @@
 -A INPUT -p tcp --dport 24007 -j ACCEPT
 -A INPUT -p tcp --dport 24009:24109 -j ACCEPT
 # guest consoles
--A INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT
+-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT
 # migration
 -A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
 # snmp
@@ -158,7 +158,7 @@
 # SSH
 -A INPUT -p tcp --dport 22 -j ACCEPT
 # guest consoles
--A INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT
+-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT
 # migration
 -A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
 # snmp


-- 
To view, visit https://gerrit.ovirt.org/49031
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f0c0413dae51db4f93b5606800fd1afeb072456
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list