الأحد، 27 ديسمبر 2015
دة افضل اسكرب دمج خطين بريدج
فقط كوبى وبسط
مع تغير الايبى الخروج بدلا من الموجود فى الاسكرب
دمج خطين برود باند
/interface ethernet
set 0 name=Local
set 1 name=WAN1
set 2 name=WAN2
////////////////////////////////////////////////////////////////////
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=yes interface=WAN1 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out1 password=hahaha \
profile=default service-name="" use-peer-dns=no user=user-1
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=yes interface=WAN2 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out2 password=hahaha \
profile=default service-name="" use-peer-dns=no user=user-2
/////////////////////////////////////////////////
/ip firewall mangle
add action=accept chain=prerouting disabled=no in-interface=pppoe-out1
add action=accept chain=prerouting disabled=no in-interface=pppoe-out2
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 src-address=172.16.0.0/16
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=wan1_conn disabled=no new-routing-mark=to_wan1 passthrough=yes src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=wan2_conn disabled=no new-routing-mark=to_wan2 passthrough=yes src-address=172.16.0.0/16
/////////////////////////////////////////////////////
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out1 src-address=172.16.0.0/16
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out2 src-address=172.16.0.0/16
////////////////////////////////////////////////////////////////////
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_wan1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_wan2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 scope=30 target-scope=10
فقط كوبى وبسط
مع تغير الايبى الخروج بدلا من الموجود فى الاسكرب
دمج خطين برود باند
/interface ethernet
set 0 name=Local
set 1 name=WAN1
set 2 name=WAN2
////////////////////////////////////////////////////////////////////
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=yes interface=WAN1 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out1 password=hahaha \
profile=default service-name="" use-peer-dns=no user=user-1
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=yes interface=WAN2 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out2 password=hahaha \
profile=default service-name="" use-peer-dns=no user=user-2
/////////////////////////////////////////////////
/ip firewall mangle
add action=accept chain=prerouting disabled=no in-interface=pppoe-out1
add action=accept chain=prerouting disabled=no in-interface=pppoe-out2
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 src-address=172.16.0.0/16
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=wan1_conn disabled=no new-routing-mark=to_wan1 passthrough=yes src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=wan2_conn disabled=no new-routing-mark=to_wan2 passthrough=yes src-address=172.16.0.0/16
/////////////////////////////////////////////////////
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out1 src-address=172.16.0.0/16
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out2 src-address=172.16.0.0/16
////////////////////////////////////////////////////////////////////
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_wan1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_wan2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 scope=30 target-scope=10
التسميات:
مواضيع ذات صله :
الاشتراك في:
تعليقات الرسالة (Atom)
المشاركات الشائعة
-
السلام عليكم احبائى اليوم هقدم لكم جميع سوفت وير روترات هواى المستخدمه فى مصر وشرح تنزيل السوفت للروترات وايضا شرح اعدات الروترات كاسس بوينت...
-
السلام عليكم اصدقائى اقدم لكم اليوم الدامب الاصلى لروترات اورنج ابو فلاشه الى بيشتغل 3g هذا الدمب للرجوع الروتر كما كان بسوفت اورنج zte h108...
-
اصدقائى الاعزاء اقدم لكم اليوم السوفت الاصلى الدمب الاصلى لروترات اورنج الجديدة hg531s عدد 5ملفات كل ملف بماك ادرس مختلف عن الاخر اتمنى ان ي...
-
السلام عليكم اقدم لكم دامب الاكسس الجى سوفت لنكس مسحوب من اكسس فقط قم بشحن فلاشه الجهاز على مبرمجه السوفت للجها الجى كابد كل الشكر الى الاس...
-
سوفت وير لروترات تى داتا الجديدhg531 سوفت وير لروترات تى داتا الجديدhg531 السلام عليكم اليوم اقدم لكم طريقه تنزيل سوفت وير لروترات تى داتا ا...
-
تحويل سوفت idoom الى سوفت تى داتا الاصلى 531 هنعمل نفس الخطوات الى كنا عملنها قبل كدة لسوفت idoom وهى هنطفى الروتر هنحط ايبى يدوى لجهاز الكم...
-
السلام عليكم اصدقائى اليوم هنشرح ازى تتحكم بسرعه اليوتيوب للشبكه كلها وتوفر الجيجات طبعا كل الخطوط لها استخدام عادل الطريقه سهله وبسيطه فقط ...
-
اليوم اقدم لكم الشرح بناء على طلب الاعضاء شرح تغير ماك ادرس اى ملف دامب للروترات او الاكسسات اولا بيكون معاك الماك ادرس بتاع الدامب هتاخد ال...
-
السلام عليكم اقدم لكم 60 ملف دامب بمكات مختلفه لروترات هواى 531 تتحول لسوفت تى داتا وتعمل برود باند اتمنى ان تنال اعجابكم التحميل من هنا يا...
-
دامب روتر تى داتا الاصلى 531 TEDATA السوفت الاصلى لروتر هواى 531 تى داتا الاصلى السوفت مسحوب من روتر لم يتم تعديله فقط ارفع السوفت للروتر ...

ليست هناك تعليقات:
إرسال تعليق