Disini versi squid yang akan digunakan adalah Squid 3.1.20. Sebelum mulai instalasi aplikasi biasakan melalukan update/upgrade terlebih dahulu.
apt-get clean all apt-get update apt-get upgrade -y
Install squid 3
apt-get install squid3
cara instalasinya hanya se-simple itu.
Konfigurasi Squid 3
buka file /etc/squid3/squid.conf cari baris
http_access deny all dns_v4_first off
ganti dengan
http_access allow all dns_v4_first on
dibaris paling bawah squid.conf tambahkan
request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Accept allow all request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access All deny all
lalu restart squid3
service squid3 restart ## log perintah diatas [ ok ] Restarting Squid HTTP Proxy 3.x: squid3[....] Waiting.....................done. . ok
sekarang coba browsing dengan IP.SERVER port 3128. Untuk mengganti port 3128 tersebut buka file squid.conf cari
http_port 3128
ganti dengan port yang anda mau, contoh port 9090
http_port 9090
lalu restart squid
service squid3 restart
1. Kalau dipakek main games,sosmed sama yuotube pengaruh apa tidak gan ?
2. apa ini bisa bebas internet positif. dan filter situs xxx, dll gimana gan ?