Installing a light HTTP Proxy Server (TINYPROXY)

Last update on April 16, 2009 01:11 PM by netsa77
Published by netsa77

Installing a light HTTP Proxy Server (TINYPROXY)





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

TinyProxy is a light proxy and very fast. It doesn’t do cache as squid, but consume only 2mb of memory really perfect for small local networks.

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

Installation


sudo apt-get install tinyproxy

Configuration


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

Gksudo gedit /etc/tinyproxy/tinyproxy.conf


Do not forget, after all the changing of the configuration. You have to restart the proxy:

Sudo /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 with this line:

Listen 192.168.0.1

Authorisation


You can authorize specific IP addresses or specific networks to use the proxy by adding allow to the lines. For example to authorize 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


so that it does a line in case of error.

Other


There are other options: You just need to explore the tinyproxy.conf file that contains the description of options.
Best answers for « Installing a light HTTP Proxy Server (TINYPROXY) » in :
[Ubuntu]Installing an HTTP proxy server (Squid) Show Installing an HTTP proxy server (Squid) 1.Installing the proxy 2.Configuring the proxy 2.1.Naming the proxy 2.2 Choosing the Port 2.3.Choosing the interface 2.4. Setting access rights and priorities 2.5. Authorizing access to group 2.6....
Proxy and reverse proxy servers Show Proxy servers A proxy server is a machine which acts as an intermediary between the computers of a local area network (sometimes using protocols other than TCP/IP) and the Internet Most of the time the proxy server is used for the web, and when it...
Installing an easy HTTP proxy-cache (polipo) ShowInstalling an easy HTTP proxy-cache (polipo) Intro Quick Installation Allowing hosts on the LAN to connect Changing the port Use a proxy server parent Using an alternative DNS server Disabling IPv6 More info Intro Installing an...
Installing a SSH server on Ubuntu ShowInstalling a SSH server on Ubuntu Installation Connection An ssh server allows you to remotely access your machine. You'll have access to the remote console (equivalent to telnet, but secure) and the transfer of files (equivalent...
The Proxy Server ShowWhat is a Proxy? Filtering Authentication Storage of Logs A proxy server can be a computer or a module that acts as a go-betweens between a Web browser and the Internet. The proxy is involved in network security. Proxy servers...
Download HFS (Http File Server) ShowHFS is a ultra-simple way to share files with friends. · Launch HFS · Slide above it the file to be shared. And that’s all ! The directory is accessible from any browser. It is ultra-simple and no installation is necessary (HFS is only...
Intranet - Installing a mail server ShowIntroduction to installation The most commonly used e-mail server in Linux is Sendmail; however, as it is very hard to configure, we will use Qmail, an alternative e-mail server, instead. Qmail is made up of a group of programs that work with...
The HTTP protocol ShowIntroduction to the HTTP protocol Since 1990 HTTP protocol (HyperText Transfer Protocol) has been the most widely used protocol on the Internet. Version 0.9 was only intended to transfer data over the Internet (in particular Web pages written in...
Server integrity check ShowIntegrity check When a server has been compromised, the hacker usually covers his/her tracks by deleting all records of his/her activity from the logs. Additionally, he/she installs some tools to enable him/her to create a backdoor, in order to...