فى انتظار رفع التركيب
شرح البرمجة والدمج
تحميل الاسكربت
الاسكربت
/interface lte
set [ find ] disabled=yes mac-address=00:1E:10:1F:00:00 name=in1
/interface ethernet
set [ find default-name=ether5 ] name=out
/interface wireless
set [ find default-name=wlan1 ] l2mtu=2290
/ip pool
add name=dhcp_pool1 ranges=192.168.0.2-192.168.0.254
add name=dhcp_pool2 ranges=192.168.0.1-192.168.0.4,192.168.0.6-192.168.0.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=out name=dhcp1
/port
set 0 name=usb1
/interface ppp-client
add apn=internet dial-on-demand=no disabled=no name=in2 port=usb1
/ppp profile
set [ find name=default ] name=default
set [ find name=default-encryption ] name=default-encryption
/ip address
add address=192.168.0.5/24 interface=out network=192.168.0.0
add address=192.168.2.2/24 interface=in2 network=192.168.2.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=in1 use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.5
/ip dns
set allow-remote-requests=yes cache-size=5000KiB max-udp-packet-size=512 \
servers=8.8.8.8,8.8.4.4
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new in-interface=\
out new-connection-mark=conn1 nth=2,1 time=\
0s-1d,sun,mon,tue,wed,thu,fri,sat
add action=mark-routing chain=prerouting connection-mark=conn1 in-interface=out \
new-routing-mark=conn1 passthrough=no time=\
0s-1d,sun,mon,tue,wed,thu,fri,sat
add action=mark-connection chain=prerouting connection-state=new in-interface=\
out new-connection-mark=conn2 nth=1,1 time=\
0s-1d,sun,mon,tue,wed,thu,fri,sat
add action=mark-routing chain=prerouting connection-mark=conn2 in-interface=out \
new-routing-mark=conn2 passthrough=no time=\
0s-1d,sun,mon,tue,wed,thu,fri,sat
/ip firewall nat
add action=masquerade chain=srcnat out-interface=in1
add action=masquerade chain=srcnat out-interface=in2
/ip route
add distance=1 gateway=192.168.8.1 routing-mark=conn1 scope=255
add distance=2 gateway=in2 routing-mark=conn2 scope=255
add check-gateway=ping distance=1 gateway=in1
add check-gateway=ping distance=2 gateway=in2
/system routerboard settings
set protected-routerboot=disabled
/tool romon port
add disabled=no
0 التعليقات لموضوع "دمج اكثر من فلاشه 3g على الروتر بورد 951"
الابتسامات الابتسامات