proxmox on top of debian vps

Lana

New Member
Nov 13, 2023
18
1
3
hello everyone, im installing proxmox on top of debian 11 and for the VM i rent from a VPS provider. and after i installing the proxmox i cant connect to the WEB gui can someone pls help me. thanks
 
Well, you got the right version and guide...your vps should have two ports, WAN and LAN...the webgui will be on LAN IP:8006.
How are you accessing your vps, ssh? Can you access Proxmox via ssh?
yes i can but i need to do dhclient -v first to get ip address for my vm then i can do ssh do you have any solution for that so i dont need to do that everytime i start the vm ?
 
my private ip address is 10.69.83.174
You should be able to access the webgui at 10.69.83.174:8006...
I have found it easy use .home.arpa for host name...easy to resolve, example lanapve.home.arpa. I suspect that whatever you had chose for hostname isn't resolvable or is not pointing to your LAN address.
"The hostname of your machine must be resolvable via /etc/hosts"

By mask I mean 103.xxx.xxx.xxx
 
Last edited:
You should be able to access the webgui at 10.69.83.174:8006...
I have found it easy use .home.arpa for host name...easy to resolve, example lanapve.home.arpa. I suspect that whatever you had chose for hostname isn't resolvable or is not pointing to your LAN address.
"The hostname of your machine must be resolvable via /etc/hosts"

By mask I mean 103.xxx.xxx.xxx
oh i see sorry i have little knowledge abaout ip address and stuff and thanks for telling me

can u delete ur reply that said please mask that address its still showing the ip address on ur reply thanks
Please mask that address.
 
The private address is okay to expose, just not the public address. Check what you had configured for DNS also.
 
Last edited:
for the ip address that keep disepearing after i reboot the vm do have any solution ?
please show your
Code:
nano /etc/hosts
...it should look like below:

127.0.0.1 localhost
192.168.15.77 prox4m1.proxmox.com prox4m1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
 
Last edited:
please show your /etc/hosts...it should look like below:

127.0.0.1 localhost
192.168.15.77 prox4m1.proxmox.com prox4m1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
here i use the public ip

# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
# /etc/cloud/cloud.cfg or cloud-config from user-data
#
103.xxx.xxx.xxx proxmoxwebauthn
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
103.xxx.xxx.xxx proxmoxwebauthn
No, it must be your LAN address and change your hostname to lanapve.home.arpa if you don't have a real domain, just so you can log in on the webgui. After, you can change the hostname to what you desire.

I realize you're on a cloud instance and that might be different than bare metal when it comes to access...
 
Last edited:
No, it must be your LAN address and change your hostname to lanapve.home.arpa if you don't have a real domain, just so you can log in on the webgui. After, you can change the hostname to what you desire.
im sorry but a little while i did some configuration on the /etc/hosts and i can log in to the web gui using the public ip address and keep the hostname

maybe is using the LAN address better ? what should i use for better experience ?

1699857099830.png
 
Last edited:
  • Like
Reactions: Nollimox
im sorry but a little while i did some configuration on the /etc/hosts and i can log in to the web gui using the public ip address and keep the hostname
Congrats...I had realized you were on a cloud instance...what you did is correct.
 
Last edited:
Congrats...I had realized you were on a cloud instance...what you did is correct.
and i want to ask about securing the user with 2 factor authentication using webauthn can u help me with it ? it seem i need a dns to able use webauthn
 
Last edited:

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!