proxy authentikasi

untuk authentikasi proxy menyediakan beberapa modul.
ncsa_auth, ntlm_auth, pam_auth, sasl_auth dll.
untuk ncsa_auth yang membaca file berisi password yang terenkripsi.
langkah:
1. buat file kosong misal squid_passwd
#touch /etc/squid/squid_passwd
#chmod o+r /etc/squid/squid_passwd
2.htpasswd /etc/squid/squid_passwd fayyad
new pasword:
re-type password:
3. cari dan tentuka diman modul ncsa_auth
#rpm -ql | grep ncsa_auth
4. edit file /etc/squid/squid.conf, kita perlu mendefenisikan
authentikasi yang kita gunakan yaitu ncsa_auth
tambahkan baris ini pada auth_param squid.conf
auth_param basic /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
tambahkan baris berikut pada bagian daftar access list squid.conf
acl ncsa_users proxy_auth REQUIRED
jangan lupa merestart squidnya
This entry was posted on Sunday, September 9th, 2007 at 4:17 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply