[SOLVED] Change Spice Proxy port

meepmeep

Renowned Member
Apr 14, 2013
51
8
73
Hi

For network reasons, I would like to change the spice proxy port (from 3128 to 2288 for example)
But I'm unable to find the configuration file setting this parameter...

I have a workaround with an iptables rules (DNAT), but I have to manually edit the .vv file everytime I want to use it. So i'm looking for a better / simpler solution so i'll have the correct port on the .vv file :)

(I'm using proxmox 4.3-7)
 
try to hack theses files

Code:
/usr/share/perl5/PVE/HTTPServer.pm:    my $remport = $remip ? 3128 : $spiceport;
/usr/share/perl5/PVE/AccessControl.pm:    proxy => "http://$proxy:3128",
/usr/share/perl5/PVE/Service/spiceproxy.pm:    my $socket = $self->create_reusable_socket(3128, undef, $family);
/usr/share/perl5/PVE/Service/spiceproxy.pm:SPICE proxy server for Proxmox VE. Listens on port 3128.
/usr/share/perl5/PVE/API2Tools.pm:    my $port = $uri->port || 3128;