We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 189ac88 commit b7f5dd6Copy full SHA for b7f5dd6
1 file changed
scripts/vm/hypervisor/xenserver/setupxenserver.sh
@@ -20,6 +20,13 @@ usage() {
20
}
21
22
23
+#removing iptables entry for vnc ports
24
+iptables -D RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>&1
25
+
26
+# remove listening vnc on all interface
27
+sed -i 's/0\.0\.0\.0/127\.0\.0\.1/' /opt/xensource/libexec/vncterm-wrapper 2>&1
28
+sed -i 's/0\.0\.0\.0/127\.0\.0\.1/' /opt/xensource/libexec/qemu-dm-wrapper 2>&1
29
30
# disable the default link local on xenserver
31
sed -i /NOZEROCONF/d /etc/sysconfig/network
32
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
0 commit comments