BY PANDITA MANOJ
Introduction of Squid Proxy Server 1.
Proxy servers are software applications that run on your firewall machine in order to provide indirect Internet access to your network.
2.
Squid is a caching proxy server which improves the bandwidth and the response time by caching the recently requested web pages.
3.
In Linux, Squid is the package used as proxy server.
Advantages of squid Proxy Server 1.
The client applications speak directly to the proxy server and the proxy server in turn speaks directly to the Internet hosts on behalf of the client.
2.
We can able to allow or restrict the web addresses to be used by the clients.
3.
Good sites can be made allowed and bad sites can be restricted.
4.
This is the reason for configuring proxy server.
Goals of squid Proxy Server In Comapny 1. Two important goals of
many small businesses are to: 1. Reduce Internet bandwidth charges 2. Limit access to the Web to only authorized s. 2. The Squid web caching proxy server can achieve both these goals fairly easily.
Configuration Information of Squid Prxoy PACKAGE REQUIRED: #squid DAEMON: /usr/sbin/squid
CISCO
SCRIPT: /etc/init.d/squid PORT: 3128 ( squid ), (configurable) CONFIGURATION: /etc/squid/squid.conf SERVICE: service squid restart
REDHAT
NETMAX Technologies
EMBEDDED
MICROSOFT
Check squid package is installed or not.
Open the squid configuration file.
SQUID PROXY SEREVR
The configuration file has been opened.
SQUID PROXY SERVER
Go to line no 73, we can set default port number for squid.
SQUID PROXY SERVER
Go to line no:2410
SQUID PROXY SERVER
Writing the rule to allow the host1.
Here the ip-address for host 1 is mentioned.
SQUID PROXY SERVER
Allow the host1 to access the internet through proxy
SQUID PROXY SERVER
Start the daemon service for squid.
SQUID PROXY SERVER Goto edit,preference to set proxy.
Click connection settings
SQUID PROXY SERVER
Set the proxy server ip and port number.
SQUID PROXY SERVER
Open the configuration file.
SQUID PROXY SERVER
Open the configuration file.
Allow the network starting from 172.24.0.1 to 172.24.0.10
SQUID PROXY SERVER
Allow the host2 to access through proxy.
SQUID PROXY SERVER
Restart the daemon service ..
SQUID PROXY SERVER
We can either allow or deny proxy from mon,tue,wed,thur,fri from 08:30-05:30.
SQUID PROXY SERVER
The host1 can access internet connection from 08:30 to 05:30
SQUID PROXY SERVER
Restart the daemon service.
SQUID PROXY SERVER
Open the configuration file.
SQUID PROXY SERVER
Restricting the bad search like .mp3,jpg.
SQUID PROXY SERVER
Host1bad is deny for host1.so he cannot access .mp3 search.
SQUID PROXY SERVER
Restart the daemon service.
SQUID PROXY SERVER
Host1 searching the .mp3
SQUID PROXY SERVER
Open the configuration file.
SQUID PROXY SERVER
Restricting the domain like google.com, orkut.com
SQUID PROXY SERVER
Denied the domain.
SQUID PROXY SERVER
Restart daemon service.
SQUID PROXY SERVER
We can restrict the domain using file also.
SQUID PROXY SERVER
List the domain to restrict .
Save and quit the file.
SQUID PROXY SERVER
Give the location of file in the dstdomain.
SQUID PROXY SERVER
Deny the bad sites.
Save and quit the file.
SQUID PROXY SERVER
Restart the daemon service.
SQUID PROXY SERVER
Setting for the proxy.
SQUID PROXY SERVER
Using htwd command set the wd Set the name store in the name /etc/squid/squidwd file
SQUID PROXY SERVER
Open the configuration file.
SQUID PROXY SERVER
Goto line number 1565.
SQUID PROXY SERVER
Copy and paste the line.
SQUID PROXY SERVER
Edit that line to Give the of the /usr/lib/squid/ncsa_auth, authentication willlocation be wd file. takes place here.
SQUID PROXY SERVER
Setting the proxy auth required to enable the
SQUID PROXY SERVER
Allow the host1 to access the .
SQUID PROXY SERVER
Restart the daemon service.
SQUID PROXY SERVER When the host1 access the internet. Authentication takes place.
It ask name and
SQUID PROXY SERVER
Restrict the upto maximum 50 KB.
SQUID PROXY SERVER
SQUID PROXY SERVER
Restart the daemon service.