Mister Disagree

"Be the change you wanna see in the world" - Michael Scofield



Client Workstation Configuration:

1. Make sure that your IP address received/configured is within 10.168.28.0/22 subnet
2. Change proxy setting into:

IP address: 10.168.30.155
port number: 3128


Example: For Firefox browser, go to Tools -->Options --> Advance -- >Setting -->Manual Proxy Configuration then fill in HTTP Proxy field with information given above.

3. Best practice is point the client gateway address to 10.168.30.155 (change firewall IP to other IP) in order to force packet go through proxy server without configuring proxy setting on every client’s browser.


Proxy Server Configuration:

1.
IP address Configuration
a. vi /etc/sysconfig/network-scripts/ifcfg-eth0








b. vi /etc/sysconfig/network-scripts/ifcfg-eth1








2. Squid installation, update and run service





3. Modify squid configuration file
a. Open squid configuration file



b. Once config file open, type script as shown below at any line




c. Save and close the file before restart squid services



4. Enable squid log service




5. Configure Transparent proxy
a. Open proxy configuration file



b. Once config file open, type script as shown below:




6. Restart squid services



LightSquid Setup

1. Download lightsquid from http://sourceforge.net/projects/lightsquid/files/lightsquid/1.8/

2. Locate the file downloaded into /var/www/html/

3. Extract the installation file downloaded: #tar –xzf lightsquid-1.8.tgz

4. Enter the installation folder: #cd /var/www/html/lightsquid

5. Install apache:

#chmod +x *.cgi
#chmod +x *.pl

#chown –R apache:apache *

6. modify lightsquid configuration file : #nano /etc/httpd/conf.d/lightsquid-1.8.conf

AddHandler cgi-script .cgi

AllowOverrride All

7. Restart HTTP Service: #service httpd restart

8. #./check-setup.pl

9. #./lightparser.pl

10. Modify crontab file: #crontab –e

*/15***/var/www/html/lightsquid/lightparser.pl

11. Open web browser and type http://10.168.30.155/lightsquid