Proxmox 3.0 port redirection

petka

New Member
Hi,

When I was working with proxmox 2.3 I used to use a simple apache redirection to access the hypervisor.

Firstly, I had the following redirection on my apache proxy:

Code:
<VirtualHost *:443>
  ProxyPreserveHost Off
  ProxyPass / https://10.0.0.200:8006/
  ProxyPassReverse / https://10.0.0.200:8006/
  ServerName proxmox.my.host.com
  SSLProtocol -all +TLSv1 +SSLv3
  SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
  SSLVerifyClient none
  SSLEngine on
  SSLCertificateFile /etc/ssl/my.host.com/my.host.cert
  SSLCertificateKeyFile /etc/ssl/my.host.com/my.host.key
  SSLCaCertificateFile /etc/ssl/my.host.com/my.host.com.crt
  SSLProxyEngine On
</VirtualHost>

This way, I had been accessing proxmox which was on https://10.0.0.200:8006/ using an external domain.
Unfortunately, when I upgraded to 3.0 which does not use Apache any longer, the page is broken.

Please see the file attached to this post. This is what I see when I try to get to https://proxmox.my.host.com.
When I go to https://proxmox.my.host.com:8006 - everything is fine, although I would like to have it as it was at the beginning.

Any help would be highly appreciated.

Thanks,
Peter
 

Attachments

  • Selection_037.png
    Selection_037.png
    94.7 KB · Views: 11
I'm interested in much the same thing. Locating the document root is however my issue to start with.
 
Just use xinetd

apt-get install xinetd

touch /etc/xinetd.d/pve

vi pve
########################

service https
{
socket_type = stream
wait = no
disable = no
user = root
redirect = 127.0.0.1 8006
log_on_failure += USERID
}


service xinetd restart

Ciao, Diaolin