22
PROXY SERVER By : Windi Widiastuti XII TKJ -3 31

By : Windi Widiastuti XII TKJ -3 31. DEFINITION

Embed Size (px)

Citation preview

Page 1: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

PROXY SERVER

By : Windi WidiastutiXII TKJ -3

31

Page 2: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Debian is a free operating system developed openly by many volunteer programmers (Debian developers) who are members of the Debian Project. Debian operating system is a combination of software developed by the GNU license, and its main using the Linux kernel, so popular with the name of the Debian GNU / Linux. Debian operating system using the Linux kernel is one of the most popular Linux distributions with stability. Taking into account the Debian-based distributions, such as Ubuntu, Xubuntu, Knoppix, Mint, and so on, then Debian is a Linux distribution that is most widely used in the world.

DEFINITION

Page 3: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Proxy server is a server computer or a computer program that can act as the other computers to make requests to the content from the internet or intranet . Proxy Server acts as a gateway to the internet world for each client computer .

The three main functions of the proxy server are :

Page 4: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Connection Sharing     Acting as a gateway into the boundary

between the local network and the outside network .

    FilteringWork on the application screen that serves as a packet filtering firewall is used to protect the local network against interference or attacks from external networks. Can be configured to

reject certain websites at certain times.

    Caching     Proxy Server has a storage mechanism

objects that have been requested from servers on the Internet . Caching mechanism to store objects that are user requests obtained from

iternet .

Page 5: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

First we need to install a proxy server. Package that will be used is squid# apt-get install squid

KONFIGURATION

Page 6: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Get into the squid directory. # cd /etc/squid

Page 7: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Perform configuration to a file located didirektori squid.conf / etc / squid by entering the command

Page 8: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION
Page 9: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION
Page 10: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then search for the word http_port 3128 by means of CTRL+W and thentype the command http_port 3128, press Enter.

Page 11: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Add the word "transparent" after "3128" and uncheck "#" in front.

Page 12: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Search more words cache_mgr webmasters in the same way in the previous step, press Enter

Page 13: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then remove a fence (#) in front of the sentence, and add domain name server, example : cache_mgr [email protected]

Page 14: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then find visible_hostname by pressing Ctrl+W, then type visible_hostname, press Enter

Page 15: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then under # none, visible_hostname type, and add in front of sentence with (domain name server)

Page 16: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then find the word CONNECT acl write down the sentence by pressing Ctrl+W, press Enter.

Page 17: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

acl bloksitus dstdomain windi.com http_access deny bloksitus acl local src 192.168.31.0/24 http_access allow local http_access allow all On the blue line, fill in the site you want to block or blogger friends can not be accessed. And the green line input IP subnet prefix followed. If it fails, also can not use the prefix and only include IP only.Type the script as below Save the configuration by ctrl+x => y, Enter.

Page 18: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Restart squid by way of / etc / init.d / squid restart

Page 19: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION
Page 20: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

After that, type in the domain name server that is not on the block in web search,for example : www.windi.comthis will bring up the web content that is not on the block.

Page 21: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Then check domain name server (dns) is on the block.For example : type in the web search windi.com .Then the results will appear as below.

Page 22: By : Windi Widiastuti XII TKJ -3 31.  DEFINITION

Thank You