Linux11 Proxy Server

22
Proxy Server 1

description

Proxy Server - Linux

Transcript of Linux11 Proxy Server

Page 1: Linux11 Proxy Server

Proxy Server

1

Page 2: Linux11 Proxy Server

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

Page 3: Linux11 Proxy Server

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

Page 4: Linux11 Proxy Server

Proxy Server

• There are various types of proxy server available some of the most commonly used proxy servers are:

1)Squid internet object cache proxy2)Microsoft proxy server 2.03)Apache server

4

Page 5: Linux11 Proxy Server

Squid Proxy Server

• Squid is caching proxy server, which improves the bandwidth and the response time by caching the recently requested web pages.

5

Page 6: Linux11 Proxy Server

Squid Proxy Server

• Squid provides proxy and cache services for HTTP, FTP, and various other protocols.

6

Page 7: Linux11 Proxy Server

Installing the Squid Proxy

$rpm -ivh squid-2.5.STABLE6-3.4E.12.i386.rpm

7

Page 8: Linux11 Proxy Server

Squid Proxy Server configuration file(1)

8

$ 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.

Page 9: Linux11 Proxy Server

9

Specifying the interface and port number on which the proxy server should listen.

Squid Proxy Server configuration file(2)

Page 10: Linux11 Proxy Server

10

Example: your proxy server has an ip address 192.168.60.70 which belongs to the local area network 92.168.60.0/24Change the variable http_port as shown.

$ http_port 192.168.60.70:3456

Squid Proxy Server configuration file(3)

Page 11: Linux11 Proxy Server

11

Now start the squid proxy services_

$ /etc/init.d/squid start

Squid Proxy Server configuration file(4)

Page 12: Linux11 Proxy Server

12

In Firefox web browser, to set the proxy settings

goto

Edit Preferences and

window similar to shown next slide will be displayed.

Test the Squid Configuration

Page 13: Linux11 Proxy Server

13

Test the Squid Configuration

Page 14: Linux11 Proxy Server

14

Test the Squid Configuration

Page 15: Linux11 Proxy Server

15

Apache web server is pre-installed with RedHat distribution

No need additional installation Easy to configure on Linux system

Using Apache Web Server To Configure Proxy Server

Page 16: Linux11 Proxy Server

16

1) Transparent Proxy2) Anonymous Proxy3) Distorting Proxy4) High Anonymity Proxy

Types of proxy servers

Page 17: Linux11 Proxy Server

17

Server identifies itself as a proxy server.

Makes the original IP address available through the http headers.

Used for their ability to cache websites.

Transparent Proxy

Page 18: Linux11 Proxy Server

18

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.

Transparent Proxy

Page 19: Linux11 Proxy Server

19

Server identifies itself as a proxy server.

Does not make the original IP address available.

Detectable, but provides reasonable anonymity for most users.

Anonymous Proxy

Page 20: Linux11 Proxy Server

20

Server identifies itself as a proxy server.

Make an incorrect original IP address available through the http headers.

Distorting Proxy

Page 21: Linux11 Proxy Server

21

Server does not identifies itself as a proxy server.

Does not make available the original IP address.

High Anonymity Proxy

Page 22: Linux11 Proxy Server

22

That’s All for

Proxy Server

Thank You….!!!!