-->
ميكروتيك كابو ميكروتيك كابو
recent

آخر الأخبار

recent
random
جاري التحميل ...
random

دمج 5 خطوط على فتحة لان واحدة فقط + الاسكريبت للميكروتيك pcc 5 line







الاسكريبت كامل


/interface 
set ether1 name=WAN1
set ether2 name=WAN2
set ether3 name=WAN3
set ether4 name=WAN4
set ether5 name=Local
/ip pool
add name=dhcp_pool1 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=Local name=dhcp1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/ip address
add address=192.168.88.1/24 comment=OUT interface=Local network=192.168.88.0
add address=192.168.33.5/24 comment=Line1 interface=WAN1 network=192.168.33.0
add address=192.168.36.5/24 comment=Line2 interface=WAN2 network=192.168.36.0
add address=192.168.39.5/24 comment=Line3 interface=WAN3 network=192.168.39.0
add address=192.168.40.5/24 comment=Line4 interface=WAN4 network=192.168.40.0
add address=192.168.34.5/24 comment="Line1 (2)" interface=WAN1 network=\
    192.168.34.0
add address=192.168.35.5/24 comment="Line1 (3)" interface=WAN1 network=\
    192.168.35.0
add address=192.168.37.5/24 comment="Line1 (4)" interface=WAN1 network=\
    192.168.37.0
add address=192.168.38.5/24 comment="Line1 (5)" interface=WAN1 network=\
    192.168.38.0
/ip dhcp-server network
add address=192.168.88.0/24 gateway=192.168.88.1
/ip dns
set max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4
/ip firewall mangle
add action=mark-connection chain=input in-interface=WAN1 new-connection-mark=\
    WAN1_conn
add action=mark-connection chain=input in-interface=WAN2 new-connection-mark=\
    WAN2_conn
add action=mark-connection chain=input in-interface=WAN3 new-connection-mark=\
    WAN3_conn
add action=mark-connection chain=input in-interface=WAN4 new-connection-mark=\
    WAN4_conn
add action=mark-routing chain=output connection-mark=WAN1_conn \
    new-routing-mark=WAN1
add action=mark-routing chain=output connection-mark=WAN1_conn \
    new-routing-mark=WAN1
add action=mark-routing chain=output connection-mark=WAN2_conn \
    new-routing-mark=WAN2
add action=mark-routing chain=output connection-mark=WAN3_conn \
    new-routing-mark=WAN3
add action=mark-routing chain=output connection-mark=WAN4_conn \
    new-routing-mark=WAN4
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN1_conn \
    per-connection-classifier=both-addresses-and-ports:9/0
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN1_conn \
    per-connection-classifier=both-addresses-and-ports:9/1
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN1_conn \
    per-connection-classifier=both-addresses-and-ports:9/2
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN2_conn \
    per-connection-classifier=both-addresses-and-ports:9/3
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN3_conn \
    per-connection-classifier=both-addresses-and-ports:9/4
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Local new-connection-mark=WAN4_conn \
    per-connection-classifier=both-addresses-and-ports:9/5
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
    in-interface=Local new-routing-mark=WAN1
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
    in-interface=Local new-routing-mark=WAN1
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
    in-interface=Local new-routing-mark=WAN2
add action=mark-routing chain=prerouting connection-mark=WAN3_conn \
    in-interface=Local new-routing-mark=WAN3
add action=mark-routing chain=prerouting connection-mark=WAN4_conn \
    in-interface=Local new-routing-mark=WAN4
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2
add action=masquerade chain=srcnat out-interface=WAN3
add action=masquerade chain=srcnat out-interface=WAN4 to-addresses=0.0.0.0
/ip route
add check-gateway=ping distance=1 gateway=\
    192.168.34.1,192.168.33.1,192.168.35.1,192.168.37.1,192.168.38.1 \
    routing-mark=WAN1
add check-gateway=ping distance=1 gateway=192.168.36.1 routing-mark=WAN2
add check-gateway=ping distance=1 gateway=192.168.39.1 routing-mark=WAN3
add check-gateway=ping distance=1 gateway=192.168.40.1 routing-mark=WAN4
add check-gateway=ping distance=1 gateway=\
    192.168.34.1,192.168.33.1,192.168.35.1,192.168.37.1,192.168.38.1
add check-gateway=ping distance=2 gateway=192.168.36.1
add check-gateway=ping distance=3 gateway=192.168.39.1
add check-gateway=ping distance=4 gateway=192.168.40.1
/system clock
set time-zone-name=Africa/Cairo
/system identity
set name="shadysoft(01223043008)"
/system ntp client
set enabled=yes primary-ntp=192.43.244.18


البيكب كامل

عن المدونة

مستر أبوعلي مدونة تقنية تحتوى على مجموعة دروس ودورات فى مجالات تقنية مختلفة مثل دروس انظمة التشغيل والبرامج والالعاب وبلوجر وفوتوشوب وتطبيقات اندوريد والربح من الانترنت وغيره من الشروحات المميزة تاست مدونة مستر ابوعلى عام 2013 وبفضل الله نالت اعجاب الكثير مؤسس المدونة مستر ابوعلى مدون مصرى

0 تعليق على موضوع : دمج 5 خطوط على فتحة لان واحدة فقط + الاسكريبت للميكروتيك pcc 5 line

  • اضافة تعليق

  • الأبتساماتأخفاء الأبتسامات

    جميع الحقوق محفوظة لـ

    ميكروتيك كابو

    2017