Squid+Proxy+Server

=**Squid Proxy Server Overview**=

In a nutshell, a proxy server acts as a middleman for clients in a domain network and the internet. Its main purpose for an internal network is to allow internet access for clients and set rules based upon various network settings. The other purpose of a proxy server is to block harmful network traffic over the types of network protocols.

The Tart European Division has Squid implemented in the case that one of the firewalls on the Tart EU network goes down. In the case that it happens, Squid will act as a temporary firewall until the normal is back online.

=Installing and Configuring Squid=

Installing and configuring Squid is actually a straightforward process, all that is needed is a directory to store the web cache, the port that Squid uses and which network is allowed access to the internet and who is denied.

1. Click on Applications -> System Tools -> Terminal

2. At the command line, enter the following syntax to obtain Squid through Yum.

//yum install squid//

3. Once the package is installed, proceed to the Squid folder by entering:

//cd /etc/squid//

4. Create a text file named //tart.conf//, this is done by typing in the following:

//gedit tart.conf//

5. With the Gedit text editor open, enter the following into the //tart.conf// text file:


 * 1) Squid Configuration file for the Tart EU Linux firewall machine

cache_dir ufs /usr/local/squid/cache 100 16 256
 * 1) Web Cache Directory

http_port TartFirewall.tart.eu:8080
 * 1) Http Port that the network will use is 8080

acl internal_network src 10.10.11.0/255.255.255.0 http_access allow internal_network http_access deny all
 * 1) Internal Network

6. Save the file and exit Gedit to return back to the Terminal.

7. Initialize the web cache for Squid by entering the following:

//squid -z//

8. Instruct Squid to run off of the configuration that you just made by entering the following:

//squid -f /etc/squid/tart.conf//

9. Start Squid by entering the following:

//service squid start//

10. Congratulations, you have successfully installed and configured Squid.