By : Windi Widiastuti XII TKJ -3 31. DEFINITION

Preview:

Citation preview

PROXY SERVER

By : Windi WidiastutiXII TKJ -3

31

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

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 :

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 .

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

KONFIGURATION

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

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

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

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

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

Then remove a fence (#) in front of the sentence, and add domain name server, example : cache_mgr tkj@windi.com

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

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

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

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.

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

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.

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.

Thank You