Limit Youtube di Ubuntu

.

Sebenarnya ini masalah klasik yang paling sering dialami warnet. Pengennya browsing full dan games lancar jaya dengan koneksi bandwith terbatas. Banyak warnet yang menggabungkan Ubuntu server dan Routerboard mikrotik untuk mengatur bandwithnya dan sercurity-nya. Saya sendiri lebih suka cuma pakai ubuntu server sebagai proxy.  Kenapa ?

Hanya dengan Ubuntu Server :
1. Browsing Lose / full
2. Hemat Bandwith / cache situs / update games online
3. Downloader / youtube dibatasi
4. Games lancar jaya

Ada yang menanyakan kenapa download bisa dilimit tetapi youtube masih lolos ? Apa perlu install WebHTB?

Tidak perlu, karena dengan pengaturan SQUID yang benar youtube bisa dilimit. Untuk membatasi youtube  tambahkan (squid.conf)

acl download url_regex -i .youtube.com
acl download url_regex -i get_video\?video_id videodownload\?

Contoh acl limit pada squid.conf

#----------------------------------------------#
#PEMBATASAN DOWNLOAD (kecuali IP 192.168.1.123)
#----------------------------------------------#
acl admin src 192.168.1.123/32
acl management src 192.168.1.123/32

acl download url_regex -i \.rm$ \.mpg$ \.mpeg$ \.avi$ \.dat$ \.vqf$ \.tar.gz$ \.gz$ \.rpm$ \.mp3$ \.3gp$ \.flv$ \.mp3$ \.mp4$ \.iso$ \.exe$ \.iso$ \.mov$
acl download url_regex -i \.zip$ \.bz2$ \.rar$ \.qt$ \.ram$ \.rm$ \.iso$ \.raw$ \.wav$ \.mov$ \.cab$
acl download url_regex -i \.rhz$ \.hlp$ \.psf$ \.exe$ \.bin$ \.cab$ \.amr$ \.msi$ \.dll$
acl download url_regex -i .youtube.com
acl download url_regex -i get_video\?video_id videodownload\?

delay_pools 2
delay_class 1 1
delay_parameters 1 -1/-1
delay_access 1 allow admin
delay_access 1 allow admin management
delay_access 1 deny all

delay_class 2 1
delay_parameters 2 32000/512000
delay_access 2 allow download
delay_access 2 deny all

--------------------------------------------------
Youtube dijamin brebet.....

4 comments:

Anonymous said...

Wow, that's what I was searching for, what a information! existing here at this blog, thanks admin of this web site.

Here is my blog - gmail like gaminglagoon forum

Anonymous said...

Very nice post. I just stumbled upon your weblog and wished to mention that I have really enjoyed surfing
around your blog posts. In any case I will be subscribing for your
feed and I'm hoping you write again very soon!

Stop by my web site ... raspberry ketone diet

Anonymous said...

I visited many websites however the audio feature for audio songs present
at this website is actually excellent.

Feel free to visit my webpage :: book of ra kostenlos spielen demo

Borneo said...

mohon info :
delay_parameters 2 32000/512000

nilai parameter 32000/512000 itu maksdnya gmn ya?

terima kasih

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

 

Followers

Komentar Baru

Support by | Allianz