mikrotik 宽带管理配置文件

# may/29/2019 13:52:57 by RouterOS 6.42.4
# software id = D2ZI-EN71
#
# model = RouterBOARD 750G r3
# serial number = 8B0008C2469B
/interface bridge
add admin-mac=64:D1:54:14:B0:01 auto-mac=no name=bridge1 protocol-mode=none
add admin-mac=64:D1:54:14:B0:02 auto-mac=no name=bridge2 protocol-mode=none
/interface ethernet
set [ find default-name=ether3 ] name=lan1
set [ find default-name=ether4 ] name=lan2
set [ find default-name=ether5 ] name=lan3
set [ find default-name=ether1 ] name=wan1
set [ find default-name=ether2 ] name=wan2
/interface pptp-client
add connect-to=120.24.45.181 disabled=no name=pptp-out1 password=yang833 \
    user=yang833
add connect-to=106.15.136.2 disabled=no name=pptp-out2 password=enter user=\
    yang1
/interface vrrp
add interface=bridge1 name=vrrp1
add interface=bridge1 name=vrrp2 vrid=2
add interface=bridge1 name=vrrp3 vrid=3
add interface=bridge1 name=vrrp4 vrid=4
add interface=bridge1 name=vrrp5 vrid=5
add interface=bridge1 name=vrrp6 vrid=6
add interface=bridge1 name=vrrp7 vrid=7
add interface=bridge1 name=vrrp8 vrid=8
add interface=bridge1 name=vrrp9 vrid=9
add interface=bridge1 name=vrrp10 vrid=10
add interface=bridge1 name=vrrp11 vrid=11
add interface=bridge1 name=vrrp12 vrid=12
add interface=bridge1 name=vrrp13 vrid=13
add interface=bridge1 name=vrrp14 vrid=14
add interface=bridge1 name=vrrp15 vrid=15
add interface=bridge1 name=vrrp16 vrid=16
add interface=bridge1 name=vrrp17 vrid=17
add interface=bridge1 name=vrrp18 vrid=18
add interface=bridge1 name=vrrp19 vrid=19
add interface=bridge1 name=vrrp20 vrid=20
add interface=bridge1 name=vrrp21 vrid=21
add interface=bridge1 name=vrrp22 vrid=22
add interface=bridge1 name=vrrp23 vrid=23
add interface=bridge1 name=vrrp24 vrid=24
add interface=bridge1 name=vrrp25 vrid=25
add interface=bridge1 name=vrrp26 vrid=26
add interface=bridge1 name=vrrp27 vrid=27
add interface=bridge1 name=vrrp28 vrid=28
add interface=bridge1 name=vrrp29 vrid=29
add interface=bridge1 name=vrrp30 vrid=30
add interface=bridge2 name=vrrp31 vrid=31
add interface=bridge2 name=vrrp32 vrid=32
add interface=bridge2 name=vrrp33 vrid=33
add interface=bridge2 name=vrrp34 vrid=34
add interface=bridge2 name=vrrp35 vrid=35
add interface=bridge2 name=vrrp36 vrid=36
add interface=bridge2 name=vrrp37 vrid=37
add interface=bridge2 name=vrrp38 vrid=38
add interface=bridge2 name=vrrp39 vrid=39
add interface=bridge2 name=vrrp40 vrid=40
/ip neighbor discovery
set lan1 discover=no
set lan2 discover=no
set lan3 discover=no
set wan1 discover=no
set wan2 discover=no
set bridge1 discover=no
set pptp-out1 discover=no
set vrrp1 discover=no
set vrrp2 discover=no
set vrrp3 discover=no
set vrrp4 discover=no
set vrrp5 discover=no
set vrrp6 discover=no
set vrrp7 discover=no
set vrrp8 discover=no
set vrrp9 discover=no
set vrrp10 discover=no
set vrrp11 discover=no
set vrrp12 discover=no
set vrrp13 discover=no
set vrrp14 discover=no
set vrrp15 discover=no
set vrrp16 discover=no
set vrrp17 discover=no
set vrrp18 discover=no
set vrrp19 discover=no
set vrrp20 discover=no
set vrrp21 discover=no
set vrrp22 discover=no
set vrrp23 discover=no
set vrrp24 discover=no
set vrrp25 discover=no
set vrrp26 discover=no
set vrrp27 discover=no
set vrrp28 discover=no
set vrrp29 discover=no
set vrrp30 discover=no
set vrrp31 discover=no
set vrrp32 discover=no
set vrrp33 discover=no
set vrrp34 discover=no
set vrrp35 discover=no
set vrrp36 discover=no
set vrrp37 discover=no
set vrrp38 discover=no
set vrrp39 discover=no
set vrrp40 discover=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool ranges=172.16.0.2-172.16.0.100
add name=8m_pppoe_pool ranges="10.8.1.4-10.8.1.12,10.8.2.4-10.8.2.12,10.8.3.4-\
    10.8.3.12,10.8.4.4-10.8.4.12"
add name=20m_pppoe_pool ranges=10.8.1.1
/ip dhcp-server
add address-pool=dhcp_pool always-broadcast=yes disabled=no interface=lan1 \
    lease-time=12h name=dhcp_server1 src-address=172.16.0.1
add address-pool=dhcp_pool always-broadcast=yes disabled=no interface=lan2 \
    lease-time=12h name=dhcp_server2 src-address=172.16.0.1
/ppp profile
set *0 change-tcp-mss=no only-one=no
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile1 remote-address=1.1.2.1
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile2 remote-address=1.1.2.2
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile3 remote-address=1.1.2.3
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile4 remote-address=1.1.2.4
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile5 remote-address=1.1.2.5
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile6 remote-address=1.1.2.6
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile7 remote-address=1.1.2.7
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile8 remote-address=1.1.2.8
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile9 remote-address=1.1.2.9
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile10 remote-address=1.1.2.10
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 local-address=\
    10.8.0.1 name=lan_profile only-one=yes rate-limit=1M/7M remote-address=\
    8m_pppoe_pool
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 local-address=\
    10.8.0.1 name=20m_profile only-one=yes rate-limit=6M/50M remote-address=\
    20m_pppoe_pool
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile11 remote-address=1.1.2.11
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile12 remote-address=1.1.2.12
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile13 remote-address=1.1.2.13
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile14 remote-address=1.1.2.14
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile15 remote-address=1.1.2.15
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile16 remote-address=1.1.2.16
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile17 remote-address=1.1.2.17
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile18 remote-address=1.1.2.18
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile19 remote-address=1.1.2.19
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile20 remote-address=1.1.2.20
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile21 remote-address=1.1.2.21
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile22 remote-address=1.1.2.22
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile23 remote-address=1.1.2.23
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile24 remote-address=1.1.2.24
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile25 remote-address=1.1.2.25
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile26 remote-address=1.1.2.26
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile27 remote-address=1.1.2.27
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile28 remote-address=1.1.2.28
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile29 remote-address=1.1.2.29
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile30 remote-address=1.1.2.30
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile31 remote-address=1.1.2.31
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile32 remote-address=1.1.2.32
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile33 remote-address=1.1.2.33
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile34 remote-address=1.1.2.34
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile35 remote-address=1.1.2.35
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile36 remote-address=1.1.2.36
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile37 remote-address=1.1.2.37
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile38 remote-address=1.1.2.38
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile39 remote-address=1.1.2.39
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 name=\
    pppoe_profile40 remote-address=1.1.2.40
add change-tcp-mss=no dns-server=202.96.134.133,202.96.128.166 local-address=\
    10.8.0.1 name=8M_profile only-one=yes rate-limit=1M/12M remote-address=\
    8m_pppoe_pool
set *FFFFFFFE change-tcp-mss=no
/interface pppoe-client
add add-default-route=yes comment="\BD\AF\C8\FD\CC\FA+ P505A\r\
    \n" disabled=no interface=vrrp1 name=pppoe-out1 password=a123456@ \
    profile=pppoe_profile1 user=15015974776@zh.163.gd
add add-default-route=yes comment="\BD\AF\C8\FD\CC\FA+ P505A\r\
    \n" disabled=no interface=vrrp2 name=pppoe-out2 password=a123456@ \
    profile=pppoe_profile2 user=15015974776@zh.163.gd
add add-default-route=yes comment="\CE\E2\C3\F7\C1\C1+ P502A\r\
    \n" disabled=no interface=vrrp3 name=pppoe-out3 password=a123456@ \
    profile=pppoe_profile3 user=15919279056@zh.163.gd
add add-default-route=yes comment="\CE\E2\C3\F7\C1\C1+ P502A" disabled=no \
    interface=vrrp4 name=pppoe-out4 password=a123456@ profile=pppoe_profile4 \
    user=15919279056@zh.163.gd
add add-default-route=yes comment="\D5\C5\CC\CE+ BL303A\r\
    \n" disabled=no interface=vrrp5 name=pppoe-out5 password=a123456@ \
    profile=pppoe_profile5 user=15919186619@zh.163.gd
add add-default-route=yes comment="\D5\C5\CC\CE+ BL303A" disabled=no \
    interface=vrrp6 name=pppoe-out6 password=a123456@ profile=pppoe_profile6 \
    user=15919186619@zh.163.gd
add add-default-route=yes comment="\B2\CC\D6\C7\C9\FD+ AI405A8\r\
    \n" disabled=no interface=vrrp7 name=pppoe-out7 password=a123456@ \
    profile=pppoe_profile7 user=15976511564@zh.163.gd
add add-default-route=yes comment="\B2\CC\D6\C7\C9\FD+ AI405A8\r\
    \n" disabled=no interface=vrrp8 name=pppoe-out8 password=a123456@ \
    profile=pppoe_profile8 user=15976511564@zh.163.gd
add add-default-route=yes comment="\D0\EC\BA\E9\C1\D6+ AD207A8\r\
    \n" disabled=no interface=vrrp9 name=pppoe-out9 password=a123456@ \
    profile=pppoe_profile9 user=18664941726@zh.163.gd
add add-default-route=yes comment="\D0\EC\BA\E9\C1\D6+ AD207A8\r\
    \n" disabled=no interface=vrrp10 name=pppoe-out10 password=a123456@ \
    profile=pppoe_profile10 user=18664941726@zh.163.gd
add add-default-route=yes comment="\CD\F5\CB\B9\E7\F7+ AI403A8\r\
    \n" disabled=no interface=vrrp11 name=pppoe-out11 password=a123456@ \
    profile=pppoe_profile11 user=14707567175@zh.163.gd
add add-default-route=yes comment="\CD\F5\CB\B9\E7\F7+ AI403A8\r\
    \n" disabled=no interface=vrrp12 name=pppoe-out12 password=a123456@ \
    profile=pppoe_profile12 user=14707567175@zh.163.gd
add add-default-route=yes comment="\D7\AF\D6\C7\BD\DCai201a\r\
    \n" interface=vrrp13 name=pppoe-out13 password=a123456@ profile=\
    pppoe_profile13 user=15976511564@zh.163.gd
add add-default-route=yes comment="\D7\AF\D6\C7\BD\DCai201a\r\
    \n" interface=vrrp14 name=pppoe-out14 password=qwertyuiop1 profile=\
    pppoe_profile14 user=15089189298@zh.163.gd
add comment=P502A interface=vrrp15 name=pppoe-out15 password=qwertyuiop1 \
    profile=pppoe_profile15 user=13672672806@zh.163.gd
add comment="\C7\D8\B9\A8\C3\F7 ad206a8\r\
    \n" interface=vrrp16 name=pppoe-out16 password=qwertyuiop1 profile=\
    pppoe_profile16 user=13457366274@zh.163.gd
add comment="\C5\B7\C0\F6\D2\F8+p305a8\r\
    \n" interface=vrrp17 name=pppoe-out17 password=a123456@ profile=\
    pppoe_profile17 user=13726224580@zh.163.gd
add comment="\C5\B7\C0\F6\D2\F8+p305a8\r\
    \n" interface=vrrp18 name=pppoe-out18 password=qwertyuiop1 profile=\
    pppoe_profile18 user=13672672806@zh.163.gd
add interface=vrrp19 name=pppoe-out19 password=a12345678 profile=\
    pppoe_profile19 user=15913230266@zh.163.gd
add add-default-route=yes interface=vrrp20 name=pppoe-out20 password=5 \
    profile=pppoe_profile20 user=AAA
add comment="\D5\C5\C7\D5\CD\A2+\A1\A1BL406AG" disabled=no interface=vrrp21 \
    name=pppoe-out21 password=a123456@ profile=pppoe_profile21 user=\
    13798996507@zh.163.gd
add comment="\D5\C5\C7\D5\CD\A2+\A1\A1BL406AG" disabled=no interface=vrrp22 \
    name=pppoe-out22 password=a123456@ profile=pppoe_profile22 user=\
    13798996507@zh.163.gd
add comment="\BB\C6\BD\DC U206A" disabled=no interface=vrrp23 name=\
    pppoe-out23 password=a123456@ profile=pppoe_profile23 user=\
    15224681285@zh.163.gd
add comment="\BB\C6\BD\DC U206A" disabled=no interface=vrrp24 name=\
    pppoe-out24 password=a123456@ profile=pppoe_profile24 user=\
    15224681285@zh.163.gd
add comment="\D1\EE\BD\F0\C3\B7 P307AG" disabled=no interface=vrrp25 name=\
    pppoe-out25 password=a123456@ profile=pppoe_profile25 user=\
    13286035527@zh.163.gd
add comment="\D1\EE\BD\F0\C3\B7 P307AG" disabled=no interface=vrrp26 name=\
    pppoe-out26 password=a123456@ profile=pppoe_profile26 user=\
    13286035527@zh.163.gd
add comment=\
    "\C1\BA\BD\A8\C5\E0\B0\EF\B3\C2\D1\F3\BF\AA U106A 500381198804151513" \
    disabled=no interface=vrrp27 name=pppoe-out27 password=a123456@ profile=\
    pppoe_profile27 user=18566227376@zh.163.gd
add comment=\
    "\C1\BA\BD\A8\C5\E0\B0\EF\B3\C2\D1\F3\BF\AA U106A 500381198804151513" \
    disabled=no interface=vrrp28 name=pppoe-out28 password=a123456@ profile=\
    pppoe_profile28 user=18566227376@zh.163.gd
add comment="\C1\BA\BD\A8\C5\E0 U102AG-8M" disabled=no interface=vrrp29 name=\
    pppoe-out29 password=a123456@ profile=pppoe_profile29 user=\
    13824139284@zh.163.gd
add comment="\C1\BA\BD\A8\C5\E0 U102AG-8M" disabled=no interface=vrrp30 name=\
    pppoe-out30 password=a123456@ profile=pppoe_profile30 user=\
    13824139284@zh.163.gd
add add-default-route=yes interface=vrrp31 name=pppoe-out31 password=5 \
    profile=pppoe_profile31 user=AAA
add interface=vrrp32 name=pppoe-out32 password=12345679 profile=\
    pppoe_profile32 user=13510518942@zh.163.gd
add interface=vrrp33 name=pppoe-out33 password=12345679 profile=\
    pppoe_profile33 user=13510518942@zh.163.gd
add interface=vrrp34 name=pppoe-out34 password=12345679 profile=\
    pppoe_profile34 user=13510518942@zh.163.gd
add interface=vrrp35 name=pppoe-out35 password=12345679 profile=\
    pppoe_profile35 user=13510518942@zh.163.gd
add interface=vrrp36 name=pppoe-out36 password=12345679 profile=\
    pppoe_profile36 user=13510518942@zh.163.gd
add interface=vrrp37 name=pppoe-out37 password=12345679 profile=\
    pppoe_profile37 user=13510518942@zh.163.gd
add interface=vrrp38 name=pppoe-out38 password=12345679 profile=\
    pppoe_profile38 user=13510518942@zh.163.gd
add interface=vrrp39 name=pppoe-out39 password=12345679 profile=\
    pppoe_profile39 user=13510518942@zh.163.gd
add interface=vrrp40 name=pppoe-out40 password=12345679 profile=\
    pppoe_profile40 user=13510518942@zh.163.gd
/user group
set read policy="local,telnet,ssh,read,test,winbox,password,web,sniff,sensitiv\
    e,api,romon,tikapp,!ftp,!reboot,!write,!policy,!dude"
/interface bridge nat
add action=src-nat chain=srcnat comment=pppoe-out1 src-mac-address=\
    00:00:5E:00:01:01/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:95:88:69
add action=src-nat chain=srcnat comment=pppoe-out2 src-mac-address=\
    00:00:5E:00:01:02/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:9A:F1:9F
add action=src-nat chain=srcnat comment=pppoe-out3 src-mac-address=\
    00:00:5E:00:01:03/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:C9:85:55
add action=src-nat chain=srcnat comment=pppoe-out4 src-mac-address=\
    00:00:5E:00:01:04/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:A9:0D:82
add action=src-nat chain=srcnat comment=pppoe-out5 src-mac-address=\
    00:00:5E:00:01:05/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:2A:DA:F7
add action=src-nat chain=srcnat comment=pppoe-out6 src-mac-address=\
    00:00:5E:00:01:06/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:18:B0:40
add action=src-nat chain=srcnat comment=pppoe-out7 src-mac-address=\
    00:00:5E:00:01:07/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:0C:92:E3
add action=src-nat chain=srcnat comment=pppoe-out8 src-mac-address=\
    00:00:5E:00:01:08/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:5B:EF:35
add action=src-nat chain=srcnat comment=pppoe-out9 src-mac-address=\
    00:00:5E:00:01:09/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:F9:9B:47
add action=src-nat chain=srcnat comment=pppoe-out10 src-mac-address=\
    00:00:5E:00:01:0A/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:8A:3F:2B
add action=src-nat chain=srcnat comment=pppoe-out11 src-mac-address=\
    00:00:5E:00:01:0B/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:83:C8:CB
add action=src-nat chain=srcnat comment=pppoe-out12 src-mac-address=\
    00:00:5E:00:01:0C/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:4C:A9:DA
add action=src-nat chain=srcnat comment=pppoe-out13 src-mac-address=\
    00:00:5E:00:01:0D/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:83:79:0C
add action=src-nat chain=srcnat comment=pppoe-out14 src-mac-address=\
    00:00:5E:00:01:0E/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:73:72:0E
add action=src-nat chain=srcnat comment=pppoe-out15 src-mac-address=\
    00:00:5E:00:01:0F/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:CF:42:47
add action=src-nat chain=srcnat comment=pppoe-out16 src-mac-address=\
    00:00:5E:00:01:10/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:AF:08:2E
add action=src-nat chain=srcnat comment=pppoe-out17 src-mac-address=\
    00:00:5E:00:01:11/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:F2:B6:19
add action=src-nat chain=srcnat comment=pppoe-out18 src-mac-address=\
    00:00:5E:00:01:12/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:42:45:BA
add action=src-nat chain=srcnat comment=pppoe-out19 src-mac-address=\
    00:00:5E:00:01:13/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:46:3D:6A
add action=src-nat chain=srcnat comment=pppoe-out20 src-mac-address=\
    00:00:5E:00:01:14/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:42:3C:90:BC
add action=src-nat chain=srcnat comment=pppoe-out21 src-mac-address=\
    00:00:5E:00:01:15/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:37:B1:4C
add action=src-nat chain=srcnat comment=pppoe-out22 src-mac-address=\
    00:00:5E:00:01:16/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:D4:21:65
add action=src-nat chain=srcnat comment=pppoe-out23 src-mac-address=\
    00:00:5E:00:01:17/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:81:67:88
add action=src-nat chain=srcnat comment=pppoe-out24 src-mac-address=\
    00:00:5E:00:01:18/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:6B:D0:F8
add action=src-nat chain=srcnat comment=pppoe-out25 src-mac-address=\
    00:00:5E:00:01:19/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:FF:29:55
add action=src-nat chain=srcnat comment=pppoe-out26 src-mac-address=\
    00:00:5E:00:01:1A/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:04:4A:AB
add action=src-nat chain=srcnat comment=pppoe-out27 src-mac-address=\
    00:00:5E:00:01:1B/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:7A:99:0A
add action=src-nat chain=srcnat comment=pppoe-out28 src-mac-address=\
    00:00:5E:00:01:1C/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:F4:DE:4D
add action=src-nat chain=srcnat comment=pppoe-out29 src-mac-address=\
    00:00:5E:00:01:1D/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:74:F3:C6
add action=src-nat chain=srcnat comment=pppoe-out30 src-mac-address=\
    00:00:5E:00:01:1E/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:67:3D:D4
add action=src-nat chain=srcnat comment=pppoe-out31 src-mac-address=\
    00:00:5E:00:01:1F/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:25:AF:AB
add action=src-nat chain=srcnat comment=pppoe-out32 src-mac-address=\
    00:00:5E:00:01:20/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:DB:3E:40
add action=src-nat chain=srcnat comment=pppoe-out33 src-mac-address=\
    00:00:5E:00:01:21/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:E2:7C:81
add action=src-nat chain=srcnat comment=pppoe-out34 src-mac-address=\
    00:00:5E:00:01:22/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:60:B6:BB
add action=src-nat chain=srcnat comment=pppoe-out35 src-mac-address=\
    00:00:5E:00:01:23/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:2A:EA:0F
add action=src-nat chain=srcnat comment=pppoe-out36 src-mac-address=\
    00:00:5E:00:01:24/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:C3:82:B9
add action=src-nat chain=srcnat comment=pppoe-out37 src-mac-address=\
    00:00:5E:00:01:25/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:EC:E2:28
add action=src-nat chain=srcnat comment=pppoe-out38 src-mac-address=\
    00:00:5E:00:01:26/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:99:9C:BF
add action=src-nat chain=srcnat comment=pppoe-out39 src-mac-address=\
    00:00:5E:00:01:27/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:42:71:7C
add action=src-nat chain=srcnat comment=pppoe-out40 src-mac-address=\
    00:00:5E:00:01:28/FF:FF:FF:FF:FF:FF to-src-mac-address=00:13:87:D1:3A:F5
add action=dst-nat chain=dstnat comment=pppoe-out1 dst-mac-address=\
    00:13:87:95:88:69/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:01
add action=dst-nat chain=dstnat comment=pppoe-out2 dst-mac-address=\
    00:13:87:9A:F1:9F/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:02
add action=dst-nat chain=dstnat comment=pppoe-out3 dst-mac-address=\
    00:13:87:C9:85:55/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:03
add action=dst-nat chain=dstnat comment=pppoe-out4 dst-mac-address=\
    00:13:87:A9:0D:82/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:04
add action=dst-nat chain=dstnat comment=pppoe-out5 dst-mac-address=\
    00:13:87:2A:DA:F7/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:05
add action=dst-nat chain=dstnat comment=pppoe-out6 dst-mac-address=\
    00:13:87:18:B0:40/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:06
add action=dst-nat chain=dstnat comment=pppoe-out7 dst-mac-address=\
    00:13:87:0C:92:E3/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:07
add action=dst-nat chain=dstnat comment=pppoe-out8 dst-mac-address=\
    00:13:87:5B:EF:35/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:08
add action=dst-nat chain=dstnat comment=pppoe-out9 dst-mac-address=\
    00:13:87:F9:9B:47/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:09
add action=dst-nat chain=dstnat comment=pppoe-out10 dst-mac-address=\
    00:13:87:8A:3F:2B/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0A
add action=dst-nat chain=dstnat comment=pppoe-out11 dst-mac-address=\
    00:13:87:83:C8:CB/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0B
add action=dst-nat chain=dstnat comment=pppoe-out12 dst-mac-address=\
    00:13:87:4C:A9:DA/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0C
add action=dst-nat chain=dstnat comment=pppoe-out13 dst-mac-address=\
    00:13:87:83:79:0C/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0D
add action=dst-nat chain=dstnat comment=pppoe-out14 dst-mac-address=\
    00:13:87:73:72:0E/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0E
add action=dst-nat chain=dstnat comment=pppoe-out15 dst-mac-address=\
    00:13:87:CF:42:47/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:0F
add action=dst-nat chain=dstnat comment=pppoe-out16 dst-mac-address=\
    00:13:87:AF:08:2E/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:10
add action=dst-nat chain=dstnat comment=pppoe-out17 dst-mac-address=\
    00:13:87:F2:B6:19/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:11
add action=dst-nat chain=dstnat comment=pppoe-out18 dst-mac-address=\
    00:13:87:42:45:BA/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:12
add action=dst-nat chain=dstnat comment=pppoe-out19 dst-mac-address=\
    00:13:87:46:3D:6A/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:13
add action=dst-nat chain=dstnat comment=pppoe-out20 dst-mac-address=\
    00:13:42:3C:90:BC/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:14
add action=dst-nat chain=dstnat comment=pppoe-out21 dst-mac-address=\
    00:13:87:37:B1:4C/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:15
add action=dst-nat chain=dstnat comment=pppoe-out22 dst-mac-address=\
    00:13:87:D4:21:65/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:16
add action=dst-nat chain=dstnat comment=pppoe-out23 dst-mac-address=\
    00:13:87:81:67:88/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:17
add action=dst-nat chain=dstnat comment=pppoe-out24 dst-mac-address=\
    00:13:87:6B:D0:F8/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:18
add action=dst-nat chain=dstnat comment=pppoe-out25 dst-mac-address=\
    00:13:87:FF:29:55/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:19
add action=dst-nat chain=dstnat comment=pppoe-out26 dst-mac-address=\
    00:13:87:04:4A:AB/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1A
add action=dst-nat chain=dstnat comment=pppoe-out27 dst-mac-address=\
    00:13:87:7A:99:0A/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1B
add action=dst-nat chain=dstnat comment=pppoe-out28 dst-mac-address=\
    00:13:87:F4:DE:4D/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1C
add action=dst-nat chain=dstnat comment=pppoe-out29 dst-mac-address=\
    00:13:87:74:F3:C6/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1D
add action=dst-nat chain=dstnat comment=pppoe-out30 dst-mac-address=\
    00:13:87:67:3D:D4/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1E
add action=dst-nat chain=dstnat comment=pppoe-out31 dst-mac-address=\
    00:13:87:25:AF:AB/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:1F
add action=dst-nat chain=dstnat comment=pppoe-out32 dst-mac-address=\
    00:13:87:DB:3E:40/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:20
add action=dst-nat chain=dstnat comment=pppoe-out33 dst-mac-address=\
    00:13:87:E2:7C:81/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:21
add action=dst-nat chain=dstnat comment=pppoe-out34 dst-mac-address=\
    00:13:87:60:B6:BB/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:22
add action=dst-nat chain=dstnat comment=pppoe-out35 dst-mac-address=\
    00:13:87:2A:EA:0F/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:23
add action=dst-nat chain=dstnat comment=pppoe-out36 dst-mac-address=\
    00:13:87:C3:82:B9/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:24
add action=dst-nat chain=dstnat comment=pppoe-out37 dst-mac-address=\
    00:13:87:EC:E2:28/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:25
add action=dst-nat chain=dstnat comment=pppoe-out38 dst-mac-address=\
    00:13:87:99:9C:BF/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:26
add action=dst-nat chain=dstnat comment=pppoe-out39 dst-mac-address=\
    00:13:87:42:71:7C/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:27
add action=dst-nat chain=dstnat comment=pppoe-out40 dst-mac-address=\
    00:13:87:D1:3A:F5/FF:FF:FF:FF:FF:FF to-dst-mac-address=00:00:5E:00:01:28
/interface bridge port
add bridge=bridge1 interface=wan1
add bridge=bridge2 interface=wan2
/interface bridge settings
set use-ip-firewall=yes
/interface pppoe-server server
add default-profile=lan_profile disabled=no interface=lan1 max-mru=1480 \
    max-mtu=1480 mrru=1600 one-session-per-host=yes
add default-profile=lan_profile disabled=no interface=lan2 max-mru=1480 \
    max-mtu=1480 mrru=1600 one-session-per-host=yes
add default-profile=lan_profile disabled=no interface=lan3 max-mru=1480 \
    max-mtu=1480 mrru=1600 one-session-per-host=yes
/ip address
add address=1.1.1.0 interface=bridge1 network=1.1.1.0
add address=1.1.1.1 interface=vrrp1 network=1.1.1.1
add address=1.1.1.2 interface=vrrp2 network=1.1.1.2
add address=1.1.1.3 interface=vrrp3 network=1.1.1.3
add address=1.1.1.4 interface=vrrp4 network=1.1.1.4
add address=1.1.1.5 interface=vrrp5 network=1.1.1.5
add address=1.1.1.6 interface=vrrp6 network=1.1.1.6
add address=1.1.1.7 interface=vrrp7 network=1.1.1.7
add address=1.1.1.8 interface=vrrp8 network=1.1.1.8
add address=1.1.1.9 interface=vrrp9 network=1.1.1.9
add address=1.1.1.10 interface=vrrp10 network=1.1.1.10
add address=1.1.1.11 interface=vrrp11 network=1.1.1.11
add address=1.1.1.12 interface=vrrp12 network=1.1.1.12
add address=1.1.1.13 interface=vrrp13 network=1.1.1.13
add address=1.1.1.14 interface=vrrp14 network=1.1.1.14
add address=1.1.1.15 interface=vrrp15 network=1.1.1.15
add address=1.1.1.16 interface=vrrp16 network=1.1.1.16
add address=1.1.1.17 interface=vrrp17 network=1.1.1.17
add address=1.1.1.18 interface=vrrp18 network=1.1.1.18
add address=1.1.1.19 interface=vrrp19 network=1.1.1.19
add address=1.1.1.20 interface=vrrp20 network=1.1.1.20
add address=1.1.1.21 interface=vrrp21 network=1.1.1.21
add address=1.1.1.22 interface=vrrp22 network=1.1.1.22
add address=1.1.1.23 interface=vrrp23 network=1.1.1.23
add address=1.1.1.24 interface=vrrp24 network=1.1.1.24
add address=1.1.1.25 interface=vrrp25 network=1.1.1.25
add address=1.1.1.26 interface=vrrp26 network=1.1.1.26
add address=1.1.1.27 interface=vrrp27 network=1.1.1.27
add address=1.1.1.28 interface=vrrp28 network=1.1.1.28
add address=1.1.1.29 interface=vrrp29 network=1.1.1.29
add address=1.1.1.30 interface=vrrp30 network=1.1.1.30
add address=1.1.1.31 interface=vrrp31 network=1.1.1.31
add address=1.1.1.32 interface=vrrp32 network=1.1.1.32
add address=1.1.1.33 interface=vrrp33 network=1.1.1.33
add address=1.1.1.34 interface=vrrp34 network=1.1.1.34
add address=1.1.1.35 interface=vrrp35 network=1.1.1.35
add address=1.1.1.36 interface=vrrp36 network=1.1.1.36
add address=1.1.1.37 interface=vrrp37 network=1.1.1.37
add address=1.1.1.38 interface=vrrp38 network=1.1.1.38
add address=1.1.1.39 interface=vrrp39 network=1.1.1.39
add address=1.1.1.40 interface=vrrp40 network=1.1.1.40
add address=172.28.100.1/24 interface=lan1 network=172.28.100.0
add address=172.28.101.1/24 interface=lan2 network=172.28.101.0
add address=1.1.2.0 interface=bridge2 network=1.1.2.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=172.16.0.0/21 dns-server=202.96.134.133,202.96.128.166 gateway=\
    172.16.0.1 netmask=32
/ip dns
set allow-remote-requests=yes servers=114.114.114.114,114.114.115.115
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=drop chain=forward comment=\
    "\B5\E7\D0\C5\BF\ED\B4\F8\D5\CB\BA\C5\D0\C5\CF\A2\B9\FD\C2\CB" content=\
    getAccountInfo1 dst-address=59.37.155.30
add action=drop chain=forward comment=\
    "\B5\E7\D0\C5\BF\ED\B4\F8\D5\CB\BA\C5\D0\C5\CF\A2\B9\FD\C2\CB" content=\
    getAccountInfo2 dst-address=59.37.155.30
add action=drop chain=forward comment=\
    "\B5\E7\D0\C5\BF\ED\B4\F8\D5\CB\BA\C5\D0\C5\CF\A2\B9\FD\C2\CB" content=\
    getAccountInfo3 dst-address=59.37.155.30
add action=drop chain=forward comment=\
    "\B5\E7\D0\C5\BF\ED\B4\F8\D5\CB\BA\C5\D0\C5\CF\A2\B9\FD\C2\CB" \
    dst-address=121.9.231.19
/ip firewall mangle
add action=change-mss chain=forward comment="change mss" new-mss=1440 \
    protocol=tcp tcp-flags=syn tcp-mss=1441-65535
add action=mark-routing chain=prerouting new-routing-mark=route1 passthrough=\
    no src-address=10.8.1.1
add action=mark-routing chain=prerouting new-routing-mark=route2 passthrough=\
    no src-address=10.8.1.2
add action=mark-routing chain=prerouting new-routing-mark=route3 passthrough=\
    no src-address=10.8.1.3
add action=mark-routing chain=prerouting new-routing-mark=route4 passthrough=\
    no src-address=10.8.1.4
add action=mark-routing chain=prerouting new-routing-mark=route5 passthrough=\
    no src-address=10.8.1.5
add action=mark-routing chain=prerouting new-routing-mark=route6 passthrough=\
    no src-address=10.8.1.6
add action=mark-routing chain=prerouting new-routing-mark=route7 passthrough=\
    no src-address=10.8.1.7
add action=mark-routing chain=prerouting new-routing-mark=route8 passthrough=\
    no src-address=10.8.1.8
add action=mark-routing chain=prerouting new-routing-mark=route9 passthrough=\
    no src-address=10.8.1.9
add action=mark-routing chain=prerouting new-routing-mark=route10 \
    passthrough=no src-address=10.8.1.10
add action=mark-routing chain=prerouting new-routing-mark=route11 \
    passthrough=no src-address=10.8.1.11
add action=mark-routing chain=prerouting new-routing-mark=route12 \
    passthrough=no src-address=10.8.1.12
add action=mark-routing chain=prerouting new-routing-mark=route13 \
    passthrough=no src-address=10.8.1.13
add action=mark-routing chain=prerouting new-routing-mark=route14 \
    passthrough=no src-address=10.8.1.14
add action=mark-routing chain=prerouting new-routing-mark=route15 \
    passthrough=no src-address=10.8.1.15
add action=mark-routing chain=prerouting new-routing-mark=route16 \
    passthrough=no src-address=10.8.1.16
add action=mark-routing chain=prerouting new-routing-mark=route17 \
    passthrough=no src-address=10.8.1.17
add action=mark-routing chain=prerouting new-routing-mark=route18 \
    passthrough=no src-address=10.8.1.18
add action=mark-routing chain=prerouting new-routing-mark=route19 \
    passthrough=no src-address=10.8.1.19
add action=mark-routing chain=prerouting new-routing-mark=route20 \
    passthrough=no src-address=10.8.1.20
add action=mark-routing chain=prerouting new-routing-mark=route21 \
    passthrough=no src-address=10.8.1.21
add action=mark-routing chain=prerouting new-routing-mark=route22 \
    passthrough=no src-address=10.8.1.22
add action=mark-routing chain=prerouting new-routing-mark=route23 \
    passthrough=no src-address=10.8.1.23
add action=mark-routing chain=prerouting new-routing-mark=route24 \
    passthrough=no src-address=10.8.1.24
add action=mark-routing chain=prerouting new-routing-mark=route25 \
    passthrough=no src-address=10.8.1.25
add action=mark-routing chain=prerouting new-routing-mark=route26 \
    passthrough=no src-address=10.8.1.26
add action=mark-routing chain=prerouting new-routing-mark=route27 \
    passthrough=no src-address=10.8.1.27
add action=mark-routing chain=prerouting new-routing-mark=route28 \
    passthrough=no src-address=10.8.1.28
add action=mark-routing chain=prerouting new-routing-mark=route29 \
    passthrough=no src-address=10.8.1.29
add action=mark-routing chain=prerouting new-routing-mark=route30 \
    passthrough=no src-address=10.8.1.30
add action=mark-routing chain=prerouting new-routing-mark=route31 \
    passthrough=no src-address=10.8.1.31
add action=mark-routing chain=prerouting new-routing-mark=route32 \
    passthrough=no src-address=10.8.1.32
add action=mark-routing chain=prerouting new-routing-mark=route33 \
    passthrough=no src-address=10.8.1.33
add action=mark-routing chain=prerouting new-routing-mark=route34 \
    passthrough=no src-address=10.8.1.34
add action=mark-routing chain=prerouting new-routing-mark=route35 \
    passthrough=no src-address=10.8.1.35
add action=mark-routing chain=prerouting new-routing-mark=route36 \
    passthrough=no src-address=10.8.1.36
add action=mark-routing chain=prerouting new-routing-mark=route37 \
    passthrough=no src-address=10.8.1.37
add action=mark-routing chain=prerouting new-routing-mark=route38 \
    passthrough=no src-address=10.8.1.38
add action=mark-routing chain=prerouting new-routing-mark=route39 \
    passthrough=no src-address=10.8.1.39
add action=mark-routing chain=prerouting new-routing-mark=route40 \
    passthrough=no src-address=10.8.1.40
add action=mark-routing chain=prerouting new-routing-mark=route1 passthrough=\
    no src-address=10.8.2.1
add action=mark-routing chain=prerouting new-routing-mark=route2 passthrough=\
    no src-address=10.8.2.2
add action=mark-routing chain=prerouting new-routing-mark=route3 passthrough=\
    no src-address=10.8.2.3
add action=mark-routing chain=prerouting new-routing-mark=route4 passthrough=\
    no src-address=10.8.2.4
add action=mark-routing chain=prerouting new-routing-mark=route5 passthrough=\
    no src-address=10.8.2.5
add action=mark-routing chain=prerouting new-routing-mark=route6 passthrough=\
    no src-address=10.8.2.6
add action=mark-routing chain=prerouting new-routing-mark=route7 passthrough=\
    no src-address=10.8.2.7
add action=mark-routing chain=prerouting new-routing-mark=route8 passthrough=\
    no src-address=10.8.2.8
add action=mark-routing chain=prerouting new-routing-mark=route9 passthrough=\
    no src-address=10.8.2.9
add action=mark-routing chain=prerouting new-routing-mark=route10 \
    passthrough=no src-address=10.8.2.10
add action=mark-routing chain=prerouting new-routing-mark=route11 \
    passthrough=no src-address=10.8.2.11
add action=mark-routing chain=prerouting new-routing-mark=route12 \
    passthrough=no src-address=10.8.2.12
add action=mark-routing chain=prerouting new-routing-mark=route13 \
    passthrough=no src-address=10.8.2.13
add action=mark-routing chain=prerouting new-routing-mark=route14 \
    passthrough=no src-address=10.8.2.14
add action=mark-routing chain=prerouting new-routing-mark=route15 \
    passthrough=no src-address=10.8.2.15
add action=mark-routing chain=prerouting new-routing-mark=route16 \
    passthrough=no src-address=10.8.2.16
add action=mark-routing chain=prerouting new-routing-mark=route17 \
    passthrough=no src-address=10.8.2.17
add action=mark-routing chain=prerouting new-routing-mark=route18 \
    passthrough=no src-address=10.8.2.18
add action=mark-routing chain=prerouting new-routing-mark=route19 \
    passthrough=no src-address=10.8.2.19
add action=mark-routing chain=prerouting new-routing-mark=route20 \
    passthrough=no src-address=10.8.2.20
add action=mark-routing chain=prerouting new-routing-mark=route21 \
    passthrough=no src-address=10.8.2.21
add action=mark-routing chain=prerouting new-routing-mark=route22 \
    passthrough=no src-address=10.8.2.22
add action=mark-routing chain=prerouting new-routing-mark=route23 \
    passthrough=no src-address=10.8.2.23
add action=mark-routing chain=prerouting new-routing-mark=route24 \
    passthrough=no src-address=10.8.2.24
add action=mark-routing chain=prerouting new-routing-mark=route25 \
    passthrough=no src-address=10.8.2.25
add action=mark-routing chain=prerouting new-routing-mark=route26 \
    passthrough=no src-address=10.8.2.26
add action=mark-routing chain=prerouting new-routing-mark=route27 \
    passthrough=no src-address=10.8.2.27
add action=mark-routing chain=prerouting new-routing-mark=route28 \
    passthrough=no src-address=10.8.2.28
add action=mark-routing chain=prerouting new-routing-mark=route29 \
    passthrough=no src-address=10.8.2.29
add action=mark-routing chain=prerouting new-routing-mark=route30 \
    passthrough=no src-address=10.8.2.30
add action=mark-routing chain=prerouting new-routing-mark=route31 \
    passthrough=no src-address=10.8.2.31
add action=mark-routing chain=prerouting new-routing-mark=route32 \
    passthrough=no src-address=10.8.2.32
add action=mark-routing chain=prerouting new-routing-mark=route33 \
    passthrough=no src-address=10.8.2.33
add action=mark-routing chain=prerouting new-routing-mark=route34 \
    passthrough=no src-address=10.8.2.34
add action=mark-routing chain=prerouting new-routing-mark=route35 \
    passthrough=no src-address=10.8.2.35
add action=mark-routing chain=prerouting new-routing-mark=route36 \
    passthrough=no src-address=10.8.2.36
add action=mark-routing chain=prerouting new-routing-mark=route37 \
    passthrough=no src-address=10.8.2.37
add action=mark-routing chain=prerouting new-routing-mark=route38 \
    passthrough=no src-address=10.8.2.38
add action=mark-routing chain=prerouting new-routing-mark=route39 \
    passthrough=no src-address=10.8.2.39
add action=mark-routing chain=prerouting new-routing-mark=route40 \
    passthrough=no src-address=10.8.2.40
add action=mark-routing chain=prerouting new-routing-mark=route1 passthrough=\
    no src-address=10.8.3.1
add action=mark-routing chain=prerouting new-routing-mark=route2 passthrough=\
    no src-address=10.8.3.2
add action=mark-routing chain=prerouting new-routing-mark=route3 passthrough=\
    no src-address=10.8.3.3
add action=mark-routing chain=prerouting new-routing-mark=route4 passthrough=\
    no src-address=10.8.3.4
add action=mark-routing chain=prerouting new-routing-mark=route5 passthrough=\
    no src-address=10.8.3.5
add action=mark-routing chain=prerouting new-routing-mark=route6 passthrough=\
    no src-address=10.8.3.6
add action=mark-routing chain=prerouting new-routing-mark=route7 passthrough=\
    no src-address=10.8.3.7
add action=mark-routing chain=prerouting new-routing-mark=route8 passthrough=\
    no src-address=10.8.3.8
add action=mark-routing chain=prerouting new-routing-mark=route9 passthrough=\
    no src-address=10.8.3.9
add action=mark-routing chain=prerouting new-routing-mark=route10 \
    passthrough=no src-address=10.8.3.10
add action=mark-routing chain=prerouting new-routing-mark=route11 \
    passthrough=no src-address=10.8.3.11
add action=mark-routing chain=prerouting new-routing-mark=route12 \
    passthrough=no src-address=10.8.3.12
add action=mark-routing chain=prerouting new-routing-mark=route13 \
    passthrough=no src-address=10.8.3.13
add action=mark-routing chain=prerouting new-routing-mark=route14 \
    passthrough=no src-address=10.8.3.14
add action=mark-routing chain=prerouting new-routing-mark=route15 \
    passthrough=no src-address=10.8.3.15
add action=mark-routing chain=prerouting new-routing-mark=route16 \
    passthrough=no src-address=10.8.3.16
add action=mark-routing chain=prerouting new-routing-mark=route17 \
    passthrough=no src-address=10.8.3.17
add action=mark-routing chain=prerouting new-routing-mark=route18 \
    passthrough=no src-address=10.8.3.18
add action=mark-routing chain=prerouting new-routing-mark=route19 \
    passthrough=no src-address=10.8.3.19
add action=mark-routing chain=prerouting new-routing-mark=route20 \
    passthrough=no src-address=10.8.3.20
add action=mark-routing chain=prerouting new-routing-mark=route21 \
    passthrough=no src-address=10.8.3.21
add action=mark-routing chain=prerouting new-routing-mark=route22 \
    passthrough=no src-address=10.8.3.22
add action=mark-routing chain=prerouting new-routing-mark=route23 \
    passthrough=no src-address=10.8.3.23
add action=mark-routing chain=prerouting new-routing-mark=route24 \
    passthrough=no src-address=10.8.3.24
add action=mark-routing chain=prerouting new-routing-mark=route25 \
    passthrough=no src-address=10.8.3.25
add action=mark-routing chain=prerouting new-routing-mark=route26 \
    passthrough=no src-address=10.8.3.26
add action=mark-routing chain=prerouting new-routing-mark=route27 \
    passthrough=no src-address=10.8.3.27
add action=mark-routing chain=prerouting new-routing-mark=route28 \
    passthrough=no src-address=10.8.3.28
add action=mark-routing chain=prerouting new-routing-mark=route29 \
    passthrough=no src-address=10.8.3.29
add action=mark-routing chain=prerouting new-routing-mark=route30 \
    passthrough=no src-address=10.8.3.30
add action=mark-routing chain=prerouting new-routing-mark=route31 \
    passthrough=no src-address=10.8.3.31
add action=mark-routing chain=prerouting new-routing-mark=route32 \
    passthrough=no src-address=10.8.3.32
add action=mark-routing chain=prerouting new-routing-mark=route33 \
    passthrough=no src-address=10.8.3.33
add action=mark-routing chain=prerouting new-routing-mark=route34 \
    passthrough=no src-address=10.8.3.34
add action=mark-routing chain=prerouting new-routing-mark=route35 \
    passthrough=no src-address=10.8.3.35
add action=mark-routing chain=prerouting new-routing-mark=route36 \
    passthrough=no src-address=10.8.3.36
add action=mark-routing chain=prerouting new-routing-mark=route37 \
    passthrough=no src-address=10.8.3.37
add action=mark-routing chain=prerouting new-routing-mark=route38 \
    passthrough=no src-address=10.8.3.38
add action=mark-routing chain=prerouting new-routing-mark=route39 \
    passthrough=no src-address=10.8.3.39
add action=mark-routing chain=prerouting new-routing-mark=route40 \
    passthrough=no src-address=10.8.3.40
add action=mark-routing chain=prerouting new-routing-mark=route1 passthrough=\
    no src-address=10.8.4.1
add action=mark-routing chain=prerouting new-routing-mark=route2 passthrough=\
    no src-address=10.8.4.2
add action=mark-routing chain=prerouting new-routing-mark=route3 passthrough=\
    no src-address=10.8.4.3
add action=mark-routing chain=prerouting new-routing-mark=route4 passthrough=\
    no src-address=10.8.4.4
add action=mark-routing chain=prerouting new-routing-mark=route5 passthrough=\
    no src-address=10.8.4.5
add action=mark-routing chain=prerouting new-routing-mark=route6 passthrough=\
    no src-address=10.8.4.6
add action=mark-routing chain=prerouting new-routing-mark=route7 passthrough=\
    no src-address=10.8.4.7
add action=mark-routing chain=prerouting new-routing-mark=route8 passthrough=\
    no src-address=10.8.4.8
add action=mark-routing chain=prerouting new-routing-mark=route9 passthrough=\
    no src-address=10.8.4.9
add action=mark-routing chain=prerouting new-routing-mark=route10 \
    passthrough=no src-address=10.8.4.10
add action=mark-routing chain=prerouting new-routing-mark=route11 \
    passthrough=no src-address=10.8.4.11
add action=mark-routing chain=prerouting new-routing-mark=route12 \
    passthrough=no src-address=10.8.4.12
add action=mark-routing chain=prerouting new-routing-mark=route13 \
    passthrough=no src-address=10.8.4.13
add action=mark-routing chain=prerouting new-routing-mark=route14 \
    passthrough=no src-address=10.8.4.14
add action=mark-routing chain=prerouting new-routing-mark=route15 \
    passthrough=no src-address=10.8.4.15
add action=mark-routing chain=prerouting new-routing-mark=route16 \
    passthrough=no src-address=10.8.4.16
add action=mark-routing chain=prerouting new-routing-mark=route17 \
    passthrough=no src-address=10.8.4.17
add action=mark-routing chain=prerouting new-routing-mark=route18 \
    passthrough=no src-address=10.8.4.18
add action=mark-routing chain=prerouting new-routing-mark=route19 \
    passthrough=no src-address=10.8.4.19
add action=mark-routing chain=prerouting new-routing-mark=route20 \
    passthrough=no src-address=10.8.4.20
add action=mark-routing chain=prerouting new-routing-mark=route21 \
    passthrough=no src-address=10.8.4.21
add action=mark-routing chain=prerouting new-routing-mark=route22 \
    passthrough=no src-address=10.8.4.22
add action=mark-routing chain=prerouting new-routing-mark=route23 \
    passthrough=no src-address=10.8.4.23
add action=mark-routing chain=prerouting new-routing-mark=route24 \
    passthrough=no src-address=10.8.4.24
add action=mark-routing chain=prerouting new-routing-mark=route25 \
    passthrough=no src-address=10.8.4.25
add action=mark-routing chain=prerouting new-routing-mark=route26 \
    passthrough=no src-address=10.8.4.26
add action=mark-routing chain=prerouting new-routing-mark=route27 \
    passthrough=no src-address=10.8.4.27
add action=mark-routing chain=prerouting new-routing-mark=route28 \
    passthrough=no src-address=10.8.4.28
add action=mark-routing chain=prerouting new-routing-mark=route29 \
    passthrough=no src-address=10.8.4.29
add action=mark-routing chain=prerouting new-routing-mark=route30 \
    passthrough=no src-address=10.8.4.30
add action=mark-routing chain=prerouting new-routing-mark=route31 \
    passthrough=no src-address=10.8.4.31
add action=mark-routing chain=prerouting new-routing-mark=route32 \
    passthrough=no src-address=10.8.4.32
add action=mark-routing chain=prerouting new-routing-mark=route33 \
    passthrough=no src-address=10.8.4.33
add action=mark-routing chain=prerouting new-routing-mark=route34 \
    passthrough=no src-address=10.8.4.34
add action=mark-routing chain=prerouting new-routing-mark=route35 \
    passthrough=no src-address=10.8.4.35
add action=mark-routing chain=prerouting new-routing-mark=route36 \
    passthrough=no src-address=10.8.4.36
add action=mark-routing chain=prerouting new-routing-mark=route37 \
    passthrough=no src-address=10.8.4.37
add action=mark-routing chain=prerouting new-routing-mark=route38 \
    passthrough=no src-address=10.8.4.38
add action=mark-routing chain=prerouting new-routing-mark=route39 \
    passthrough=no src-address=10.8.4.39
add action=mark-routing chain=prerouting new-routing-mark=route40 \
    passthrough=no src-address=10.8.4.40
/ip firewall nat
add action=masquerade chain=srcnat src-address=10.8.1.0/24
add action=masquerade chain=srcnat src-address=10.8.2.0/24
add action=masquerade chain=srcnat src-address=10.8.3.0/24
add action=masquerade chain=srcnat src-address=10.8.4.0/24
/ip route
add distance=1 gateway=pppoe-out1 routing-mark=route1
add distance=1 gateway=pppoe-out2 routing-mark=route2
add distance=1 gateway=pppoe-out3 routing-mark=route3
add distance=1 gateway=pppoe-out4 routing-mark=route4
add distance=1 gateway=pppoe-out5 routing-mark=route5
add distance=1 gateway=pppoe-out6 routing-mark=route6
add distance=1 gateway=pppoe-out7 routing-mark=route7
add distance=1 gateway=pppoe-out8 routing-mark=route8
add distance=1 gateway=pppoe-out9 routing-mark=route9
add distance=1 gateway=pppoe-out10 routing-mark=route10
add distance=1 gateway=pppoe-out11 routing-mark=route11
add distance=1 gateway=pppoe-out12 routing-mark=route12
add distance=1 gateway=pppoe-out13 routing-mark=route13
add distance=1 gateway=pppoe-out14 routing-mark=route14
add distance=1 gateway=pppoe-out15 routing-mark=route15
add distance=1 gateway=pppoe-out16 routing-mark=route16
add distance=1 gateway=pppoe-out17 routing-mark=route17
add distance=1 gateway=pppoe-out18 routing-mark=route18
add distance=1 gateway=pppoe-out19 routing-mark=route19
add distance=1 gateway=pppoe-out20 routing-mark=route20
add distance=1 gateway=pppoe-out21 routing-mark=route21
add distance=1 gateway=pppoe-out22 routing-mark=route22
add distance=1 gateway=pppoe-out23 routing-mark=route23
add distance=1 gateway=pppoe-out24 routing-mark=route24
add distance=1 gateway=pppoe-out25 routing-mark=route25
add distance=1 gateway=pppoe-out26 routing-mark=route26
add distance=1 gateway=pppoe-out27 routing-mark=route27
add distance=1 gateway=pppoe-out28 routing-mark=route28
add distance=1 gateway=pppoe-out29 routing-mark=route29
add distance=1 gateway=pppoe-out30 routing-mark=route30
add distance=1 gateway=pppoe-out31 routing-mark=route31
add distance=1 gateway=pppoe-out32 routing-mark=route32
add distance=1 gateway=pppoe-out33 routing-mark=route33
add distance=1 gateway=pppoe-out34 routing-mark=route34
add distance=1 gateway=pppoe-out35 routing-mark=route35
add distance=1 gateway=pppoe-out36 routing-mark=route36
add distance=1 gateway=pppoe-out37 routing-mark=route37
add distance=1 gateway=pppoe-out38 routing-mark=route38
add distance=1 gateway=pppoe-out39 routing-mark=route39
add distance=1 gateway=pppoe-out40 routing-mark=route40
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www port=1010
set ssh disabled=yes
set api disabled=yes
set winbox port=1515
set api-ssl disabled=yes
/ppp secret
add name=YangHui password=YangHui. profile=20m_profile service=pppoe
add name=AAA password=5 profile=20m_profile remote-address=10.8.2.1 service=\
    pppoe
add name=P111 password=12345678 profile=lan_profile service=pppoe
add comment="[20190401]13457366274\r\
    \n" disabled=yes name=P201A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190301]" disabled=yes name=P303A5 password=12345678 profile=\
    lan_profile service=pppoe
add comment="[20190701]" name=P407A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190701]" name=U202 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190701]" name=U204A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190401]" disabled=yes name=U301A password=12345678 profile=\
    8M_profile service=pppoe
add name=U555 password=12345678 profile=8M_profile service=pppoe
add comment="[20190901]" name=CF203A password=12345678 profile=8M_profile \
    service=pppoe
add comment="[20190201]" disabled=yes name=CF304A5 password=12345678 profile=\
    lan_profile service=pppoe
add comment="[20190601]" name=CF401A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190601]13631248942" name=CF305A password=12345678 profile=\
    8M_profile service=pppoe
add name=T111 password=12345678 profile=lan_profile service=pppoe
add name=CJ111 password=12345678 profile=8M_profile service=pppoe
add comment="[20190601]" name=CJ201A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190701]15875609725" name=CJ305AG password=12345678 profile=\
    8M_profile remote-address=10.8.1.21 service=pppoe
add comment="[20190601]" name=CJ502A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190401]" disabled=yes name=M101A password=12345678 profile=\
    8M_profile service=pppoe
add comment="[20190601]" name=F102B password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190801]" name=AI101A password=12345678 profile=8M_profile \
    service=pppoe
add comment="[20190601]" name=AI302A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190701]" name=AI304A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190301]" disabled=yes name=AI305A password=12345678 profile=\
    8M_profile service=pppoe
add comment="[20190701]13879553012" name=AI402A password=12345678 profile=\
    8M_profile remote-address=10.8.1.25 service=pppoe
add comment="[20190701]13672672806\r\
    \n" name=AI406A8 password=12345678 profile=20m_profile remote-address=\
    10.8.1.1 service=pppoe
add name=AD111 password=12345678 profile=8M_profile service=pppoe
add comment="[20190201]" disabled=yes name=AD302A5 password=12345678 profile=\
    lan_profile service=pppoe
add comment="[20190601]" name=AD304 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190901]\B0\EB\C4\EA15919279056" name=P502A password=12345678 \
    profile=20m_profile remote-address=10.8.1.29 service=pppoe
add comment="[20190701]" name=AV302BA8 password=12345678 profile=20m_profile \
    remote-address=10.8.1.2 service=pppoe
add comment="[20190901]15913208218" name=15913208218@zh.163.gd password=\
    a123456@ profile=8M_profile service=pppoe
add comment="[20190601]" name=BL102 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190601]" name=BL307 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190601]" name=BL405 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20190601]" name=BL407 password=12345678 profile=lan_profile \
    service=pppoe
add name=BL222 password=12345678 profile=lan_profile service=pppoe
add comment="[20190101]15992607024" disabled=yes name=P401A password=12345678 \
    profile=8M_profile service=pppoe
add comment="[20190401]15113194664" disabled=yes name=AI303A password=\
    12345678 profile=8M_profile service=pppoe
add comment="[20190601]16675648116" name=U103A password=12345678 profile=\
    8M_profile service=pppoe
add comment="[20191001]15976511564" name=AI405A8 password=12345678 profile=\
    20m_profile remote-address=10.8.1.3 service=pppoe
add comment="[20190501]15919186619\r\
    \n" disabled=yes name=BL303A password=12345678 profile=20m_profile \
    remote-address=10.8.1.27 service=pppoe
add comment="[20190601]15015974776" name=P505A password=12345678 profile=\
    8M_profile service=pppoe
add comment="[20190301]18664941726" disabled=yes name=AD207A8 password=\
    12345678 profile=20m_profile service=pppoe
add comment="[20190621]13824139284" name=U102AG password=12345678 profile=\
    20m_profile remote-address=10.8.1.30 service=pppoe
add comment="[20190724]18566227376" name=U106AG password=12345678 profile=\
    20m_profile remote-address=10.8.1.28 service=pppoe
add comment="[20190601]13286035527" name=P307AG password=12345678 profile=\
    20m_profile remote-address=10.8.1.26 service=pppoe
add comment="[20190601]13798996507" name=BL406AG password=12345678 profile=\
    8M_profile remote-address=10.8.1.22 service=pppoe
add comment="[20190601]" name=CF404A5 password=12345678 profile=lan_profile \
    service=pppoe
add comment="[20191001]18537513828" name=CF201A password=12345678 profile=\
    8M_profile remote-address=10.8.1.27 service=pppoe
add comment="[20190901]13750016734" name=P305A password=12345678 profile=\
    8M_profile service=pppoe
add comment="[20190901]15224681285" name=U206A password=12345678 profile=\
    8M_profile remote-address=10.8.1.24 service=pppoe
/system clock
set time-zone-name=Asia/Shanghai
/system identity
set name="\C8\D9\C9\D9\A1\AANetWork"
/system ntp client
set enabled=yes primary-ntp=65.55.56.206 secondary-ntp=128.138.141.172
/system routerboard mode-button
set enabled=no on-event=""
/system scheduler
add disabled=yes interval=1d name=reboot on-event="/system reboot" policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
    mar/25/2016 start-time=05:58:00
add interval=1d name=s_user on-event=stop_user policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
    apr/01/2017 start-time=15:00:00
add interval=1d name=m_user on-event=remove_user policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
    apr/01/2017 start-time=15:10:00
add interval=1d name=set_pppoe on-event=set_pppoe policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
    nov/27/2017 start-time=07:00:00
/system script
add name=changemac owner=Admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive source="{\r\
    \n:local macvalue;\r\
    \n:local macvar [:time [/export file=backup]];\r\
    \n:set macvar [:pick \$macvar 13 15];\r\
    \n:foreach i in=[/interface bridge nat find chain=srcnat] do={\r\
    \n:set macvalue [/interface bridge nat get \$i to-src-mac-address];\r\
    \n:set \$macvalue ([:pick \$macvalue 0 6]. \$macvar .[:pick \$macvalue 8 1\
    7]);\r\
    \n:if ([/interface get [/interface bridge nat get \$i comment] running ] =\
    \_false) do={\r\
    \n/interface bridge nat set \$i to-src-mac-address=\$macvalue;\r\
    \n}\r\
    \n}\r\
    \n:foreach i in=[/interface bridge nat find chain=dstnat] do={\r\
    \n:set macvalue [/interface bridge nat get \$i dst-mac-address];\r\
    \n:set \$macvalue ([:pick \$macvalue 0 6]. \$macvar .[:pick \$macvalue 8 1\
    7].\"/FF:FF:FF:FF:FF:FF\");\r\
    \n:if ([/interface get [/interface bridge nat get \$i comment] running ] =\
    \_false) do={\r\
    \n/interface bridge nat set \$i dst-mac-address=\$macvalue;\r\
    \n}\r\
    \n}\r\
    \n}"
add name=stop_user owner=Admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive source="{:local\
    \_Date [/system clock get date];\r\
    \n:local Year ([:pick \$Date 7 11]-1);\r\
    \n:local Month ([:find jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec [:p\
    ick \$Date 0 3]]);\r\
    \n:local Day [:pick \$Date 4 6];\r\
    \n:if ([:pick \$Date 4 5] = 0) do={:set Day [:pick \$Date 5 6]};\r\
    \n:set Day (\$Day-1);\r\
    \n:local leapyear 0,31,59,90,120,151,181,212,243,273,304,334,0,31,60,91,12\
    1,152,182,213,244,274,305,335;\r\
    \n:global Today (\$Year*365+\$Year/4);\r\
    \n:if ((\$Year-\$Year/4*4) != 3) do={:set Today (\$Today+[:pick \$leapyear\
    \_\$Month]+\$Day)} else={:set Today (\$Today+[:pick \$leapyear (\$Month+12\
    )]+\$Day)};\r\
    \n\r\
    \n:local usname;\r\
    \n:local Ccomment;\r\
    \n:local lc;\r\
    \n:local rc;\r\
    \n:local CYear;\r\
    \n:local CMonth;\r\
    \n:local CDay;\r\
    \n:local CToday;\r\
    \n:local Exp;\r\
    \n\r\
    \n\r\
    \n/ppp secret\r\
    \n:foreach i in=[find comment!=\"moreuser\"] do={\r\
    \n:set Ccomment [get \$i comment];\r\
    \n:set lc [:find \$Ccomment \"[\"];\r\
    \n:set rc [:find \$Ccomment \"]\"];\r\
    \n\r\
    \n:if ([:typeof \$lc]=\"num\" && [:typeof \$rc]=\"num\" && \$lc<\$rc) do={\
    \r\
    \n:set Exp [:pick \$Ccomment (\$lc+1) \$rc];\r\
    \n:set CToday 0;\r\
    \n:if ([:pick \$Exp 0 1]!=\"+\" && [:len \$Exp]>7 && [:typeof [:tonum [:pi\
    ck \$Exp 0 8]]]=\"num\") do={\r\
    \n:set usname [get \$i name];\r\
    \n:set CYear ([:pick \$Exp 0 4]-1);\r\
    \n:set CToday (\$CYear*365+\$CYear /4);\r\
    \n:set CMonth [:pick \$Exp 4 6];\r\
    \n:if ([:pick \$Exp 4 5] = 0) do={ :set CMonth [:pick \$Exp 5 6]};\r\
    \n:set CMonth (\$CMonth-1);\r\
    \n:set CDay [:pick \$Exp 6 8];\r\
    \n:if ([:pick \$Exp 6 7] = 0) do={ :set CDay [:pick \$Exp 7 8]};\r\
    \n:set CDay (\$CDay-1);\r\
    \n:if ((\$CYear-\$CYear/4*4) != 3) do={:set CToday (\$CToday+[:pick \$leap\
    year \$CMonth]+\$CDay)} else={:set CToday (\$CToday+[:pick \$leapyear (\$C\
    Month+12)]+\$CDay)};\r\
    \n\r\
    \n:if (\$CToday <= \$Today) do={:if (![get \$i disabled ]) do={disable \$i\
    ;}} else={:if ([get \$i disabled ]) do={enable \$i}}}}}}"
add name=remove_user owner=Admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive source="{:local\
    \_usname\r\
    \n/ppp secret\r\
    \n:foreach i in=[find disabled=yes] do={:set usname [get \$i name];\r\
    \n/ppp active remove [find name=\$usname]\r\
    \n:delay delay-time=1;\r\
    \n}}"
add name=set_pppoe owner=Admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":for i \
    from 1 to 12 do={\r\
    \ninterface pppoe-client disable (\"pppoe-out\".\$i);\r\
    \n:delay 4;\r\
    \ninterface pppoe-client enable (\"pppoe-out\".\$i);\r\
    \n}\r\
    \n"
/tool mac-server
set [ find default=yes ] disabled=yes
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值