Concepts / Proxies and smarter firewalls

Proxies and smarter firewalls

Forward proxy

Also called web proxy, squid, proxy server, CONNECT, http_proxy, application-level gateway, URL filter

A server that makes web requests on its users' behalf, and so can allow or refuse them by name and URL.

A proxy reads the URL of HTTP, only the name of HTTPS
A proxy reads the URL of HTTP, only the name of HTTPS

The proxy fetches the page itself, so the site sees the proxy's address. For HTTPS it sees the name in CONNECT and nothing after it.

A forward proxy is a server that makes web requests for its users. The client sends it the full URL (GET http://site/path); the proxy decides, then fetches it over its own connection, so the site sees the proxy's address. For HTTPS the client asks only for a tunnel, CONNECT site:443: the proxy can judge the name, not the path. It is a firewall only if nothing else is let out.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab