Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

how do you route squid through third party proxy ?

  • 17-08-2005 04:42PM
    #1
    Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 96,153 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: 96,153 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