Feature #2454
Updated by Daniel Molina over 7 years ago
Stefan Kooman said:
<pre>
Currently there is no option to enable IPv6 for novnc-server
(websockify) although websockify supports this. I've made a little
(dirty) hack to enable IPv6 for websockify:
--- /root/OpenNebulaVNC.rb 2013-11-08 21:37:13.958535135 +0100
+++ /usr/lib/one/ruby/OpenNebulaVNC.rb 2013-11-09 22:08:12.951812886 +0100
@@ -70,7 +70,7 @@
@pipe = nil
@token_folder = File.join(VAR_LOCATION, opts[:token_folder_name])
- @proxy_path = File.join(SHARE_LOCATION, "websockify/websocketproxy.py")
+ @proxy_path = File.join(SHARE_LOCATION, "websockify/websocketproxy.py -6")
@proxy_port = config[:vnc_proxy_port]
@wss = config[:vnc_proxy_support_wss]
If sunstone is reachable over IPv6 your clients might want to reach the
websockify port over IPv6 as well, if they want to make a VNC
connection. It would be nice to have a config option in
sunstone-server.conf to influence this behaviour (i.e :vnc_proxy_ipv6:
yes/no).
</pre>
<pre>
Currently there is no option to enable IPv6 for novnc-server
(websockify) although websockify supports this. I've made a little
(dirty) hack to enable IPv6 for websockify:
--- /root/OpenNebulaVNC.rb 2013-11-08 21:37:13.958535135 +0100
+++ /usr/lib/one/ruby/OpenNebulaVNC.rb 2013-11-09 22:08:12.951812886 +0100
@@ -70,7 +70,7 @@
@pipe = nil
@token_folder = File.join(VAR_LOCATION, opts[:token_folder_name])
- @proxy_path = File.join(SHARE_LOCATION, "websockify/websocketproxy.py")
+ @proxy_path = File.join(SHARE_LOCATION, "websockify/websocketproxy.py -6")
@proxy_port = config[:vnc_proxy_port]
@wss = config[:vnc_proxy_support_wss]
If sunstone is reachable over IPv6 your clients might want to reach the
websockify port over IPv6 as well, if they want to make a VNC
connection. It would be nice to have a config option in
sunstone-server.conf to influence this behaviour (i.e :vnc_proxy_ipv6:
yes/no).
</pre>