HTTP - Forward Proxy

> (World Wide) Web - (W3|WWW) > (HTTP|HTTPS) - Hypertext Transfer Protocol

1 - About

A forward proxy is a server called a proxy that is configured to forward every a internal Http request to an external destination website, hence the name Forward Proxy.

The proxy configuration that do the inverse (ie receives external request and routes them to internal service such as a website) is called a reverse proxy or gateway

The forward proxy sits on a local network between the local client (user) and the external destination website.

Technically, in order to get content from the origin server, the client sends a request to the forward proxy naming the origin server as the target. The proxy then requests the content from the origin server and returns it to the client.


3 - Usage

A typical usage of a forward proxy is:

4 - Client Configuration

4.1 - Windows

The client must be specially configured to use the forward proxy to access other sites. Ie the proxy parameters.

Example with Windows:

4.2 - Linux

The configuration of a forward proxy on a Linux server happens with the environment variable http_proxy or https_proxy that set the proxy server location.


export http_proxy=
export https_proxy=