Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-22-2013, 08:35 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Server › Proxy Server v
1 2 3 4 Next »

[Tutor] Proxy Server @ Debian 6 Squeeze

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Proxy Server @ Debian 6 Squeeze
06-17-2012, 09:36 AM
Post: #1
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 325
Joined: Feb 2012
Reputation: 58
Tongue Proxy Server @ Debian 6 Squeeze
Assalamu'alaikum.,
Udah lama rasanya ane gak bikin trit soal Server di Debian, berikut ane buat sebuah trit tentang Server di Debian 6 Squeeze tentang Proxy Server dengan menggunakan Squid. Apa itu Proxy Server.???
Proxy Server merupakan tempat cache/penyimpanan pada sebuah web server yang berfungsi untuk
menyimpan data-data dari situs atau website yang pernah disimpan sebelumnya. Sehingga semakin
sering anda mengakses suatu website maka lama kelamaan akan semakin cepat anda mengakses alamat
website tersebut. Karena sebelum anda mengakses suatu website anda mengakses terlebih dahulu
Proxy Server untuk menlihat apakah data dari website yang hendak dikunjungi telah ada atau belum
dalam sebuah Proxy Server. Tidak hanya itu saja dengan Proxy Server dalam sebuah jaringan anda dapat
memblokir situs-situs tertentu agar tidak dapat diakses oleh setiap komputer yang terhubung ke
jaringan yang bersangkutan.
Berikut merupakan tahapan-tahapan dalam installasi dan konfigurasi Proxy Server :
1. Install sebuah paket software yang dibutuhkan untuk membangun sebuah Proxy Server
Quote:root@sandimulyadi:/home/sandimulyadi# apt-get install squid
2. Lakukan konfigurasi untuk squid.conf yang berada pada directory /etc/squid dengan
memasukan perintah
Quote:root@sandimulyadi:/home/sandimulyadi# nano /etc/squid/squid.conf
Cari beberapa baris script seperti dibawah ini, hilangkan tanda “#” didepannya dan lakukan
sedikit perubahan (usahhakan sama dengan yang saya buat)
Quote:http_port 3128 transparent // Tambahkan kata “transparent” setelah “3128”
cache_mem 16 MB
cache_mgr admin@sandimulyadi.com
Cari script yang bertuliskan “acl CONNECT method CONNECT” dengan cara melakukan
kombinasi tombol keyboard Ctrl + w lalu masukan kalimat yang ingin dicari.
Tambahkan beberapa script tepat dibawah script “acl CONNECT nethod CONNECT” seperti
gambar dibawah ini
[Image: squid.jpg]
Setelah itu cari script “http_access deny all” dan tambahkan tanda “#” jika belum ada tandanya
3. Setelah itu kita akan coba belajar untuk memblokir berbagai situs dan membelokir kata kunci
tertentu dengan Proxy Server. Jika anda lihat di directory /etc/squid yang tersimpan hanyalah
file squid.conf bukan.??? Untuk itulah mengapa kita buat dua buah file saat konfigurasi squid
tadi yakni “/etc/squid/url” dan “/etc/squid/key”
Anda langsung saja masukan data situs yang akan diblok dengan memasukan perintah seperti
berikut ini
Quote:root@sandimulyadi:/home/sandimulyadi# nano /etc/squid/url
facebook.com // Situs yang diblok
twitter.com // Situs yang diblok
youtube.com // Situs yang diblok
Sedangkan untuk memblok kata-kata bisa dengan perintah
Quote:root@sandimulyadi:/home/sandimulyadi# nano /etc/squid/key
porn // Kata yang diblok
sex // Kata yang diblok
sexy // Kata yang diblok
xxx // Kata yang diblok
hentai // Kata yang diblok
Setelah selesai simpan konfigurasi untuk kedua file tersebut
4. Sekarang anda lihat apakah konfigurasi yang anda lakukan sudah benar dengan perintah
Quote:root@sandimulyadi:/home/sandimulyadi# squid -z
Anda restart terlebih dahulu untuk menghindari kesalahan
Quote:root@sandimulyadi:/home/sandimulyadi# /etc/init.d/squid restart
5. Andapun dapat memodifikasi tampilan pesan pemblokiran atas situs yang anda blok dengan
mengedit beberapa file .html pada directory /usr/share/squid/errors/English
Quote:root@sandimulyadi:/home/sandimulyadi# cd /etc/usr/share/squid/errors/English
root@sandimulyadi:/ etc/usr/share/squid/errors/English# nano ERR_DNS_FAIL
6. Sekarang anda buka web browser pada Windows kemudian atur untuk Proxynya. Saya ambil
contoh, saya menggunakan web browser Mozilla Firefox.
Quote:Klik Tools  Options  pilih tab Advanced  Network  pada bagian Connection pilih Settinngs
[Image: squid-1.jpg]
Anda pilih Manual proxy configuration dan isikan sama dengan yang saya isikan lalu klik Ok
7. Setelah itu anda coba masukan beberapa situs yang sudah anda blok maka akan menghasilkan
tampilan seperti gambar dibawah ini
[Image: squid3-1.jpg]
Begitupun saat saya memasukan kata kunci yang diblok pada mesin pencari google
[Image: squid2.jpg]
Sekian dari saya semoga bermanfaat dan tidak repost.!!! wawa
Wassalam.,
Visit this user's website Find all posts by this user
Quote this message in a reply
 Reputed by :  nanda(+1) , Super Moderator(+1) , ditatompel(+1) , ubuntux(+1)
06-17-2012, 09:53 AM
Post: #2
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,944
Joined: Jan 2010
Reputation: 237
RE: Proxy Server @ Debian 6 Squeeze
cool
tapi kalo udah megang jaringan gede,mending transparentnya d enable aja lega
gue move,salah room ini hammer
Visit this user's website Find all posts by this user
Quote this message in a reply
06-17-2012, 09:55 AM
Post: #3
sandimulyadi Offline
d7480cd7a5b43cfbce5fc3b6f8fa88
Posts: 325
Joined: Feb 2012
Reputation: 58
RE: Proxy Server @ Debian 6 Squeeze
mantap
Maaf salah kamar ane sih gak liat-liat dulu.,
hehehe
Visit this user's website Find all posts by this user
Quote this message in a reply
06-17-2012, 10:47 AM (This post was last modified: 06-17-2012 10:48 AM by sunafets.exe.)
Post: #4
sunafets.exe Offline
./Devilz Commander
Posts: 297
Joined: Aug 2011
Reputation: 4
RE: Proxy Server @ Debian 6 Squeeze
haha,, ke inget ujikom,,,

kalo dulu langsung aja

Code:
acl zz dstdomain facebook.com
http_access deny zz

pake zz biar cpet aja wawa
Find all posts by this user
Quote this message in a reply
06-17-2012, 04:51 PM
Post: #5
ditatompel Offline
Administrator
*******
Administrators
Posts: 2,168
Joined: Dec 2010
Reputation: 367
RE: Proxy Server @ Debian 6 Squeeze
Muntab omz... Komplit dan jelas.. smangat
Find all posts by this user
Quote this message in a reply
10-10-2012, 12:32 AM
Post: #6
panembahan Offline
./Devilz 1st Cadet
Posts: 3
Joined: Oct 2012
Reputation: 0
RE: Proxy Server @ Debian 6 Squeeze
makasih, udah nambah ilmu lagi
Find all posts by this user
Quote this message in a reply
10-11-2012, 07:20 AM
Post: #7
panembahan Offline
./Devilz 1st Cadet
Posts: 3
Joined: Oct 2012
Reputation: 0
RE: Proxy Server @ Debian 6 Squeeze
(10-10-2012 12:32 AM)panembahan Wrote:  makasih, udah nambah ilmu lagi


om, kalao mau bikin supaya bersifat private gimana, jadi user harus memasukkan username sama password
Find all posts by this user
Quote this message in a reply
10-11-2012, 07:44 AM
Post: #8
7460 Away
si unyu-unyu
***
Posts: 156
Joined: Dec 2009
Reputation: 10
RE: Proxy Server @ Debian 6 Squeeze
wawawawawawa
Find all posts by this user
Quote this message in a reply
10-13-2012, 12:28 AM
Post: #9
fu_150 Offline
./Devilz 1st Cadet
Posts: 7
Joined: Apr 2010
Reputation: 0
RE: Proxy Server @ Debian 6 Squeeze
lagi pengen coba debian (TProxy) + mikrotik
rencana mau pake 2 lan.. jadi ga single interface.. cuma ane masih binun..

[Image: Topologi%2BWarnet.jpeg]

adakah yg bisa ajarin ane.. belajar
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  KONFIGURASI PROXY SERVER DEBIAN 5 MrKcr 10 678 08-29-2012 12:23 PM
Last Post: fauzanrahman03
  [Solved] About Web Proxy the_critical 16 700 08-24-2012 03:59 PM
Last Post: Zeattacker
  pengenalan Proxy chaer.newbie 16 6,047 05-19-2012 11:57 PM
Last Post: hakimarx
  [Tutor] Membuat terminalmu lebih berwarna buat liat HIT proxy chaer.newbie 22 5,320 03-23-2012 03:45 PM
Last Post: sunafets.exe
  Bluecoat Proxy chaer.newbie 2 680 03-08-2012 10:51 AM
Last Post: jgnkuls
  Sedikit trik buat liat access.log proxy Super Moderator 12 1,531 02-26-2012 02:58 PM
Last Post: chaer.newbie
  [Solved] bantu setting debian biar transparent D'Teguh 9 852 02-20-2012 07:04 AM
Last Post: zulinvation
  [Tutor] Bikin LUSCA proxy di CentOS 5.5, Konfigurasi dan Tunning topi merah 31 10,970 02-03-2012 05:21 PM
Last Post: ghebhes
Exclamation [Ask] Setting Bandwidth dengan squid debian lenny ? fauzanrahman03 13 2,946 01-26-2012 05:18 PM
Last Post: Super Moderator
  aplikasi proxy (SecurityKISS Tunnel) qibo212 4 1,733 12-01-2011 07:14 PM
Last Post: bogenk

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-22-2013, 08:35 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE