Here is what am seeking after: i have 2 hosts x.x.x.1, x.x.x.2 and gateway y.y.y.y and external VPS squid server z.z.z.z host x.x.x.1 for example send request to https://website.example i have website.example IP so I want to intercept this request and send it to squid CONNECT server without breaking ssl certificate I hope that Question is clear


Set https_proxy on x.x.x.1 and x.x.x.2 to z.z.z.z:3128 (if squid runs on default port).

  • I don't want hosts make any thing, i want do it from GW – Wissam Roujoulah Nov 21 '16 at 8:16
  • then afaik you have to write your own patch for squid. – Ipor Sircer Nov 21 '16 at 8:23
  • my problem is not with squid, my problem is how to forward the request from GW to squid without breaking ssl – Wissam Roujoulah Nov 21 '16 at 8:29
  • Then what will squid without patch do except throwing an error message to log? – Ipor Sircer Nov 21 '16 at 8:33
  • Why error, i want to use it with CONNECT tunnel – Wissam Roujoulah Nov 21 '16 at 8:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.