2. Proxy Server
• A proxy server is a program that
is installed on a machine that has
direct access to the internet.
• The program accept request from
the user on LAN and enables them
to access the internet from their
work station.
2
3. Proxy Server
• The process is encapsulated
from the use that is the users
can’t distinguish between live
connectivity to the internet
but proxy based access to the
internet.
3
4. Proxy Server
• There are various types of proxy
server available some of the most
commonly used proxy servers are:
1)Squid internet object cache proxy
2)Microsoft proxy server 2.0
3)Apache server
4
5. Squid Proxy Server
• Squid is caching proxy server,
which improves the bandwidth
and the response time by caching
the recently requested web pages.
5
6. Squid Proxy Server
• Squid provides proxy and
cache services for HTTP, FTP,
and various other protocols.
6
8. Squid Proxy Server configuration file
(1)
$ vi /etc/squid/squid.conf
Providing a name for the proxy
server machine.
visible_hostname proxy.MySite.com
In the above example, instead of
proxy.MySite.com specify the
hostname of your machine.
8
9. Squid Proxy Server configuration file
(2)
Specifying the interface and port
number on which the proxy server
should listen.
9
10. Squid Proxy Server configuration file
(3)
Example:
your proxy server has an ip address
192.168.60.70 which belongs to the
local area network 92.168.60.0/24
Change the variable http_port as
shown.
$ http_port 192.168.60.70:3456
10
11. Squid Proxy Server configuration file
(4)
Now start the squid proxy services_
$ /etc/init.d/squid start
11
12. Test the Squid Configuration
In Firefox web browser, to set the
proxy settings
goto
Edit Preferences and
window similar to shown next slide
will be displayed.
12
15. Using Apache Web Server To
Configure Proxy Server
Apache web server is pre-installed
with RedHat distribution
No need additional installation
Easy to configure on Linux system
15
16. Types of proxy servers
1)
2)
3)
4)
Transparent Proxy
Anonymous Proxy
Distorting Proxy
High Anonymity Proxy
16
17. Transparent Proxy
Server identifies itself as a
proxy server.
Makes the original IP address
available through the http
headers.
Used for their ability to cache
websites.
17
18. Transparent Proxy
Do not effectively provide any
anonymity to those who use them.
Use of a transparent proxy will get
you around simple IP bans.
Transparent in the terms that your
IP address is exposed, not
transparent in the terms that you
do not know that you are using it.
18
19. Anonymous Proxy
Server identifies itself as a proxy
server.
Does not make the original IP
address available.
Detectable, but provides
reasonable anonymity for most
users.
19
20. Distorting Proxy
Server identifies itself as a proxy
server.
Make an incorrect original IP
address available through the
http headers.
20
21. High Anonymity Proxy
Server does not identifies itself
as a proxy server.
Does not make available the
original IP address.
21