You can use Spice Proxy. The easiest way is to run proxy on Squid. I recommend connect via VPN.
Here is a part of my Squid's configuration to connect Spice consoles from VPN
10.25.0.0/16 and LAN
192.168.0.0/16 to oVirt's hosts on
192.168.2.0/24:
acl manager proto cache_object
acl localhost src
127.0.0.1/32 ::1
acl to_localhost dst
127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src
192.168.0.0/16acl localnet src
10.25.0.0/16acl Safe_ports port 80 # http
acl CONNECT method CONNECT
http_access allow localnet
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
acl spice_servers dst
192.168.2.0/24http_access allow spice_servers
http_access allow localnet
http_access allow localhost
http_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 100 16 256
cache_mem 32 MB
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
You have to configure Spice Proxy on oVirt Engine by `engine-config -s SpiceProxyDefault=someProxy`. Here is my solution: