Untuk menambahkan username / password SQUID
1. root@mamadzus:~# touch /etc/squid/squid_password
2. root@mamadzus:~# chmod 777 /etc/squid/squid_password
3. root@mamadzus:~# htpasswd /etc/squid/squid_password afauzi
New password:
Re-type new password:
Adding password for user afauzi
4. root@mamadzus:~# locate ncsa_auth
/usr/lib/squid/ncsa_auth
/usr/share/doc/squid/README.auth_module.ncsa_auth.gz
5. nano /etc/squid/squid.conf
#mamadzus authentication parameter
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_password
#
# Add this to the bottom of the ACL section of squid.conf
#
acl ncsa_users proxy_auth REQUIRED
#
# Add this at the top of the http_access section of squid.conf
#
http_access allow ncsa_users
regard,
Mamadzus
ma2d_te@yahoo.com
+62 817 540 4448
3 comments:
ga jelas..
gak penting..
gak selesai bikin blog nya haahhahhaa
dialog login pass nya kok nggak muncul ya bos ?
ternyata gak bisa jalan bareng transparent proxy ya bos
cmiiw
Post a Comment