TinyProxy Web Proxy

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/

Installation

yum install tinyproxy

Configuration

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

nano -w /etc/tinyproxy/tinyproxy.conf

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

/etc/init.d/tinyproxy restart

Port

Add the line:

Port 3128

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

Address

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

Listen 192.168.0.1

Authorisation

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:

Allow 192.168.0.0/24

Logs

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

to

LogLevel Error

Regards,
Wael Isa