Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need access to an LDAP server hosted on a private network from the outside. I have been given a VPN account but that account has no direct access to the LDAP server. (for security reasons, they refuse to open the LDAP server on VPN).

But I have access to several other *nix boxes, all with root acces and those boxes can acces the LDAP server. My question is, can I use those boxes with something like ssh port forwarding to make the LDAP available?

share|improve this question
Do you have ssh account on the LDAP server? – quanta Mar 8 '13 at 9:30
No, I don't and I doubt they will create me one. – Zenklys Mar 8 '13 at 9:38
1 – quanta Mar 8 '13 at 9:44
That worked, thanks. – Zenklys Mar 8 '13 at 13:37

I have found a solution so far thanks to quanta.

I installed rinetd on the bound server with the following rule : 389 myldapserver 389

That way, I can directly define my LDAP host as the boundserver on port 389.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.