Auth user di squid via NCSA

  • Pastikan sewaktu compilas squid sdh menyertakan opsi berikut : –enable-auth
    –enable-basic-auth-helpers=NCSA
  • mkdir /usr/local/squid/ncsa
  • htpasswd -c /usr/local/squid/ncsa/login.auth donnie
  • edit squid.conf, tambahkan lines berikut ini :

auth_param basic program /usr/lib/squid/ncsa_auth /usr/lib/squid/ncsa/dani.auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl ncsa_users proxy_auth REQUIRED

http_access allow ncsa_users

  • set ip proxy di browser, jika muncul form login berarti settingan sukses

Pastikan proxy tidak diset transparent

5 thoughts on “Auth user di squid via NCSA”

  1. kebetulan proxy saya menggunakan transparent.. solusinya gimana yaa.. saya buat password gak pengaruh ke client..

    apakah transparant nya harus di matikan..

    ada solusi yang lain

    saya menggunakan ubuntu 7.10

Leave a Reply

Your email address will not be published. Required fields are marked *