[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;
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!