Could I specify another port when generating SPICE .vv file to access Proxmox remotely from frp reverse proxy?

prolab

New Member
Aug 11, 2020
21
2
3
My ISP can't assign a public IP to my router so it appears I need to configure some proxy to access the Proxmox VE server remotely. I searched around and found two free services, one is https://www.zerotier.com/ and another one is https://www.natfrp.com/ . It appears the zerotier need to install a driver on both machines, but my office's Windows laptop does not provide me administrator account that I can't install the driver. So I use the second one's frp reverse proxy service.

I configured two links for the frp service. One is to redirect the local web gui page https://192.168.123.182:8006/ to remote https://43.249.xxx.xxx:55012 and another is to redirect local's SPICE proxy port https://192.168.123.182:3128 to remote https://43.249.xxx.xxx:55011 port. If I want to use SPICE remotely, I have to download the .vv file and quickly edit the proxy's line from proxy=http://43.249.xxx.xxx:3128 to proxy=http://43.249.xxx.xxx:55011 in able to connect. Since the *.vv file expires in 30 seconds, I have to edit it very fast and it's not easy to do so.

So I'm wondering could I specify the port for the proxy when generating SPICE .vv file not using the default 3128 port? Or could I increase the timeout limit for the .vv file? Or is there other ways or any best practices to remotely access the server other than the zerotier or frp?
 
Use the same port on the router or use a vpn.
 
Use the same port on the router or use a vpn.

Thank you for the reply. The free frp service https://www.natfrp.com/ can only specify port in the 10240~65535 range. I can't use the same port 3128. I also search for vpn option, but it appears most vpn services are paid, it's hard to find a free and reliable one...
 
If you have changing IP, why not just use a dynamic DNS option? Many routers support that or some tools on the PVE node directly can do the same thing.
https://en.wikipedia.org/wiki/Dynamic_DNS
Thank you for the reply again. The IP address my ISP assigned to my router through PPPOE is 10.78.233.xxx. It appears it's an local lan IP, when I access an external website (like https://whatismyipaddress.com) to check my IP it shows 223.104.212.x. So I guess dynamic DNS can only point to my ISP's IP 223.104.212.x not my IP 10.78.233.xxx right?
 
Oh well, this is f... . Then I would suggest to rent a small vps (~3 EUR/month) and use it as vpn gateway. That gives you the benefit of having the system and vpn under control.
 

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!