Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

setting up proxy in gcp vm

I've integrated squid proxy as documented in the blog https://cloud.google.com/vpc/docs/special-configurations . but the problem is all the internal vm and dns calls from client vm are going through proxy even after setting up the no_proxy="169.254.169.254,metadata,metadata.google.internal" . what am i doing wrong ?? please help 

 

2 2 1,317
2 REPLIES 2

If someone stumbles upon this. In my case, setting no_proxy="169.254.169.254,metadata,metadata.google.internal,metadata.google.internal." fixed the issue.

Have you considered a managed solution such as Secure Web Proxy?

https://cloud.google.com/secure-web-proxy/docs/overview