My personal experience in networking. I am giving the solutions for those problems which I had faced during the installation and maintenance.
Monday, August 4, 2014
Youtube Limit/Full Access Mikrotik
/ip firewall layer7-protocol
add name=streaming regexp=videoplayback|video
/ip firewall mangle
add action=mark-connection chain=prerouting comment="Youtube_ Client" \
disabled=no layer7-protocol=streaming new-connection-mark=youtube \
passthrough=no src-address-list=256kbps+
add action=mark-packet chain=output connection-mark=youtube disabled=no \
new-packet-mark=youtube passthrough=no protocol=tcp
/queue type
add kind=pcq name=PCQ_Upload pcq-burst-rate=0 pcq-burst-threshold=0 \
pcq-burst-time=10s pcq-classifier=src-address pcq-dst-address-mask=32 \
pcq-dst-address6-mask=64 pcq-limit=50 pcq-rate=1024k \
pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
I have set 1024kbps for Youtube, for limitation set 1024k to 1k or so.
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=Youtube_Up packet-mark=youtube parent=global-out \
priority=8 queue=PCQ_Upload
Subscribe to:
Post Comments (Atom)
Thank you it's works :D
ReplyDeletePlease start with introduction of the topics. Explain details then everybody can use and apply this.
ReplyDeleteMy Question :
ReplyDeleteMT = RouterBoard 750UP
Ether1: 200.200.201.100/29 (WAN)
Ether2: 192.168.1.100 (LAN network)
I want PC1- 192.168.1.150/24 get only 1Mbps traffic while he requesting for browsing internet, but PC1 get 10M speed while it's request for youtube streaming.
I am using this script to achieve this task.
/ip firewall mangle add action=add-dst-to-address-list address-list=Youtube address-list-timeout=10m chain=prerouting comment=youtube content=youtube.com dst-port=80,443 protocol=tcp
/ip firewall mangle add action=mark-packet chain=forward comment=youtube new-packet-mark=Youtube passthrough=no src-address-list=Youtube
but i don't know how to create separates parent queue to match.
Thanks
Abbas
http://radiusm.blogspot.com/2016/01/different-youtube-bandwidth-for.html
Deleteyou can view here
Hi, many thanks...
ReplyDeleteIt works to limit streaming on youtube website
perfect... thx
ReplyDeletechain output for mark-packet doesnt work for me, need to change to forward. thanks.
ReplyDeleteI found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information youtube downloader
ReplyDeleteHave you noticed the news has changed its approach recently? What once seemed like a never discussed issue has become more prevelant. It’s that time to chagnge our stance on this though. online youtube video downloader
ReplyDeleteGood Post, I am a big believer in writing comments on weblogs to let the blog writers know that theyĆ¢€™ve added some thing of great benefit to the world wide web! online youtube video downloader
ReplyDeleteI’m not sure where you’re getting your information, but great topic. I needs to spend some time learning more or understanding more. Thanks for fantastic information I was looking for this information for my mission. youtube video downloader
ReplyDeleteThank you for shearing post amazing this is post very useful for me.
ReplyDeleteNew Media
New Media
New Media
New Media
New Media
New Media
New Media
New Media