الدمج ده من نوع البردج والله الموفق
لتشغيل السكربت دون اى مشاكل اتع الاتى
1-تسميه الكروت الانترفيس
in1
in2
in3
in4
out
وياريت نكون النسخه 5 فما فوق عشان جميله جدا فى الدمج
ربنا معاكوا متنساش تكتب dns يدوى ى
******************************************************************************************************************
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in1 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out1 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in2 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out2 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in3 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out3 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in4 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out4 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
/ip address
add address=10.0.0.1/24 disabled=no interface=out network=10.0.0.0
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn1 \
nth=4,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn1 disabled=no in-interface=out new-routing-mark=conn1 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn2 \
nth=3,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn2 disabled=no in-interface=out new-routing-mark=conn2 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn3 \
nth=2,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn3 disabled=no in-interface=out new-routing-mark=conn3 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn4 \
nth=1,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn4 disabled=no in-interface=out new-routing-mark=conn4 \
passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat connection-mark=conn1 disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat connection-mark=conn2 disabled=no out-interface=pppoe-out2
add action=masquerade chain=srcnat connection-mark=conn3 disabled=no out-interface=pppoe-out3
add action=masquerade chain=srcnat connection-mark=conn4 disabled=no out-interface=pppoe-out4
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=conn1 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=conn2 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=conn3 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=conn4 scope=255 target-scope=10
/ip dns
set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=59 servers=8.8.8.8,8.8.4.4
/system ntp client
set enabled=yes mode=unicast primary-ntp=216.218.254.202 secondary-ntp=0.0.0.0
/system clock
set time-zone-name=Africa/Cairo
لتشغيل السكربت دون اى مشاكل اتع الاتى
1-تسميه الكروت الانترفيس
in1
in2
in3
in4
out
وياريت نكون النسخه 5 فما فوق عشان جميله جدا فى الدمج
ربنا معاكوا متنساش تكتب dns يدوى ى
******************************************************************************************************************
/interface pppoe-client
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in1 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out1 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in2 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out2 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in3 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out3 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
add ac-name="" add-default-route=yes allow=pap,chap,mschap1,mschap2 \
dial-on-demand=no disabled=no interface=in4 max-mru=1480 max-mtu=1480 \
mrru=disabled name=pppoe-out4 password=00000 profile=default \
service-name="" use-peer-dns=no user=00000
/ip address
add address=10.0.0.1/24 disabled=no interface=out network=10.0.0.0
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn1 \
nth=4,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn1 disabled=no in-interface=out new-routing-mark=conn1 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn2 \
nth=3,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn2 disabled=no in-interface=out new-routing-mark=conn2 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn3 \
nth=2,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn3 disabled=no in-interface=out new-routing-mark=conn3 \
passthrough=no
add action=mark-connection chain=prerouting connection-state=new disabled=no in-interface=out new-connection-mark=conn4 \
nth=1,1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=conn4 disabled=no in-interface=out new-routing-mark=conn4 \
passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat connection-mark=conn1 disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat connection-mark=conn2 disabled=no out-interface=pppoe-out2
add action=masquerade chain=srcnat connection-mark=conn3 disabled=no out-interface=pppoe-out3
add action=masquerade chain=srcnat connection-mark=conn4 disabled=no out-interface=pppoe-out4
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=conn1 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=conn2 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=conn3 scope=255 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=conn4 scope=255 target-scope=10
/ip dns
set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=59 servers=8.8.8.8,8.8.4.4
/system ntp client
set enabled=yes mode=unicast primary-ntp=216.218.254.202 secondary-ntp=0.0.0.0
/system clock
set time-zone-name=Africa/Cairo