Proxy server

From LinuxReviews
Jump to navigationJump to search

A proxy server is a server program which allows clients to contact it and make indirect network connections to network services such as web-servers for the purposes listed below.

To set up firefox as a proxy-client in 1 minute, see: ssh_tunnel

usage summary

A typical proxy is used like this:

  • Your web browser connects to a proxy,
  • the proxy hands the request to a server,
  • the proxy feeds the information acquired from the server back to the web browser.

This can be good because:

  • The server thinks it's the proxy who's making the original request (unless the proxy forwards information which reveals who is making the request)
  • Caching Proxy servers store requested web-pages, images, and so on for later use, which saves bandwidth. Web-browsers also do caching, but are limited to one browser. Caching proxies are very useful in environments where 20-30 share a proxy. Small and fast caching proxies like Polipo can be very useful for personal use if you normally use 2-3 different web-browsers (or just different profiles in the same web-browser).
  • Filtering proxies like Privoxy remove advertisement, evil JavaScript, and so on. Such proxies can make your web-experience more enjoyable.

Browser proxies

Filtering proxies

Filtering proxies alter the client's request or the server's response.

The best filtering proxy today is much likely Privoxy. It removes advertisements, JavaScript and a whole lot of junk.

Privoxy also changes the web-browsers requests to protect your privacy. It can, for example, change the browsers User-Agent string to whatever you like.

Caching proxies

Polipo [1] is the best light-weight proxy available today. It's small and cute and uses little or no resources (apart from storage-space). This is a proxy every GNU/Linux user should consider.

Squid is the most commonly used proxy today and it is excellent for huge corporations who are willing to dedicate a computer just for doing proxy-services. Polipo is designed to be small and cute, Squid is designed to run on a dedicated box.

tinyProxy is small and simple to install and configure but Squid is noticeably faster. TinyProxy is still viable to use with a personal rental VM and the relevant distros offer tinyproxy as package.


You can use a combination of proxies. The proxy your web-browser contacts can contact an upstream proxy. Example: Firefox -> Polipo -> Privoxy.

Types of Proxies

Open Proxies

Open proxies are proxies who allow anyone to connect to them. Most proxies are private and are protected by a firewall or require a user-name and password. Open Proxies, on the other hand, can be used by everyone and anyone. This is extremely good for everyone find those O.P. in this list .

Many open proxies are actually not meant to be open, they are just misconfigured or "modified" by clever hackers.