Using external NPM to proxy traffic Proxmox web interface

deryckhans

New Member
May 13, 2024
1
0
1
Hello all,

I have currently running an LXC on proxmox for hosting nginx proxy manager. (deploy with a script from the fantastic https://helper-scripts.com/ website) I use NPM succesfully to proxy traffic from my personal domain toward different services running in LXC containers / VM's on proxmox.

However, I have still not been able to proxy traffic to the proxmox GUI itself running on 8006. I keep getting a ERR_CONNECTION_REFUSED error from the proxmox host.

My NPM-config is pretty straight forward. I have been messing around with advanced configurations and custom locations, but sofar I have not been able to get this working. I have found a bunch of threads/tutorials on setting up the proxy on your Proxmox-host directly, but as you can understand this is not really relevant in my case.

Is there somebody out there that got this to work and wants to share their configuration?

Thanks a bunch!

1715609982726.png
 

Attachments

  • 1715609549304.png
    1715609549304.png
    33.5 KB · Views: 27
hey @deryckhans

Got it working.
Had to add proxy_ssl_verify off; in the advanced tab, since my proxmox cert is self signed.

Make sure your DNS resolves to your NPM and not to your proxmox server. This is caused me some struggle in the beginning.
 
Last edited:
hey @deryckhans

Got it working.
Had to add proxy_ssl_verify off; in the advanced tab, since my proxmox cert is self signed.

Make sure your DNS resolves to your NPM and not to your proxmox server. This is caused me some struggle in the beginning.
Could you be a bit more specific on what that means ? sorry im new and dont mean if you mean in cloudflare, pihole if it applies or what
 
advanced.jpg
@Sinistercalling In the Advanced tab of NPM you need to set proxy_ssl_verify off; if the service you redirect the traffic to does not use a valid SSL certificate.
 

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!