Access the web interface of a server behind a router [solved]

Ralf

New Member
Mar 30, 2014
18
0
1
Germany
Hello,

at my home lab I have a local network with two proxmox servers behind a router.

With https://101.101.101.32:8006 and with https://101.101.101.111:8006 I can connect to the proxmox web interfaces of the two servers.

In order to access the proxmox web interfaces from the internet I forwarded the port 8018 to port 8006 of 101.101.101.32 and port 8016 to port 8006 of 101.101.101.111. Now I can connect to https://example.de:8018 and to https://example.de:8016, but not at the same time!
If I connect to https://example.de:8018 first and then to https://example.de:8016, the web interface of https://example.de:8018 shows "connection error".
If I connect to https://example.de:8016 first and then to https://example.de:8018, the web interface of https://example.de:8016 shows "connection error".

I also tried to change the port of the webinterfaces in /usr/bin/pveproxy to 8018 for the 101.101.101.32 and to 8016 for the 101.101.101.111, and to forward the port 8018 to port 8018 of 101.101.101.32 and port 8016 to port 8016 of 101.101.101.111, but this did not changed the conflicting behaviour.

My questions are what the reason for that conflict could be and if there is a solution to access the webinterfaces at the same time from the Internet?

Thank you very much for your help.
Kind regards,
Ralf.
 
Last edited:
Re: Access the web interface of a server behind a router

Cookies for authentification are shared for the same domain and different ports.
You must have differents domains (for example proxmox1.example.de and proxmox2.example.de).
 
Last edited:
Re: Access the web interface of a server behind a router

Hello Phyrene,

thank you very much for that swift and great answer. This solved my problem.

Kind regards,
Ralf
 

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!