Pages

Saturday 4 December 2021

HTTP proxy

In our work place, the internet traffic is accessible only via the org's HTTP proxy.

To set the proxy env var in a Linux VM use the eg:


export http_proxy=http://www-our-proxy.company.com:80

export HTTPS_PROXY=$http_proxy

export HTTP_PROXY=$http_proxy

export https_proxy=$http_proxy

export NO_PROXY=.us.domain1.com,.companyvcn.com,localhost,.companycorp.com


Here it is an HTTP proxy. So to establish an HTTPS connection also its using the HTTP proxy here.

Whenever an HTTPS connection is requested to the HTTP proxy by the user, the proxy creates a TCP tunnel between the destination and the user host. And thus the user make the HTTPS calls via this TCP tunnel.



No comments:

Post a Comment