Spice viewer with reverse proxy

mbc

New Member
Oct 12, 2020
12
0
1
21
Hi there,


I recently setup a reverse proxy (using Nginx proxy manager) to access pve from something.mydomain.com.
It works correctly except Spice.

Looking at the spice file I can see that there's a line:
proxy=http://something.mydomain.com:3128

From my limited knowledge this won't work, since something.mydomain.com is listening on port 443 and redirecting to 8006 (proxmox pve port)

I could create another subdomain called spice.mydomain.com that redirects to port 8123. So then on the spice config files I should introduce
proxy=https://spice.mydomain.com:443

But this doesn't work, am I missing something?
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
3,276
373
88
hi,

have you allowed inbound connections to port 3128 on the firewall?

So then on the spice config files I should introduce
proxy=https://spice.mydomain.com:443
no need, it should work when you allow the port
 
  • Like
Reactions: mbc

mbc

New Member
Oct 12, 2020
12
0
1
21
hi,

have you allowed inbound connections to port 3128 on the firewall?


no need, it should work when you allow the port
Hi,

Yes, port 3128 is open.


Three tested scenarios:
- Entering proxmox and downloading the spice file from 192.168.1.xxx (local network). This is the "Control test" --> it works
- Entering proxmox and downloading the spice file from something.mydomain.com (local network) --> doesn't work
- Entering proxmox and downloading the spice file from something.mydomain.com (outside network) --> doesn't work


More things (that might be useful). The domain something.mydomain.com is redirected through Cloudflare using CNAME.
 

mbc

New Member
Oct 12, 2020
12
0
1
21
Really no one has tried to access SPICE from outside the network?
 

mbc

New Member
Oct 12, 2020
12
0
1
21
Works for me.
No ports open? Apart from 3128

Accessing via SSL?

Maybe the problem is that I'm using reverse proxy, But even if I change the port on the spice file I get errors.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!