Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache)

sawgood

New Member
Nov 8, 2012
7
0
1
Hi:

Using Proxmox 3.0 (different setup from 1.8/1.9) ... how can I accomplish this goal:

MOVE the GUI to Proxmox 3.0 from being open/available at:

https://public-ip:8006
to only being available at
https://127.0.0.1:8006

I want to require a SSH login to the box first (with cert) (done) , and then only could one get to the GUI at https://127.0.0.1:8006.

I had this done with Apache, but with pveproxy ... it is not as easy.
I could not find this documented ... any tips would be appreciated ...

Finally, is there a good book or .PDF on Proxmox (covering 1.8 through this new version 3.0)?

Thanks again in advance.
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

ugly hack.....

1. backup /usr/bin/pveproxy
2. edit pveproxy
change
$daemon = PVE::APIDaemon->new(
port => 8006,
TO
$daemon = PVE::APIDaemon->new(
host => "127.0.0.1",
port => 8006,

3. service pveproxy restart

Maybe dietmar can implement this feature in future with config file :)
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

Thank you! Worked as your hack described ... getting rid of the rest 'left' on the outside is something I'll follow though with bug updates, etc.
Nice to have gotten such a fast work around / reply.
Thanks again.
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

Hey (update) ...

With the changes made, yes Proxmox 3.0 is 'behind' the WAN (so to speak) using https://127.0.0.1:8006, but what I've discovered is that I cannot console to a KVM box anymore.
If I put the box back to https://public-IP:8006, console works as it should.
Something else might need to be put in the pveproxy file and/or another helpful hint would be appreciated.
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

Console seem need tunnel 8006 and 5900 5901 ...
Ltunnel.png
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

Hey eBliss

Any documentation on where in pveproxy one can 'adjust' :5900 like :8006 was done, or from you screen shot (it is just puTTY that needs the entries)?
 
Re: Proxmox 3.0: changing https://public-ip:8006 to https://127.0.0.1:8006 (no apache

Hey eBliss:

Got it ... thanks for the tips ... I have :8006 working has a 'hack' on 127.0.0.1:8006 (the public IP still has a web landing page at the public IP though) = I'm ok with that.
And ... using your screen shot, I got puTTY working with console access working at :5900.

Thanks again.
 

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!