Need Help with Proxy Setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I have some trouble setting up a proxy to a backend server, which
itself is only accessible using another http proxy with authentication.
Required setup looks like this:

    <my_server>/backend  ->  user:pass@proxy:port  -> backend/path

Access from <my_server> was tested this way:

    curl --proxy-basic -k -v \
         --proxy http://<user>:<pass>@<proxy>:<port> \
         https://<backend>/path

I already tried several settings based on my limited google
search results, but these did not succeed so far.
My current config snippet (failed tries left in intentionally):

    ProxyRequests off
    ProxyVia on
    ProxyPreserveHost on
    SSLProxyEngine on
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off
    
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    ProxyPass        "/backend/" "https://<backend>/<path>/"
    ProxyPassReverse "/backend/" "https://<backend>/<path>/"

    <Location "/backend/">
        #AuthType basic
        #AuthBasicAuthoritative Off
        #SetEnv proxy-chain-auth On
        #ProxyRemote "https://<backend>" "http://<proxy>:<port>"
        SetEnv HTTPS_PROXY=http://<user>:<pass>@<proxy>:<port>
        Order deny,allow
        Allow from all
    </Location>


Any help is much appreciated.

Thanks, Timo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux