A few words of thanks would be greatly appreciated.

Installing a light HTTP Proxy Server (TINYPROXY)

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.

Link: https://www.banu.com/tinyproxy/


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.

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.


This document, titled « Installing a light HTTP Proxy Server (TINYPROXY) », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).