Difference between revisions of "Instalasi Squid"

From OnnoWiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  # vi /etc/squid/squid.conf
 
  # vi /etc/squid/squid.conf
acl our_networks src 192.168.0.0/24 192.168.11.0/24
+
 
http_access allow our_networks
+
Beberapa setting yang penting
 +
 
 +
visible_hostname 192.168.0.1  # IP address server Squid anda
 +
 
 +
acl our_networks src 192.168.0.0/24 192.168.11.0/24
 +
http_access allow our_networks
  
 
Restart Squid
 
Restart Squid
  
 
  # /etc/init.d/squid restart
 
  # /etc/init.d/squid restart
 +
 +
 +
==Setup Client==
 +
 +
Tidak banyak yang perlu di set di sisi Client. Arahkan proxy di sisi Client ke
 +
 +
IP address Server Squid
 +
Port      3128
  
  

Revision as of 10:50, 2 April 2008

Instalasi Squid

# apt-get install squid

Edit konfigurasi squid agar komputer di LAN kita dapat menggunakan Squid tersebut

# vi /etc/squid/squid.conf

Beberapa setting yang penting

visible_hostname 192.168.0.1  # IP address server Squid anda
acl our_networks src 192.168.0.0/24 192.168.11.0/24
http_access allow our_networks

Restart Squid

# /etc/init.d/squid restart


Setup Client

Tidak banyak yang perlu di set di sisi Client. Arahkan proxy di sisi Client ke

IP address Server Squid
Port       3128


Referensi Tambahan