Installing a light HTTP Proxy Server (TINYPROXY)

October 2016

TinyProxy is a lightweight and small HTTP Proxy Server that can be installed for small local networks. The Tiny Proxy is light, fast and consumes only 2 MB of memory. Installing TinyProxy is a standard and straightforward procedure, used for installing most Linux software. Once the installation of TinyProxy is complete, TinyProxy has to be configured and restarted for the changes to the configuration to take effect. TinyProxy offers several features such as authorisation of specific IP addresses or networks. TinyProxy generates detailed logs of operations and proxy access.

Squid is a proxy server for bigger networks (enterprises, etc..); it can also be installed on smaller local networks.

TinyProxy is a light and very fast proxy. It doesn't do cache as Squid, but consumes only 2MB of memory: perfect for small local networks.



sudo apt-get install tinyproxy


Edit the file /etc/tinyproxy/tinyproxy.conf:

Gksudo gedit /etc/tinyproxy/tinyproxy.conf

Do not forget that after changing the configuration, you have to restart the proxy:

Sudo /etc/init.d/tinyproxy restart


Add the line:

Port 3128

(so that the proxy will be listening on this port).


For security measures, the proxy will be listening on the IP address of the internal network.
You can specify this with this line:



You can authorise specific IP addresses or specific networks to use the proxy by adding allow to the lines. For example to authorise your local network:



The file /var/log/tinyproxy.log contains the details of all proxy access.
It is very verbose and will fill the disk. You can change this:
Replace the line:

LogLevel Info


LogLevel Error

so that it does a line in case of error.


There are other options: you just need to explore the tinyproxy.conf file that contains the description of options.

Related :

This document entitled « Installing a light HTTP Proxy Server (TINYPROXY) » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.