- a linux kernel with KVM (full virtualization) and OpenVZ (containers)
- an interface to manage kvm, openvz, storage, backups and also monitoring
You can create, start, stop your virtual machines or containers via the web interface. For a KVM, they even provide a VNC java applet to see the screen of your virtual machine. This is amazing!
However, there is a small issue with this VNC java applet and IPv6...
As you can see in your daemon.log file, pvedaemon creates a socket with nc (netcat):
Feb 5 18:20:17 proxmox pvedaemon: CMD: /bin/nc -l -p <port> -w 30 -c /usr/sbin/qm vncproxy <VM id> <random string used as a key> 2>/dev/nullThe problem is that netcat is not IPv6-compliant. Not surprising: GNU Netcat latest version 0.7.1 was released on 11 Jan 2004, six years ago!
An IPv6-compliant port of netcat exists, it's netcat6.
A very powerful alternative to netcat is socat, also called "netcat++" because it offers so many features, including IPv6.
However, Proxmox does not use either netcat6 nor socat. In the meantime we could still use socat to listen exclusively on IPv6 TCP socket and forward trafic to the IPv4 TCP socket.
$ socat TCP6-LISTEN:5900,ipv6only=1,fork TCP:localhost:5900Notes:
- this command will never exit (it forks on every connection)
- you may have to start similar socat on ports 5901 and above (pvedaemon starts netcat listening on first available port above 5900)
Now you can view your virtual machine screen in IPv6. ;)