Squid Proxy Server Over Windows XP ( Smart 3G Modem )
Proxy server Squid ini aku gunakan untuk sharing internet menggunakan modem Smart 3G
yang termasuk jenis koneksi Dial-Up. Dan ini bukan konfigurasi transparent proxy.
Konfigurasi ini masih tergolong konfigurasi standar
Mulai aja :
Download dulu file squid-2.6.STABLE22-bin –> squid.acmeconsulting.it/SquidNT26.html
Extack file tersebut di C:\, jadinya
C:\squid
Buka command prompt
Cari informasi Ip DNS Isp yang kita gunakan, dalam hal ini aku mencari DNS Smart 3g
c:\ipconfig/all
Masuk ke direktori squid\etc
c:\squid\etc
Lalu edit file berikut
mime.conf.default menjadi mime.conf
squid.conf.default menjadi squid.conf
cachemgr.conf.default menjadi cachemgr.conf
Lalu edit file squid.conf, pada bagian
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
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow localhost
http_access allow our_networks
http_access deny all
icp_access allow all
http_port 192.168.1.1:3128 #nama pc proxy dan port-nya
hierarchy_stoplist cgi-bin ?
cache_mem 94 MB #lebih amanya set 1/4dari total memory
cache_dir ufs d:/cache 512 16 256
minimum_object_size 0 KB #sesuai kebutuhan
maximum_object_size 4096 KB # ——”——-
access_log c:/squid/var/logs/access.log squid
cache_log c:/squid/var/logs/cache.log
cache_store_log c:/squid/var/logs/store.log
ftp_passive off
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
visible_hostname localhost
dns_nameservers 202.70.61.61 202.43.178.245 # dns smart modem 3G
coredump_dir d:/cache # direktori cache squid
Save file squid.conf yang sudah di edit
Buka command prompt
cd c:\squid\sbin
squid> squid -z # inisialisasi cache squid
squid> -d 1 -D # mendiagnosa hasil setingan squid.conf
squid -i # memasukkan squid ke service windows
squid -O -D # memasukan parameter -D ketika service dijalankan
Lalu aktifkan service squid
Administrative Tools —-> Services —–> Squid —-> klik kanan —> start
atau
c:\squid\sbin> squid start
Lalu konfigurasi-kan proxy yang ada pada masing-masing pc client atau pada masing-masing browser client, arahkan ke DNS/IP pc proxy dan port-nya. Dalam hal ini saya arahkan ke Ip:192.168.1.1 port:3128
Coba Browsing ke alamat yang anda sukai. Kalau sudah kebuka berarti konfigurasi sudah benar. Konfigurasi untuk squid windows xp tidak jauh berbeda dengan squid di mesin linux. Tinggal penyesuaian aja……
Menambahkan Fungsi Routing
Masuk ke registri windows xp
HKEY_LOCAL_MACHINE
——> System
——-> CurrentControlSet
——–> Services
———>Tcpip
——–> Parameters
Ubah value dari IPEnableRouter
Value type: REG_DWORD
Value Data: 1
Jika sudah selesai tutup registry editor dan restart pc tsb.
Lalu aktifkan Internet Connection Sharing dari koneksi internet tersebut.
Trus set gateway dan DNS pada NIC properties masing2 PC client dengan no IP pc router tadi.
Sekarang pc tersebut dah jdi router sekaligus proxy server.
- — EOF —–




salam hardcore straight xXx edge
Bro request yg setingan untuk modem sierra dunks
Tengkyu before ye
ke e-mail ane jg boleh
sekali lagi tengkyu banget