الجمعة، 2 سبتمبر 2016

رول تسريع الواتس ابwhatsapp

رول تسريع الوواتس اب -Whatssup
بحيث يسرع عملية المراسلة ورفع الصور وتحميل الصور الواردة...

للنسخ
6

/system script
add name=whatsapp policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":foreach \
i in=[/ip dns cache all find where (name~\"whatsapp\" || name~\"whatsapp cdn\" || \
name~\"akamai\") && (type=\"A\") ] do={\r\
\n :local tmpAddress [/ip dns cache get \$i address];\r\
\ndelay delay-time=10ms\r\
\n#prevent script from using all cpu time\r\
\n :if ( [/ip firewall address-list find where address=\$tmpAddress] = \"\
\") do={ \r\
\n :local cacheName [/ip dns cache get \$i name] ;\r\
\n :log info (\"added entry: \$cacheName \$tmpAddress\");\r\
\n /ip firewall address-list add address=\$tmpAddress list=whatsapp comm\
ent=\$cacheName;\r\
\n\r\
\n}\r\
\n\r\
\n}"
/system identity
set name=alzubide-+967-774039606
/system scheduler
add disabled=no interval=30m name=whatsapp on-event=whatsapp policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
start-time=startup
/ip firewall mangle
add action=mark-packet chain=prerouting comment="whatsapp 774039606" \
disabled=no dst-address-list=whatsapp new-packet-mark=whatsapp passthrough=\
yes
/queue type
add kind=pcq name=whatsapp pcq-classifier=src-address,dst-address \
pcq-dst-address6-mask=64 pcq-rate=100M pcq-src-address6-mask=64
/queue tree
add comment=whts name=whatsapp packet-mark=whatsapp parent=global priority=1 \
queue=whatsapp

////////////
للنسخ 5

/system script
add name=whatsapp policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":foreach \
i in=[/ip dns cache all find where (name~\"whatsapp\" || name~\"whatsapp cdn\" || \
name~\"akamai\") && (type=\"A\") ] do={\r\
\n :local tmpAddress [/ip dns cache get \$i address];\r\
\ndelay delay-time=10ms\r\
\n#prevent script from using all cpu time\r\
\n :if ( [/ip firewall address-list find where address=\$tmpAddress] = \"\
\") do={ \r\
\n :local cacheName [/ip dns cache get \$i name] ;\r\
\n :log info (\"added entry: \$cacheName \$tmpAddress\");\r\
\n /ip firewall address-list add address=\$tmpAddress list=whatsapp comm\
ent=\$cacheName;\r\
\n\r\
\n}\r\
\n\r\
\n}"
/system identity
set name=alzubide-+967-774039606
/system scheduler
add disabled=no interval=30m name=whatsapp on-event=whatsapp policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
start-time=startup
/ip firewall mangle
add action=mark-packet chain=prerouting comment="whatsapp 774039606" \
disabled=no dst-address-list=whatsapp new-packet-mark=whatsapp passthrough=\
yes
/queue type
add kind=pcq name=whatsapp pcq-classifier=src-address,dst-address \
pcq-dst-address6-mask=64 pcq-rate=100M pcq-src-address6-mask=64
/queue tree
add comment=whts name=whatsapp packet-mark=whatsapp parent=global-out priority=1 \
queue=whatsapp

جميع الحقوق محفوضة لدى مدونة ارشيف الميكروتك 2016

تطوير : محمد الجوفي