إشترك معنا ليصلك جديد الموقع

السبت، 9 يونيو 2018

برنامج ماي كلاود تك لإداره الميكروتك عبر الموبايل


برنامج ماي كلاود تك لإداره الميكروتك عبر الموبايل 

ماي كلاود تك هو تطبيق يمكنك من إدارة أجهزة المايكروتك الخاصة بك عن طريق جهاز الأندرويد الخاص بك.
يقدم ماي كلاود تك مميزات رائعة مثل:
1. مراقبة موارد وآجهزة بث الشبكة.
2. مراقبة عدد المستخدمين.
3. عرض قائمة المستخدمين النشطاء والمرتبطين بالشبكة وأجهزة البث.
4. إمكانية إنشاء قوالب للكروت عبر إضافة صوره القالب وتحديد أماكن (إسم المستخدم ـ كلمة المرور-سريل نمبر- وغيرها) للطباعة عليها لمره واحده دون الحاجة لإختيار الصوره كل مره .
5. إمكانية إنشاء كروت المستخدمين للهوتسبوت منجر وتنسيقها على قالب الطباعة وتصديرها إلى ملف pdf.
5. إمكانية إنشاء كروت المستخدمين لليوزر منجر وتنسيقها على قالب الطباعة وتصديرها إلى ملف pdf.
6. إمكانية إرسال الكروت المنشئة الى الطابعة عبر البلوتوث او ارسالها عبر الواتس اب او الفيس بوك او غيرهها .
7. إمكانية إعادة تشغيل جهاز المايكروتك أو إيقاف تشغيله.

   


الأحد، 27 أغسطس 2017

اعدادات الـ VLAN في جهاز البث TP-LINK CPE220

نستعرض معكم اعدادت الــ VLAN بالصور في عملاق اجهزه البث الخارجيه TP-LINK CPE220 
                               ندخل على إعدادات الجهاز الافتراضية 192.168.0.254 ثم من قائمه wireless 






ثم تقوم بالضغط على Apply ثم Save 


الأربعاء، 15 فبراير 2017

ايقاف العميل ساعات معينه من استخدام النت في الميكروتك

سنقوم بعمل تحديد اوقات معينة للعميل او مجموهة من العملاء والسماح لهم بالوصول الى الانترنت اوقات محددة فقط .. تابع بكل سهولة.

1- نقوم بانشاء بروفايل جديد ونسمية مثلاٌ 9am-9pm
 ونحدد السرعة المطلوبة لهذا البروفايل وبياناته كما في الصورة على سبيل المثال 
كل ذلك من قائمة IP ثم  Hotspot  ثم User profile ثم Add


ثم في الاخير يجب ان تضيف المستخدمين المطلوبيين ايقافهم الى هذا البروفايل الذي انشائتة 

 


2- تروح الى قائمة Systemثم  تختار Scheduler  واعمل اضافة جديد الاول للتشغيل بالوقت الذي تريد ان يعمل فيه مثلا ثلا 9 صباحا للتشغيل وتقوم بعمل الاسم كما تشاء وعمل لصق لهذا الامر في خانةOn Event هذا الامر  



 /ip hotspot user enable [find \ 
profile="9am-9pm"]

 





3- من قائمة الـ  Scheduler 
ايضا نقوم بعمل اضافة ثاني للايقاف بالوقت الذي تريد ان فيه ان يقوم بايقاف المستخدمين مثلا من 9 مساء وتقوم بعمل الاسم كما تشاء وعمل لصق لهذا الامر في خانة  On Event هذا الامر


 /ip hotspot user disable [find/
profile="9am-9pm"]
:delay 5
:foreach i in=[/ip hotspot user find disabled=yes] do={/ip hotspot active remove [find user=[/ip hotspot user get $i name]]
}

ملاحظة هامة : طبعا كل ماسبق هو خاص بمستخدميين الهواتسبوت وليس اليوزر منجر




السبت، 11 فبراير 2017

ايقاف التحميل من الساعة 9 الى 12 ليلاً في الميكروتك

هناك بعض الاخوة يريدون ايقاف التحميل فترة بسيطة لمدة ساعة او ساعتين مثلا سوف نقوم هنا بشرح طريقة ايقاف تحميل بعض و exe الصيغ مثل  تحميل البرامج التنفيذية
  الفيديوهات وغيرها من الامتددات المرفقة هنا
  سوف نقوم بايقاف التحميل من الساعة 9 الى 12 ليلاً
كل ما عليك هو عمل نسخ ثم لصق لهذة الاوامر في النيوترمنال في الميكروتك

/ip firewall mangle
add action=mark-packet chain=output disabled=no \
    dscp=4 new-packet-mark=Cache passthrough=no

/ip firewall nat
add action=redirect chain=dstnat comment="stop idm 9 to 12" disabled=no \
    dst-port=80 protocol=tcp to-ports=8080

/ip proxy
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 cache-on-disk=yes enabled=yes max-cache-size=none max-client-connections=600 max-fresh-time=3d \
    max-server-connections=600 parent-proxy=0.0.0.0 parent-proxy-port=0 port=8080 serialize-connections=no src-address=0.0.0.0

/ip proxy access
add action=deny comment=exe disabled=no dst-port="" path=*.exe
add action=deny comment=rar disabled=no dst-port="" path=*.rar
add action=deny comment=zip disabled=no dst-port="" path=*.zip
add action=deny comment=mp3 disabled=no dst-port="" path=*.mp3
add action=deny comment=wav disabled=no dst-port="" path=*.wav
add action=deny comment=3gp disabled=no dst-port="" path=*.3gp
add action=deny comment=7z disabled=no dst-port="" path=*.7z
add action=deny comment=aac disabled=no dst-port="" path=*.aac
add action=deny comment=avi disabled=no dst-port="" path=*.avi
add action=deny comment=bin disabled=no dst-port="" path=*.bin
add action=deny comment=gz disabled=no dst-port="" path=*.gz
add action=deny comment=gzip disabled=no dst-port="" path=*.gzip
add action=deny comment=img disabled=no dst-port="" path=*.img
add action=deny comment=iso disabled=no dst-port="" path=*.iso
add action=deny comment=lzh disabled=no dst-port="" path=*.lzh
add action=deny comment=m4v disabled=no dst-port="" path=*.m4v
add action=deny comment=mkv disabled=no dst-port="" path=*.mkv
add action=deny comment=mov disabled=no dst-port="" path=*.mov
add action=deny comment=mp4 disabled=no dst-port="" path=*.mp4
add action=deny comment=rmvb disabled=no dst-port="" path=*.rmvb
add action=deny comment=wmv disabled=no dst-port="" path=*.wmv
add action=deny comment=zip disabled=no dst-port="" path=*.zip

/system scheduler
add disabled=no interval=1d name="\DD\CA\CD \C7\E1\CA\CD\E3\ED\E1" on-event=\
   "OPen_ idm\r\
    \n" policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
    start-date=Fep/01/2017 start-time=00:00:00
 add disabled=no interval=1d name="\C7\DB\E1\C7\DE \C7\E1\CA\CD\E3\ED\E1" \
    on-event=Close_idm policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
    start-date=Fep/01/2017 start-time=20:59:00


/system script
add name="OPen_ idm" owner=admin policy=\ ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
    ip proxy access disable \"exe\"\r\
    \n/ip proxy access disable \"exe\"\r\
    \n/ip proxy access disable \"exe\"\r\
    \n/ip proxy access disable \"rar\"\r\
    \n/ip proxy access disable \"zip\"\r\
    \n/ip proxy access disable \"mp3\"\r\
    \n/ip proxy access disable \"wav\"\r\
    \n/ip proxy access disable \"3gp\"\r\
    \n/ip proxy access disable \"7z\"\r\
    \n/ip proxy access disable \"aac\"\r\
    \n/ip proxy access disable \"avi\"\r\
    \n/ip proxy access disable \"bin\"\r\
    \n/ip proxy access disable \"gz\"\r\
    \n/ip proxy access disable \"gzip\"\r\
    \n/ip proxy access disable \"img\"\r\
    \n/ip proxy access disable \"iso\"\r\
    \n/ip proxy access disable \"lzh\"\r\
    \n/ip proxy access disable \"m4v\"\r\
    \n/ip proxy access disable \"mkv\"\r\
    \n/ip proxy access disable \"mov\"\r\
    \n/ip proxy access disable \"mp4\"\r\
    \n/ip proxy access disable \"rmvb\"\r\
    \n/ip proxy access disable \"wmv\"\r\
    \n/ip proxy access disable \"zip\"\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n"

add name="Close_idm" owner=admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
    ip proxy access enable \"exe\"\r\
    \n/ip proxy access enable \"exe\"\r\
    \n/ip proxy access enable \"exe\"\r\
    \n/ip proxy access enable \"rar\"\r\
    \n/ip proxy access enable \"zip\"\r\
    \n/ip proxy access enable \"mp3\"\r\
    \n/ip proxy access enable \"wav\"\r\
    \n/ip proxy access enable \"3gp\"\r\
    \n/ip proxy access enable \"7z\"\r\
    \n/ip proxy access enable \"aac\"\r\
    \n/ip proxy access enable \"avi\"\r\
    \n/ip proxy access enable \"bin\"\r\
    \n/ip proxy access enable \"gz\"\r\
    \n/ip proxy access enable \"gzip\"\r\
    \n/ip proxy access enable \"img\"\r\
    \n/ip proxy access enable \"iso\"\r\
    \n/ip proxy access enable \"lzh\"\r\
    \n/ip proxy access enable \"m4v\"\r\
    \n/ip proxy access enable \"mkv\"\r\
    \n/ip proxy access enable \"mov\"\r\
    \n/ip proxy access enable \"mp4\"\r\
    \n/ip proxy access enable \"rmvb\"\r\
    \n/ip proxy access enable \"wmv\"\r\
    \n/ip proxy access enable \"zip\"\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n\r\
    \n"

ملاحظة : هذا الاوامر تعمل على نسخ الميكروتك 6  اما النسخ 5 لم يتوفر لدي حتى يتم التجريب .

السبت، 28 يناير 2017

ربط مستخدمين الهوتسبوت (Hotspot) باول استخدام للكرت في الميكروتك

كيفية ربط مستخدمين الهوتسبوت (Hotspot) باول استخدام يعني ربط الكرت باول جهاز يستخدم الكرت
هذا الاسكربت يقوم بربط الكرت باول استخدام ولا يستطيع استخدامة في جهاز  جديد.
system ثم schedule  كما في الصورة ادناة :


اذن قم بسخ هذا هذا الاسكربت الى الـ Schedule جديد  ..

/ip hotspot active
:foreach i in=[find] do={
:global mac [get $i mac-address]
:global add [get $i address]
:global us [get $i user]
:global inter [/ip ho get 0 interface]
/ip hotspot user
:foreach nm in=[find name=$us] do={
:global mac2 [get $nm mac-address]
:if ([find mac-address] ="") do={ set $nm mac-address="$mac" address="$add"

/ip dhcp-server lease add mac-address="$mac" address="$add"
/ip arp add address=$add mac-address=$mac interface=$inter
}}}


وبالتالي اذا حاول المستخدم الدخول عن طريق جهاز اخر لا يستطيع الدخول ويتم رفضة كم في الصورة ادناة.


اسكربتات هامة في الميكروتك

نشارك معكم هذه الاكواد الهامة والتي يستخدمة اي شخص يستخدم نظام الميكروتك
كل ما عليك هو  نسخ هذا الكود الى قائمة new terminal ..

1-طريقة حذف جميع الكروت المنتهية الصلاحية في اليوزرمنجر
/tool user-manager user remove [find !actual-profile ]

2-حذف جميع تسجيلات النظام في اليوزرمنجر
/tool user-manager log remove [find]

3-حذف جميع جلسات الاستخدام في اليوزمنجر
/tool user-manager session remove [find]

4-يفضل عمل اعادة بناء لقاعدة البيانات بعد عمل الحذف
/tool user-manager database rebuild

5-تغيير باقة هواتسبوت مثلاً من 3 ساعات الى 4 ساعات
 ip hotspot user set [find limit-uptime=3h] limit-uptime=4h 

6-تحويل جميع مستخدمين ال Hotspot من تحميل مفتوح الى تحميل مقيد فمثلا لو اردت تحديد باقة ابو 3 ساعات ب 350 ميحا
 /ip hotspot user set [find where limit-uptime=3h] limit-bytes-total=350M


ملاحظة مفيدة:
..اخي العزيز تعود داماً على عمل نسخة احتياطية من اعدادت نظامك قبل القيام باي تغييرات في حالة قررت العودة الى اعدادتك السابقة

الثلاثاء، 13 ديسمبر 2016

التقيد بالرصيد الفعلي المحدد مسبقا في اليوزرمنجر


بالنسبة للاخوة الذين يشتكون من مشكله  من ان بعض المستخدمين في اليوزرمنجر يتعدون ما هو محدد لهم
من الميجا بايت التي حددتها في اليوزر منجر كما في الصور الموضحة



 يجب عليهم القيام بالتالي:
1- يجب اخراج جميع المستخدمين من الشبكة 
2 - القيام بحذف جميع الجلسات وتسجيلات النظام في اليوزر منجر
3 - القيام بعمل إعادة بناء لقاعدة ييانات اليوزرمنجر 
4 - يفضل عمل اعادة التشغيل لسرفر الميكروتك

لا تنسى القيام ايضاً بعمل نسخة احتياطية للقاعدة بيانات اليوزرمنجر

لان السماح للمستخدمين للعودة الى الشبكة وكل شي با يكون جيد ولن يتعدى الرصيد المحدد له ابدا .




الثلاثاء، 6 ديسمبر 2016

تحديد الصلاحية لكروت مستخدمين الـ hotspot


اولاً:
لكي نقوم بتحديد صلاحية الكروت لمستخدمين الـ hotspot نقوم بعمل نذهب الى قائمه الـ IP ثم user profile  واختر نافذة الـ scripts  ونعمل لصق لهذا الكود هناك كما في الصوره ادناه
{:local date [ /system clock get date ];:if ( [ /ip hotspot user get $user comment ] = "" ) do={[ /ip hotspot user set $user comment=$date ];}}


ثانياً:
اذا كان لديك اسم البروفايل مثلا 3h نقوم بعمل نسخ لصق لهذا الامر في النيو ترمنل وسوف يقوم بتاكد من اسم الباقه اذا كانت 3h يقوم بعمل صلاحيه لها 3 يعني ثلاث ايام و 100 ريال
/ip hotspot user  set [find where limit-uptime=3h] email=3@0_100.ptd

 واذا كان لديك الباقه ابو 4 ساعات مثلاتقوم بكتابة هذا الامر ولصقه في النيوترمنل
/ip hotspot user  set [find where limit-uptime=4h] email=4@0_200.ptd
  وهكذا تقوم الصلاحيه والسعر حسب ما هو مناسب لكحسب فئات العمل لديك

ثالثاً:
نقوم بإضافة اسكربت واعطيه اي اسم  مثلا disable_end_users كما في الصوره ادناه

قم بعمل نسخ لصق لهذا الاسكربت في نافذه الـ source

{:global today;{:local date [ /system clock get date ];:local montharray ( "jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec" );:local monthdays ( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 );:local days [ :pick $date 4 6 ];:local monthtxt [ :pick $date 0 3 ];:local year [ :pick $date 7 11 ];:local months ([ :find $montharray $monthtxt]);:for nodays from=0 to=$months do={:set days ( $days + [ :pick $monthdays $nodays ] )};:set days ($days + $year * 365);:set today $days;};:foreach i in [ /ip hotspot user find where disabled=no ] do={:if ([ :find [ /ip hotspot user get $i comment ] ] = 0 && [ :find [ /ip hotspot user get $i email ] ] = 0) do={:local date [ /ip hotspot user get $i comment ];:local oldemail [ /ip hotspot user get $i email ];:local atmark [ :find $oldemail "@" ];:local dotmark [ :find $oldemail "." ];:if ( $atmark >= 0 && $dotmark >= 0 ) do={:local validity [ :pick $oldemail 0 $atmark];:local rest [ :pick $oldemail ($atmark + 1) [ :len $oldemail] ];:if ( [:tonum $validity] != "" ) do={:if ( [:tonum $validity] != "0" ) do={:local montharray ( "jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec" );:local monthdays ( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 );:local days [ :pick $date 4 6 ];:local monthtxt [ :pick $date 0 3 ];:local year [ :pick $date 7 11 ];:local months ( [ :find $montharray $monthtxt ] );:for nodays from=0 to=$months do={:set days ( $days + [ :pick $monthdays $nodays ] )};:set days ($days + $year * 365);:if ( ($days + $validity) < $today ) do={ :local name [/ip hotspot user get $i name];:log info "HOTSPOT VALITITY EXPIRE: Disabling Hotspot user $name first logged in $date";[ /ip hotspot user disable $i ];}}}}}}}


ًرابعا
    scheduler   واعمل اضافة  system اضافة اذهب الى قائمه
 يقوم بتشغل الاسكربت  كل فتره زمنية معينه مثلاث كل 3 ساعات او حسب رغبتك وبقوم هذا الاسكزولر بتشغيل الاسكربت الذي ضفته سابقا كما في الصور  اسمة كان
disable_end_users
 ونضيف فية هذا الكود كما في الصورة ادناة
/ system script run disable_end_users




الاثنين، 5 ديسمبر 2016

معرفة التحميل والرصيد المتبقي من صفحة الدخول

اضافة هذا الكود الى صفحة ال status
بعد بيانات الحساب مباشراً

<span class="auto-style1">   التحميل المتبقي لديك</span>
<span class="auto-style2">: $(remain-bytes-total-nice) </span>  

الأحد، 4 ديسمبر 2016

تحويل جميع مستخدمين ال Hotspot من تحميل مفتوح الى تحميل مقيد


كيفية تحويل جميع مستخدمين ال Hotspot من تحميل مفتوح الى تحميل مقيد فمثلا لو انا اردت تحويل جميع كروت  الهواتس بوت
ابو 3 ساعات (3h) من التحميل  الى تحميل بصلاحية 350M نقوم بكتابه الامر التالي في النيو ترمتل 


            /ip hotspot user set [find where limit-uptime=3h] limit-bytes-total=350M

وهكذا في حاله اردت تغيير اي فئه فقط قم بالتغيير من 3h الى اسم الباقة الخاصة بك

افلام اون لاين