[ask]Konfigurasi squid, untuk membatasi Youtube

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
G7X
Posts: 150
Joined: 19 May 2010, 12:41
Location: Semarang

[ask]Konfigurasi squid, untuk membatasi Youtube

Postby G7X » 20 Oct 2011, 20:17

Saya mau tanya, bagaimana konfigurasi squid agar dapat membatasi penggunaan bandwith oleh youtube. Karena setiap menggunakan IDM dan mendownload file dari youtube, hampir semua bandwidnya dipakai. sedangkan mendownload dari url lain, masih dapat dibatasi.
Ini konfigurasi delaynya:

#file yang dibatasi
acl file url_regex -i \.exe
acl file url_regex -i \.mkv
acl file url_regex -i \.00
acl file url_regex -i \.rar
acl file url_regex -i \.mp3
acl file url_regex -i \.flv
acl file url_regex -i \.iso
acl file url_regex -i \.avi
acl file url_regex -i \.mp4
acl file url_regex -i \.mpeg
acl file url_regex -i \.rmvb
acl file url_regex -i \.rm
acl file url_regex -i \.zip
acl file url_regex -i \.raw
acl file url_regex -i \.mpg

#pembatasan bandwith

delay_pools 2

delay_class 1 3
delay_parameters 1 -1/-1 3000/8000 30000/30000
delay_access 1 allow asdosa file
delay_access 1 allow asdosb file
delay_access 1 allow asdosc file
delay_access 1 allow support file
delay_access 1 deny all

delay_class 2 3
delay_parameters 2 -1/-1 6000/15000 5000/5000
delay_access 2 allow laba file
delay_access 2 allow labb file
delay_access 2 allow labc file
delay_access 2 deny all

Mohon bantuannya.
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: [ask]Konfigurasi squid, untuk membatasi Youtube

Postby yudiarbi » 21 Oct 2011, 08:18

G7X wrote:#file yang dibatasi
acl file url_regex -i \.exe
acl file url_regex -i \.mkv
acl file url_regex -i \.00
acl file url_regex -i \.rar
acl file url_regex -i \.mp3
acl file url_regex -i \.flv
acl file url_regex -i \.iso
acl file url_regex -i \.avi
acl file url_regex -i \.mp4
acl file url_regex -i \.mpeg
acl file url_regex -i \.rmvb
acl file url_regex -i \.rm
acl file url_regex -i \.zip
acl file url_regex -i \.raw
acl file url_regex -i \.mpg

coba diganti

Code: Select all

acl file url_regex -i \.exe$ \.mkv$ #dan seterusnya sesuai ekstensi yg smpyn pasang

G7X wrote:#pembatasan bandwith

delay_pools 2

delay_class 1 3
delay_parameters 1 -1/-1 3000/8000 30000/30000
delay_access 1 allow asdosa file
delay_access 1 allow asdosb file
delay_access 1 allow asdosc file
delay_access 1 allow support file
delay_access 1 deny all

delay_class 2 3
delay_parameters 2 -1/-1 6000/15000 5000/5000
delay_access 2 allow laba file
delay_access 2 allow labb file
delay_access 2 allow labc file
delay_access 2 deny all

Mohon bantuannya.

coba diganti
Tampilkan
delay_pools 2

delay_class 1 1
delay_parameters 1 -1/-1 3000/8000 30000/30000
delay_access 1 allow asdosa file
delay_access 1 allow asdosb file
delay_access 1 allow asdosc file
delay_access 1 allow support file
delay_access 1 deny all

delay_class 2 1
delay_parameters 2 -1/-1 6000/15000 5000/5000
delay_access 2 allow laba file
delay_access 2 allow labb file
delay_access 2 allow labc file
delay_access 2 deny all

moga bener, kl salah... :D
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [ask]Konfigurasi squid, untuk membatasi Youtube

Postby sipelaut » 25 Oct 2011, 18:50

wwahhh TS nya mana yahhhh...???

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests