On 3/21/06, milisdad <[EMAIL PROTECTED]> wrote: > gimana cara nya batasin akses web di squid? > misal yang boleh diakses adalah yahoo.com > selain yahoo.com tidak bisa. > mohon batuannya.
jadi dibuat WHITELIST yang isinya situs-2 yang boleh diakses. yang lain DENY. Konfigurasi squid.conf: acl Safe_ports port 80 443 210 119 70 21 1025-65535 acl CONNECT method CONNECT acl whitelist url_regex -i "/etc/squid/whitelist" acl all src 0.0.0.0/0.0.0.0 http_access allow whitelist http_access deny !Safe_ports http_access deny CONNECT http_access deny all Konfigurasi /etc/squid/whitelist: .yahoo.co* .google.co* jadi hanya boleh mengakses ke *.yahoo.com dan *.google.co*. Yang lain akan di ditolak -- "Get your facts first, then you can distort them as you please." - Mark Twain http://jaya.duniasemu.org "This is my way being a linuxer..." http://jogja.linux.or.id http://jogja.linux.or.id/wiki/ Untuk berhenti langganan silahkan kirim email kosong ke: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/jogja-linux/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
