Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I am configuring a proxy server in my desktop, which in turn passthough a proxy ( parent proxy ). I have added following line for this cache_peer proxy.tcs.com ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    7

    Proxy setting in squid

    Hi all,

    I am configuring a proxy server in my desktop, which in turn passthough a proxy ( parent proxy ).

    I have added following line for this

    cache_peer proxy.tcs.com parent 8080 0 proxy-only default

    But for parent proxy, we have to specify username and password in this line, I am confused here.

    login=userassword | PASS | *assword

    Here where I have to enter username and password ?

    Can anyone please suggest me with this ?

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    This information is here on the squid cache documentation website.

    It says you specify this:

    Code:
    cache_peer hostname type http-port icp-port [options]
    and for options, it says:
    Code:
    	    options: proxy-only
    		     ...
    		     login=user:password | PASS | *:password
    		     ...
    So you specify this line at the end of the line either in place of, or after, the 'default'.

    So if your parent proxy user-name is 'me' and your password is 'pass', you'd probably just need to use:

    Code:
    cache_peer proxy.tcs.com parent 8080 0 proxy-only default login=me:pass
    You know that you'll be unlocking your company's cache by doing this, unless you require users to use a password when they connect to your proxy, don't you?
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...