How to configure HTTP PROXY for connecting to LDAP server

aveekkumar

New Member
Dec 3, 2022
5
0
1
Hi Community,

We are trying to setup an LDAP server as a authentication source in PVE 8.0.4. The LDAP server is hosted on cloud and the PVE server doesn't have access to reach the LDAP server directly.

We have configured an HTTP_PROXY under Datacenter > Options > HTTP Proxy on the GUI but PVE server is not able use the HTTP_PROXY to connect to the LDAP server.

Is there a way to configure a HTTP_PROXY which applies to a authentication source ?
 
Hi,

no, that is not directly possible.
For starters, LDAP uses its own protocol (based on ASN.1), so HTTP proxies would not even apply for that. Normally, LDAP servers are on-prem anyway.

I would suggest to set up a separate, protocol-transparent proxy for this (e.g. HAProxy) and simply point your LDAP configuration at this proxy's IP/hostname directly.
 

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!