اسكربت لحل مشكلة ارتفاع البروسيسور فى الميكروتك






بناء على طلب الاعضاء فى جروب ميكروتك افريقيا حل مشكله ارتفاع البروسيسور فى الميكروتك معنا اسكربت كويس جدا لحل المشكلة واذا لم ينجح الاسكربت الاول هرفع اسكربت تانى ان شاء الله واكيد ناكد من اى رولات فى سيرفر الميكروتك او السيرفر او الروتر بورد فى مكان شديد الحرارة وغير جيد التهويه وياريت يعجبكم ويكون شغال كويس وياريت نعمل مشاركة للموضوع 

الاسكربت الاول 


/ip firewall mangle
add action=mark-connection chain=prerouting comment="HotSpot Down" disabled=no new-connection-mark=hs-unauth-H \
    passthrough=yes protocol=tcp src-port=64872-64875
add action=mark-connection chain=prerouting comment="" disabled=no new-connection-mark=hs-unauth-H passthrough=yes \
    protocol=udp src-port=64872-64875
add action=mark-connection chain=output comment="" disabled=no new-connection-mark=hs-unauth-H passthrough=yes \
    protocol=tcp src-port=64872-64875
add action=mark-connection chain=output comment="" disabled=no new-connection-mark=hs-unauth-H passthrough=yes \
    protocol=udp src-port=64872-64875
add action=mark-connection chain=input comment="" disabled=no new-connection-mark=hs-unauth-H passthrough=yes \
    protocol=tcp src-port=64872-64875
add action=mark-connection chain=input comment="" disabled=no new-connection-mark=hs-unauth-H passthrough=yes \
    protocol=udp src-port=64872-64875
add action=mark-packet chain=prerouting comment="" connection-mark=hs-unauth-H disabled=no new-packet-mark=hs-unauth \
    passthrough=yes
add action=mark-packet chain=output comment="" connection-mark=hs-unauth-H disabled=no new-packet-mark=hs-unauth \
    passthrough=yes
add action=mark-packet chain=input comment="" connection-mark=hs-unauth-H disabled=no new-packet-mark=hs-unauth \
    passthrough=yes

    /queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=hs-unauth packet-mark=\
    hs-unauth parent=global-in priority=8 queue=ALL

    /queue type
add kind=pcq name=hs-unauth pcq-classifier=src-address pcq-limit=50 pcq-rate=100000 pcq-total-limit=2000 


الاسكربت التانى

/ ip firewall mangle 
add action=mark-connection chain=prerouting comment="HotSpot Down" disabled=\
    no new-connection-mark=conn_hotspot passthrough=yes protocol=tcp \
    src-port=64872-64875
add action=mark-connection chain=output comment="" disabled=no \
    new-connection-mark=conn_hotspot passthrough=yes protocol=tcp src-port=\
    64872-64875
add action=mark-connection chain=input comment="" disabled=no \
    new-connection-mark=conn_hotspot passthrough=yes protocol=tcp src-port=\
    64872-64875
add action=mark-packet chain=prerouting comment="" connection-mark=\
    conn_hotspot disabled=no new-packet-mark=pacotes_hotspot passthrough=no
add action=mark-packet chain=output comment="" connection-mark=conn_hotspot \
    disabled=no new-packet-mark=pacotes_hotspot passthrough=yes
add action=mark-packet chain=input comment="" connection-mark=conn_hotspot \
    disabled=no new-packet-mark=pacotes_hotspot passthrough=yes

/queue type
add kind=pcq name="ALL" pcq-classifier=src-address pcq-limit=50 pcq-rate=\
    100000 pcq-total-limit=2000

/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
    max-limit=0 name=Hotspot-UP packet-mark=pacotes_hotspot parent=global-in \

    priority=8 queue=ALL


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

جديد قسم : انظمه التشغيل

اعلان منتصف الموضوع