Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

how do you route squid through third party proxy ?

  • 17-08-2005 3:42pm
    #1
    Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 94,296 Mod ✭✭✭✭


    If the upstream proxy (eg: firewall / web filter) is not ICP aware how do you tell squid to use that's proxy port for internet access instead of trying to go directly to the internet ?

    do you just leave out the ICP port ?

    [php]#cache_host hostname type http-port icp-port
    cache_host firewall parent 8080 [/php]


Comments

  • Registered Users, Registered Users 2 Posts: 354 ✭✭AndrewMc


    If the upstream proxy (eg: firewall / web filter) is not ICP aware how do you tell squid to use that's proxy port for internet access instead of trying to go directly to the internet ?

    do you just leave out the ICP port ?

    [php]#cache_host hostname type http-port icp-port
    cache_host firewall parent 8080 [/php]

    In the version I have (2.5.9-10 from Debian stable), I have:
    cache_peer proxy1.example.org parent 8080 0 no-query no-digest round-robin
    cache_peer proxy2.example.org parent 8080 0 no-query no-digest round-robin
    

    The documentation says:
    use 'no-query' to NOT send ICP queries to this neighbor.
    use 'no-digest' to NOT request cache digests from this neighbor.

    Works for me! The round-robin bit makes it share the load between the two parent proxies - I presume if you've only one you can take that bit out.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 94,296 Mod ✭✭✭✭Capt'n Midnight


    Thaks for the pointer - seems ok now :)

    for the record
    Non-ICP/HTCP neighbours must be specified as 'parent'
    never_direct is another option I'm looking at too.


Advertisement