Sunday, January 22, 2012

Delay Pool Belum di Coba

dicopas dari grup klosi chandra jaya, belum dicoba. kalau mau nyoba silahkan. resiko ditanggung penumpang kwwkwkwkww. (mode penyelamatan)
acl server src 192.168.1.0/24
acl admin src 192.168.1.2
acl gameonline src 192.168.1.3-192.168.1.12
acl hotspot src 192.168.1.100-192.168.1.150
acl blok url_regex -i \.wmv \.mpg \.mpeg \.wma \.wav \.3gp \.3gpp \.avi \.dat \.acc \.ogg \.mp4 \.mp3 \.mov \.rar \.zip \.7z \.iso \.ace \.exe \.torrent \.mkv \.rm \.asf \.flv
acl youtube dstdomain -i .youtube.com
acl striming url_regex -i get_video?video_id videodownload?
cache allow youtube
cache allow striming
acl mimeUpload req_mime_type ^application/octet-stream$

delay_pools 6

delay_class 1 1
delay_parameters 1 -1/-1
delay_access 1 allow admin
delay_access 1 deny all

delay_class 2 3
delay_parameters 2 40000/500000 32000/500000 24000/500000
delay_access 2 allow gameonline
delay_access 2 deny all

delay_class 3 3
delay_parameters 3 48000/500000 40000/500000 32000/500000
delay_access 3 allow hotspot
delay_access 3 deny all

delay_class 4 1
delay_parameters 4 24000/500000
delay_access 4 allow blok server
delay_access 4 deny all

delay_class 5 3
delay_parameters 5 -1/-1 -1/-1 32000/500000
delay_access 5 allow striming youtube
delay_access 5 deny all

delay_class 6 1
delay_parameters 6 24000/500000
delay_access 6 allow mimeUpload
delay_access 6 deny all

setelah selesai klik tombol save di winscp
buka putty masuk sebagai root dan restart squid
# service squid restart

0 comments:

Post a Comment