Langsung aja ya gan lagi gk bisa berkata-kata neh ^_^ ....
Open terminal dan ikuti perintah berikut;
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 192.168.0.0/16
acl ok dstdomain .yahoo.com
acl ok dstdomain .google.co.id
acl ok dstdomain .facebook.com
acl ok dstdomain .speedtest.net
acl ok dstdomain .speedy.com
acl blocked dstdomain .google.co.id
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 Safe_ports port 7777 # vnc
acl Safe_ports port 7878 # vnc
acl QUERY urlpath_regex -i cgi-bin \? \.php$ \.asp$ \.shtml$ \.cfm$ \.cfml$ \.phtml$ \.php3$ localhost
acl SSL_ports port 443 563 81
acl Safe_ports port 80
acl Safe_ports port 20 21
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 631
acl Safe_ports port 10000
acl Safe_ports port 901
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 873
acl Safe_ports port 110
acl Safe_ports port 25
acl Safe_ports port 2095 2096
acl Safe_ports port 2082 2083
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow ok
http_access allow localnet
http_access deny blocked
http_access allow localhost
http_access deny all
icp_access deny all
htcp_access deny all
half_closed_clients off
http_port 3128
hierarchy_stoplist cgi-bin ?
dns_nameservers 208.67.222.222 208.67.220.220
dns_nameservers 180.131.144.144 180.131.145.145
#cache
cache_mem 64 MB
maximum_object_size_in_memory 64 KB
minimum_object_size 4 KB
maximum_object_size 10 MB
negative_ttl 1 minutes
positive_dns_ttl 24 hours
"Jika ingin memblokir situs yg tidak diinginkan bisa configurasi sbb;"
facebook
friendster
yahoo
"Membuat Partisi swap"
"Kemudian aktifkan ip_forwading dan tabel routing dg perintah :
"sebelumnya install terlebih dahulu iptables"
"Lalu kita REDIRECT port 80 ke port 3128 dg perintah"
"Menjalankan squid"
Dan sekarang coba cek proxy squid3 kamu di situs http://www.whatismyip.com/
# semoga berhasil...... ^_^
Open terminal dan ikuti perintah berikut;
apt-get install squid3
cp /etc/squid3/squid.conf /etc/squid3/squid.conf.cadangan
nano /etc/squid3/squid.conf
copas script dibawah ini;acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 192.168.0.0/16
acl ok dstdomain .yahoo.com
acl ok dstdomain .google.co.id
acl ok dstdomain .facebook.com
acl ok dstdomain .speedtest.net
acl ok dstdomain .speedy.com
acl blocked dstdomain .google.co.id
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 Safe_ports port 7777 # vnc
acl Safe_ports port 7878 # vnc
acl QUERY urlpath_regex -i cgi-bin \? \.php$ \.asp$ \.shtml$ \.cfm$ \.cfml$ \.phtml$ \.php3$ localhost
acl SSL_ports port 443 563 81
acl Safe_ports port 80
acl Safe_ports port 20 21
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 631
acl Safe_ports port 10000
acl Safe_ports port 901
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 873
acl Safe_ports port 110
acl Safe_ports port 25
acl Safe_ports port 2095 2096
acl Safe_ports port 2082 2083
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow ok
http_access allow localnet
http_access deny blocked
http_access allow localhost
http_access deny all
icp_access deny all
htcp_access deny all
half_closed_clients off
http_port 3128
hierarchy_stoplist cgi-bin ?
dns_nameservers 208.67.222.222 208.67.220.220
dns_nameservers 180.131.144.144 180.131.145.145
#cache
cache_mem 64 MB
maximum_object_size_in_memory 64 KB
minimum_object_size 4 KB
maximum_object_size 10 MB
negative_ttl 1 minutes
positive_dns_ttl 24 hours
"Jika ingin memblokir situs yg tidak diinginkan bisa configurasi sbb;"
nano /etc/situsterlarang.txt
Contoh;friendster
yahoo
"Membuat Partisi swap"
squid3 z
"Kemudian aktifkan ip_forwading dan tabel routing dg perintah :
echo 1 > /proc/sys/net/ipv4/ip_forward
"sebelumnya install terlebih dahulu iptables"
apt-get install iptables
iptables -t nat -A POSTROUTING -s 192.168.2.0/25 -j MASQUERADE
"Lalu kita REDIRECT port 80 ke port 3128 dg perintah"
iptables -t nat -A PREROUTING -s 192.168.2.0/25 -p tcp --dport 80 -j REDIRECT --to-ports 3128
iptables-save
"Menjalankan squid"
/etc/init.d/squid3 restart
Restarting Squid HTTP Proxy 3.0: squid3 Waiting.....................done.Dan sekarang coba cek proxy squid3 kamu di situs http://www.whatismyip.com/
# semoga berhasil...... ^_^
10 Juni 2011
//
Label:
Squid3
//
6
komentar
//
6 komentar to "Install squid3"





GandalF's bLog says:
Seeppp.. bang,.
Tengkyu.. :D
willy says:
Oke gan :D
GandalF's bLog says:
Msih blm bisa anonymous,bang,,
Your IP Address Is: 180.214.232.**
Possible Proxy Detected: 1.1 localhost (squid/3.1.6)
:(( :(( :((
willy says:
Waahhhh ane jg klo bikin IP jadi anonymous blm paham gan.. :D
SANIA ALBA-KERR says:
mantap bangg,,
willy says:
Yup.. Selamat mencoba :)