How can I access a local-area LDAP through a VPN?Basic iptables NAT port forwardingForward one RDP port on...

What is Cash Advance APR?

Why is it that I can sometimes guess the next note?

Why can Carol Danvers change her suit colours in the first place?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Open a doc from terminal, but not by its name

What are the advantages of simplicial model categories over non-simplicial ones?

Can the US President recognize Israel’s sovereignty over the Golan Heights for the USA or does that need an act of Congress?

Why does a simple loop result in ASYNC_NETWORK_IO waits?

Quoting Keynes in a lecture

Limits and Infinite Integration by Parts

Temporarily disable WLAN internet access for children, but allow it for adults

Redundant comparison & "if" before assignment

Why does the Sun have different day lengths, but not the gas giants?

How could a planet have erratic days?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Creepy dinosaur pc game identification

Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset

Why Shazam when there is already Superman?

Mimic lecturing on blackboard, facing audience

Fear of getting stuck on one programming language / technology that is not used in my country

Hero deduces identity of a killer

The IT department bottlenecks progress. How should I handle this?

Why should universal income be universal?

Multiplicative persistence



How can I access a local-area LDAP through a VPN?


Basic iptables NAT port forwardingForward one RDP port on one machine to multiple external users at the same timeCan I disable interactive shell access while tunneling web traffic through SSH?Redirect all ports to my server in a simple waySSH bounce box with transparent forwarding to backend hostsProvide public access to a local web server through VPN(ssh tunnel?) Access remote server with private IP through a *DIFFERENT* server with public IPCannot access Apache2 intranet site via VPN (can access other local resources)Get local port when using ssh forwarding with dynamic (0) portHow to create local proxy server accessible to machines on LANHow to use socket file to access server if SSH Agent forwarding is enabled













0















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














bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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





    serverfault.com/a/326577/59925

    – quanta
    Mar 8 '13 at 9:44
















0















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














bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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





    serverfault.com/a/326577/59925

    – quanta
    Mar 8 '13 at 9:44














0












0








0








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














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?







ssh vpn ldap ssh-tunnel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 '13 at 8:39









ZenklysZenklys

4032512




4032512





bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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





    serverfault.com/a/326577/59925

    – quanta
    Mar 8 '13 at 9:44



















  • 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





    serverfault.com/a/326577/59925

    – quanta
    Mar 8 '13 at 9:44

















Do you have ssh account on the LDAP server?

– quanta
Mar 8 '13 at 9:30





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





No, I don't and I doubt they will create me one.

– Zenklys
Mar 8 '13 at 9:38




1




1





serverfault.com/a/326577/59925

– quanta
Mar 8 '13 at 9:44





serverfault.com/a/326577/59925

– quanta
Mar 8 '13 at 9:44










1 Answer
1






active

oldest

votes


















0














I have found a solution so far thanks to quanta.



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



0.0.0.0 389 myldapserver 389


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






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f485909%2fhow-can-i-access-a-local-area-ldap-through-a-vpn%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have found a solution so far thanks to quanta.



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



    0.0.0.0 389 myldapserver 389


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






    share|improve this answer




























      0














      I have found a solution so far thanks to quanta.



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



      0.0.0.0 389 myldapserver 389


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






      share|improve this answer


























        0












        0








        0







        I have found a solution so far thanks to quanta.



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



        0.0.0.0 389 myldapserver 389


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






        share|improve this answer













        I have found a solution so far thanks to quanta.



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



        0.0.0.0 389 myldapserver 389


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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 '13 at 13:36









        ZenklysZenklys

        4032512




        4032512






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f485909%2fhow-can-i-access-a-local-area-ldap-through-a-vpn%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...