proxy server ppt installation
-
Upload
manojpandita -
Category
Documents
-
view
223 -
download
0
Transcript of proxy server ppt installation
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 1/56
BY PANDITA MANOJ
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 2/56
Introduction of Squid Proxy Server
1. Proxy servers are softwareapplications that run on yourfirewall machine in order toprovide indirect Internetaccess to your network.
2. Squid is a caching proxy serverwhich improves the bandwidthand the response time bycaching the recently requested
web pages.
3. In Linux, Squid is the packageused as proxy server.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 3/56
Advantages of squid Proxy Server
1. The client applications speakdirectly to the proxy serverand the proxy server in turnspeaks directly to the Internethosts on behalf of the client.
2. We can able to allow or restrictthe web addresses to be usedby the clients.
3. Good sites can be made
allowed and bad sites can berestricted.
4. This is the reason forconfiguring proxy server.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 4/56
Goals of squid Proxy Server In Comapny
1. Two important goals of many small businessesare to:
1. Reduce Internetbandwidth charges
2. Limit access to theWeb to onlyauthorized users.
2. The Squid web cachingproxy server can achieveboth these goals fairlyeasily.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 5/56
Configuration Information of Squid Prxoy
PACKAGE REQUIRED: #squid
DAEMON: /usr/sbin/squid
SCRIPT: /etc/init.d/squid
PORT: 3128 ( squid ), (configurable)
CONFIGURATION:/etc/squid/squid.conf
SERVICE: service squid restart
NETMAXTechnologies
CISCO
MICROSOFT
EMBEDDED
REDHAT
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 6/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 7/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 8/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 9/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 10/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 11/56
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 12/56
Check squid package is
installed or not.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 13/56
Open the squid
configuration file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 14/56
SQUID PROXY SEREVR
The configuration file
has been opened.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 15/56
SQUID PROXY SERVER
Go to line no 73, we can set
default port number for
squid.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 16/56
SQUID PROXY SERVER
Go to line no:2410
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 17/56
SQUID PROXY SERVER
Writing the rule to
allow the host1.
Here the ip-address
for host 1 is
mentioned.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 18/56
SQUID PROXY SERVER
Allow the host1 to access
the internet through proxy
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 19/56
SQUID PROXY SERVER
Start the daemon
service for squid.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 20/56
SQUID PROXY SERVER
Click connectionsettings
Goto edit,preference
to set proxy.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 21/56
SQUID PROXY SERVER
Set the proxy server ip
and port number.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 22/56
SQUID PROXY SERVER
Open theconfiguration file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 23/56
SQUID PROXY SERVER
Open theconfiguration file.
Allow the network starting
from 172.24.0.1 to172.24.0.10
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 24/56
SQUID PROXY SERVER
Allow the host2 to
access through proxy.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 25/56
SQUID PROXY SERVER
Restart the daemonservice ..
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 26/56
SQUID PROXY SERVER
We can either allow or denyproxy from
mon,tue,wed,thur,fri from
08:30-05:30.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 27/56
SQUID PROXY SERVER
The host1 can access
internet connection from
08:30 to 05:30
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 28/56
SQUID PROXY SERVER
Restart the daemon
service.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 29/56
SQUID PROXY SERVER
Open theconfiguration file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 30/56
SQUID PROXY SERVER
Restricting the bad
search like .mp3,jpg.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 31/56
SQUID PROXY SERVER
Host1bad is deny forhost1.so he cannot access
.mp3 search.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 32/56
SQUID PROXY SERVER
Restart the daemon
service.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 33/56
SQUID PROXY SERVER
Host1 searching the.mp3
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 34/56
SQUID PROXY SERVER
Open theconfiguration file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 35/56
SQUID PROXY SERVER
Restricting the domain
like google.com,orkut.com
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 36/56
SQUID PROXY SERVER
Denied the domain.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 37/56
SQUID PROXY SERVER
Restart daemon
service.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 38/56
SQUID PROXY SERVER
We can restrict the
domain using file also.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 39/56
SQUID PROXY SERVER
List the domain to
restrict .
Save and quit the file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 40/56
SQUID PROXY SERVER
Give the location of
file in the dstdomain.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 41/56
SQUID PROXY SERVER
Deny the bad sites.
Save and quit the file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 42/56
SQUID PROXY SERVER
Restart the daemon
service.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 43/56
SQUID PROXY SERVER
Setting password for
the proxy.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 44/56
SQUID PROXY SERVER
Using htpasswd command
set the passwdstore in the name
/etc/squid/squid-
passwd file
Set the username
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 45/56
SQUID PROXY SERVER
Open theconfiguration file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 46/56
SQUID PROXY SERVER
Goto line number
1565.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 47/56
SQUID PROXY SERVER
Copy and paste the
line.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 48/56
SQUID PROXY SERVER
Edit that line to/usr/lib/squid/ncsa_auth,authentication will be
takes place here.
Give the location of the
passwd file.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 49/56
SQUID PROXY SERVER
Setting the proxy auth
required to enable the
password
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 50/56
SQUID PROXY SERVER
Allow the host1 to access
the password.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 51/56
SQUID PROXY SERVER
Restart the daemonservice.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 52/56
SQUID PROXY SERVER
When the host1 access the
internet. Authentication
takes place.
It ask username and
password
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 53/56
SQUID PROXY SERVER
Restrict the upload upto
maximum 50 KB.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 54/56
SQUID PROXY SERVER
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 55/56
SQUID PROXY SERVER
Restart the daemon
service.
7/30/2019 proxy server ppt installation
http://slidepdf.com/reader/full/proxy-server-ppt-installation 56/56