Well, in an enterprise that uses internet, a PROXY is a server that acts as an intermidiatory between a workstation user and the internet. Let's start with quick configuration :
Please follow these steps, It works in my system (I have RHEL) :-
1. Check whether proxy is installed or not
rpm -qa squid <return>
2. If squid isn't installed, install it. Then, edit /etc/squid/squid.conf file,
as follows :
# vi /etc/squid/squid.conf
This will open a VI editor and let you edit the file.
3. You need to edit certain lines of this file to get PROXY server.
These lines are :
3.1 " http_port " line - This line specified the socket address where
squid will listen to client's request. You can change this line
with your server's IP address as follows :
http_port 192.168.0.1:8080
This "8080" is port no. (By default 3128). You don't have to
change port no. But if you are going to change it, then, make
sure that this port no. is unique.
3.2 By default, Squide will not give any access to any client until
proper acess control lists are modified. Now, You need to
make an ACL, please use following example as illustration :
# acl mynetwork 192.168.0.1/255.255.255.0
# http_access allow mynetwork
" mynetwork is an ACL name and next line is the rule
applicable to a particular ACL .i.e, 192.168.0.1 refers to
address of the network whose netmask is 255.255.255.0."
You must add these lines (or whatever, depends on
requrements) just before "http_access deny all line" .
4. After it, just get out of VI editor by using "wq" command. Now,
restart service of proxy :
# service squid restart
_________________
on CLIENT computer,
1. go to IE -> tools -> internet options
2. select connection tab abnd click LAN setting
3. check Proxy server box and enter IP address of proxy server and
port address.
And That's sit
Hope this will solve your problem
Bye.,.....
With Warm Regards
Wadhwa, Gaurav
|