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

Squid for Windows

Home General Computer Multimedia Business Lounge

Pages (2): 1 2 Next »
Post Reply 
Tweet
Threaded Mode | Linear Mode
Squid for Windows
05-05-2010, 02:40 PM
Post: #1
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,942
Joined: Jan 2010
Reputation: 237
Squid for Windows
Squid:
Adalah software(server) proxy atau internet cache yaitu menyimpan data dari hasil browsing kita ke hardisk lokal sehingga internet terasa semakin wuss karena beberapa file seperti image, script, video atau audio dah kesimpen dulu di hardisk sehingga tidak mengambil secara langsung dari internet, yang kita ambil dari internet hanya update2 dari situs tersebut.

Manfaat:
-Internet makin kenceng (untuk situs yang dah pernah dibuka)
-Ngirit Bandwidth
-Expandable User (memperbanyak user yang boleh ikutan sharing internet)
Silahkan di download:
Squid

Cara install>>
Copykan folder “squid” ke C:\

Lakukan editing file configurasi: C:\squid\etc\squid.conf

Untuk lebih mempermudah bagi newbie yang belum tahu cara configurasi squid sudah saya siapkan file "squid.conf" tinggal copas aja ke folder C:\squid\etc

Setelah selesai copasnya:
Code:
Start==>Run> ketik CMD
Muncul comand terus:
cd C:\squid\sbin (enter)
trus ketik:
squid -z (enter)
squid -d 1 -D (enter)
trus pencet Ctrl C
trus ketik:
squid -i (enter)
Dah beres…

Setting Browser:

Untuk mozilla: Tool==>Options==>Advanced==>Network== Settings==>Manual Proxy Configuration==> isi dengan 127.0.0.1 Port: 3128 atau localhost Port: 3128 Pilih use this proxy for all protocols
Untuk browser lain cari sendiri aja dech

Untuk komputer dalam LAN yang gak dipasangi proxy tinggal setting di browser aja dengan IP address dimana proxynya kepasang misal 192.168.0.1 Port: 3128

Untuk memastikan proxy dah jalan coba di restart komputernya (untuk memory kurang dari 512MB loading windows lumayan lama)
Cek C:\squid\var\cache ==>Properties lihat apakah ukurannya semakin besar apabila semakin besar berarti proxynya dah jalan.

Setting Service:

Control Panel==> Administartive Tools==>Services==>Squid==>Startup Type dibuat automatic==>kalau belum aktif tinggal pencet Start

Uninstall Squid:

Code:
Start==>Run> ketik CMD
Muncul comand terus:
cd C:\squid\sbin (enter)
trus ketik:
squid -r (enter)



Ubah setting proxy di browser anda ke direct connections alias tanpa squid

Squid service sudah tidak berada di computer anda.

Update squid.conf>>
http_port 3128 transparent
icp_port 3130

acl youtube dstdomain .youtube.com
acl speedtest dstdomain .speedtest.net
cache allow youtube
cache allow speedtest
hierarchy_stoplist cgi-bin ? .js .jsp
acl QUERY urlpath_regex cgi-bin \? .js .jsp
no_cache deny QUERY

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

cache_mem 64 MB
cache_swap_high 100%
cache_swap_low 80%
maximum_object_size 10 MB
minimum_object_size 4 KB
maximum_object_size_in_memory 64 KB
ipcache_size 4096
ipcache_low 90%
ipcache_high 98%
fqdncache_size 1024

half_closed_clients off
offline_mode off
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir ufs D:/cache 6000 14 256
mime_table c:/squid/etc/mime.conf
pid_filename c:/squid/var/squid.pid
log_fqdn off

request_body_max_size 3 MB
cache_log c:/squid/var/logs/cache.log
cache_log none
cache_store_log none


refresh_pattern . 180 95% 120960 reload-into-ims override-lastmod
refresh_pattern -i \.(class|css|js|tif)$ 1440 95% 10080 reload-into-ims override-lastmod
refresh_pattern -i \.(jpe|jpg|jpeg|png|bmp|gif)$ 1440 95% 10080 reload-into-ims override-lastmod
refresh_pattern -i \.(tiff|mov|avi|qt|mpeg|3gp)$ 10080 95% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.(mpg|mpe|wav|au|mid)$ 10080 95% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 95% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 95% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.(pdf|rtf|doc|swf|txt)$ 1440 95% 20160 reload-into-ims override-lastmod
refresh_pattern -i \.(inc|cab|ad|hqx|dll)$ 10080 95% 43200 reload-into-ims override-lastmod
refresh_pattern -i \.(asp|acgi|pl|shtml|php3|php)$ 2 20% 4320 reload-into-ims override-lastmod
refresh_pattern -i \? 2 20% 4320

refresh_pattern ^http://*.friendster.com/.* 720 100% 4320
refresh_pattern ^http://mail.yahoo.com/.* 720 100% 4320
refresh_pattern ^http://*.yahoo.com/.* 720 100% 4320
refresh_pattern ^http://mail1.plasa.com/.* 720 100% 4320
refresh_pattern ^http://*.yimg.*/.* 720 100% 4320
refresh_pattern ^http://*.detik.*/.* 60 20% 360
refresh_pattern ^http://*.detikinet.*/.* 60 20% 360
refresh_pattern ^http://*.detikhot.*/.* 60 20% 360
refresh_pattern ^http://*.detiportal.*/.* 60 100% 360
refresh_pattern ^http://*.kompas.*/.* 60 20% 360
refresh_pattern ^http://*.trans7.*/.* 720 100% 4320
refresh_pattern ^http://*.rcti.*/.* 720 100% 4320
refresh_pattern ^http://*.indosiar.*/.* 720 100% 4320
refresh_pattern ^http://*.kapanlagi.*/.* 720 100% 4320
refresh_pattern . 0 20% 4320
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 98
client_lifetime 60 minutes
half_closed_clients off
reload_into_ims on
pipeline_prefetch on
vary_ignore_expire on

negative_ttl 1 minutes
positive_dns_ttl 24 hours

quick_abort_min 0
quick_abort_max 0
quick_abort_pct 100

dns_nameservers 208.67.222.222 208.67.220.220

acl localnet src 192.168.0.0/16

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 4000
acl Safe_ports port 80 81 82 83 88 90 91 11371 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl SSL_ports port 2081-2090
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow localnet
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all

icp_access deny all
header_access Accept-Encoding deny all
forwarded_for off
header_access From deny all
logfile_rotate 3
reload_into_ims on
shutdown_lifetime 10 seconds
cachemgr_passwd disable shutdown
cachemgr_passwd all
buffered_logs off
offline_mode off
icp_hit_stale on
query_icmp on
ignore_unknown_nameservers on
acl hotmail dstdomain .hotmail.com .msn.com .passport.net .msn.co.id .passport.com
header_access Accept-Encoding deny hotmail
client_db on
Transparent Proxy>>
Donlot dulu di sini
Pada dasarnya squidNT tidak support untuk transparent proxy hanya squid linux saja bisa support transparent proxy. Ini dikarenakan manajemen NAT dan IP forwarding serta port forwarding tidak ada dalam setting windows.
Akan tetapi saya telah mencari artikel-artikel di internet untuk memaksa transparent proxy bekerja di lingkunagn windows dengan bantuan tool luar tentunya.

Instalasi transparent proxy di windows:

Install Softperfect Bandwidth Manager v2.6.416

Buat Port mapping melalui menu “tools” :

[Image: portmap1.jpg]
[Image: portmap2.jpg]

Membuat Rule melalui menu “Rules”
Dengan konfigurasi:

Direction: Both
Transfer Rate Limit: Unlimited
Protocol: TCP and UDP
Apply Rule on Interface: LAN
[Image: rule1.jpg]
[Image: rule2.jpg]
[Image: rule5.jpg]
[Image: rule4.jpg]

Selesaikan langkah-langkah tersebut dan restart windows
Jalankan browser di client tanpa mengubah konfigurasi alias default atau redirect connections
Check status proxy anda: http://whatismyipaddress.com
Apabila terdetect menggunakan proxy berarti transparent proxy telah berhasil :Skate
Visit this user's website Find all posts by this user
Quote this message in a reply
05-05-2010, 04:18 PM
Post: #2
wahyu_devilzc0de™ Offline
Rest In Peace
***
Posts: 1,573
Joined: Dec 2009
Reputation: 191
RE: Squid for Windows
maksud kang mas linuxer mungkin : squid NT njeh.
sip mas, gak ada yang meleset tutornya. mantaps.
tapi...gak jauh beda mas dgn ini, sebelumnya sudah di bahas juga pada bagian:
Code:
http://forum.devilzc0de.org/thread-29.html

suwun.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-07-2010, 01:03 AM
Post: #3
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,272
Joined: Dec 2009
Reputation: 184
RE: Squid for Windows
lebih komplit ini. diseting transparent segala bangga

mantep pinter
Find all posts by this user
Quote this message in a reply
06-16-2010, 10:27 PM
Post: #4
banditc0de Offline
Anak TK
Posts: 86
Joined: May 2010
Reputation: 0
RE: Squid for Windows
waduh ternyata ada terusannya... keren kang!! hihi.izin mempelajarinya!!
Visit this user's website Find all posts by this user
Quote this message in a reply
06-19-2010, 02:09 PM
Post: #5
assala Away
Stay Cool and Be Positive ;)
**
Moderators
Posts: 2,202
Joined: Jan 2010
Reputation: 41
RE: Squid for Windows
akhirnya dapet juga

thanks for sharing om linux
smiley_beer
Find all posts by this user
Quote this message in a reply
08-18-2010, 11:35 PM
Post: #6
6419scm Offline
./Devilz 1st Cadet
Posts: 7
Joined: Aug 2010
Reputation: 0
RE: Squid for Windows
nais inpoh kan linuxer smiley_beer
Find all posts by this user
Quote this message in a reply
08-19-2010, 10:44 AM
Post: #7
diarireana Offline
./Devilz 1st Cadet
Posts: 5
Joined: Jul 2010
Reputation: 0
RE: Squid for Windows
sangat bermanfaat infonya aa.
trims yah.

mantap
Find all posts by this user
Quote this message in a reply
08-20-2010, 08:27 AM (This post was last modified: 08-20-2010 02:37 PM by assala.)
Post: #8
assala Away
Stay Cool and Be Positive ;)
**
Moderators
Posts: 2,202
Joined: Jan 2010
Reputation: 41
RE: Squid for Windows
ane ada sdikit pertanyaan om
jalanin squid.exe nya emang kudu liwat cmd yah? klo dklik 2 kali knp gk bisa yah?
Find all posts by this user
Quote this message in a reply
08-20-2010, 08:29 AM
Post: #9
permanent_dns_attacker Offline
./Devilz Officer
Posts: 66
Joined: Aug 2010
Reputation: 4
RE: Squid for Windows
wah apa itu squid kk? ane gak ngerti
Find all posts by this user
Quote this message in a reply
08-20-2010, 09:03 AM
Post: #10
assala Away
Stay Cool and Be Positive ;)
**
Moderators
Posts: 2,202
Joined: Jan 2010
Reputation: 41
RE: Squid for Windows
(08-20-2010 08:29 AM)permanent_dns_attacker Wrote:  wah apa itu squid kk? ane gak ngerti

proxy om. biar mempercepat browsing situs² yg sering kita kunjungi. untuk yang lebih tahu silakan CMIIW seneng
info lebih lanjut coba klik
http://id.wikipedia.org/wiki/Squid
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
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
  Meningkatkan Request hit squid chaer.newbie 16 2,309 03-26-2013 07:19 PM
Last Post: Jehuda
  squid.conf chaer.newbie 40 25,433 10-31-2012 11:03 AM
Last Post: neobix
Thumbs Down [Tutor] install squid 2.7.STABLE9 dengan TPROXY-4.1 di ubuntu 10.04 revanthem 13 4,483 10-19-2012 12:46 PM
Last Post: pandak
  Cara mengatasi TCP_MISS pada Squid Ubuntu chibi 7 1,023 08-05-2012 06:48 AM
Last Post: ghosttransparentexceptnofixed
  [Tutor] squid anti iklan luthfi_dc 13 661 07-30-2012 12:14 PM
Last Post: sunafets.exe
  tuning performa squid luthfi_dc 3 418 07-30-2012 12:11 PM
Last Post: luthfi_dc
  squid.conf for Squid 3.x.x Super Moderator 24 3,273 07-26-2012 12:46 AM
Last Post: ghosttransparentexceptnofixed
  [Ask] Caching Squid easy2study 7 1,214 06-11-2012 12:18 AM
Last Post: emin
  Squid Delay Pool wahyu_devilzc0de™ 12 5,815 03-27-2012 06:28 PM
Last Post: agam atjoeng
  forward internet akses anda dgn mudah via ccproxy (windows) darkslayer 17 1,539 03-12-2012 12:40 AM
Last Post: darkslayer

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-22-2013, 08:02 AM 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