Hi So i tried to access proxmox gui via the local adress, but give unable to connect. The main gpu is used to pass for a vm. How to simply log to https://127.0.0.1:8006 via a browser ? Going https://192.168.50.7:8006 it work fine, but not 127.. First step don't work. I see people using the whole pc with a screen to put a desktop system, but not supposed to be needed here.
At end i would like to access via wifi from a vm. Like have a router vm, like opnsense with a wifi adapter that give an AP and i can access the proxmox system gui ip directly , but if the ip drop, how can it be possible... Here is the quick setup:
Router1 -) Prox box --) VM101 (router) -//-) Wifi Wifi - Laptop
192.168.50.1 ..50.7 vmbr0 lan= vmbr1 .31.1 .31.5
I did try to switch to nat by having ip 10.10.6.0 and postrouting to vmbr0, but still i can't load the 127.0.0.1:8006 page. i see a kind of HAProxy could handle local too, but .. as being fully local, it should not be needed i think.
Also i don't have pve firewall , in /etc/default/pveproxy no file there.
is something can force too but. :/etc/default/pveproxy:
ALLOW_FROM="127.0.0.1"
DENY_FROM="all"
POLICY="allow"
Not sure of dmesg as i don't see 127.0... But here is the result of : ss -antlp
And : curl -vvv https://localhost:8006
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.50.7 prox.nuc6 prox
Thanks in advance
At end i would like to access via wifi from a vm. Like have a router vm, like opnsense with a wifi adapter that give an AP and i can access the proxmox system gui ip directly , but if the ip drop, how can it be possible... Here is the quick setup:
Router1 -) Prox box --) VM101 (router) -//-) Wifi Wifi - Laptop
192.168.50.1 ..50.7 vmbr0 lan= vmbr1 .31.1 .31.5
I did try to switch to nat by having ip 10.10.6.0 and postrouting to vmbr0, but still i can't load the 127.0.0.1:8006 page. i see a kind of HAProxy could handle local too, but .. as being fully local, it should not be needed i think.
Also i don't have pve firewall , in /etc/default/pveproxy no file there.
is something can force too but. :/etc/default/pveproxy:
ALLOW_FROM="127.0.0.1"
DENY_FROM="all"
POLICY="allow"
Not sure of dmesg as i don't see 127.0... But here is the result of : ss -antlp
Code:
ss -antlp
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 4096 0.0.0.0:59555 0.0.0.0:* users:(("rpc.statd",pid=1795,fd=9))
LISTEN 0 4096 127.0.0.1:61000 0.0.0.0:* users:(("kvm",pid=8895,fd=12))
LISTEN 0 4096 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=968,fd=4),("systemd",pid=1,fd=36))
LISTEN 0 4096 127.0.0.1:85 0.0.0.0:* users:(("pvedaemon worke",pid=1534,fd=6),("pvedaemon worke",pid=1533,fd=6),("pvedaemon worke",pid=1532,fd=6),("pvedaemon",pid=1531,fd=6))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=1311,fd=3))
LISTEN 0 64 0.0.0.0:39895 0.0.0.0:*
LISTEN 0 100 127.0.0.1:25 0.0.0.0:* users:(("master",pid=1492,fd=13))
LISTEN 0 4096 [::]:57889 [::]:* users:(("rpc.statd",pid=1795,fd=11))
LISTEN 0 4096 *:8006 *:* users:(("pveproxy worker",pid=20591,fd=6),("pveproxy worker",pid=20359,fd=6),("pveproxy worker",pid=20172,fd=6),("pveproxy",pid=1541,fd=6))
LISTEN 0 64 [::]:37833 [::]:*
LISTEN 0 4096 [::]:111 [::]:* users:(("rpcbind",pid=968,fd=6),("systemd",pid=1,fd=38))
LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=1311,fd=4))
LISTEN 0 4096 *:3128 *:* users:(("spiceproxy work",pid=1548,fd=6),("spiceproxy",pid=1547,fd=6))
And : curl -vvv https://localhost:8006
Code:
* Trying 127.0.0.1:8006...
* Connected to localhost (127.0.0.1) port 8006 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.50.7 prox.nuc6 prox
Thanks in advance
Last edited: