/interface bridge
add name=bridge-LAN
/interface ethernet
set [ find default-name=ether2 ] poe-out=off
set [ find default-name=ether3 ] poe-out=off
set [ find default-name=ether4 ] poe-out=off
set [ find default-name=ether5 ] poe-out=off
/interface pppoe-client
add add-default-route=yes allow=pap disabled=no interface=ether1 keepalive-timeout=2 name=pppoe-VDSL password=******* use-peer-dns=yes user=
11111111@bbbbbbb.com
/ip pool
add name=dhcp_pool0 ranges=10.0.0.200-10.0.0.250
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge-LAN name=dhcp1
/interface bridge port
add bridge=bridge-LAN interface=ether2
add bridge=bridge-LAN interface=ether3
add bridge=bridge-LAN interface=ether4
add bridge=bridge-LAN interface=ether5
/interface pptp-server server
set authentication=mschap2 enabled=yes
/ip address
add address=10.0.0.1/24 interface=bridge-LAN network=10.0.0.0
/ip dhcp-server network
add address=10.0.0.0/24 dns-server=10.0.0.1 gateway=10.0.0.1
/ip dns
set allow-remote-requests=yes
/ip firewall address-list
add address=******** list=ADMIN
add address=10.0.0.0/24 list=ADMIN
/ip firewall filter
add action=drop chain=input dst-port=53 in-interface=pppoe-VDSL protocol=udp
add action=drop chain=input dst-port=53 in-interface=ether1 protocol=udp
add action=drop chain=input dst-port=53 in-interface=pppoe-VDSL protocol=tcp
add action=drop chain=input dst-port=53 in-interface=ether1 protocol=tcp
add action=drop chain=input comment="winbox_drop brute forcers" dst-port=8291 protocol=tcp src-address=!*********** src-address-list=winbox_login_blacklist
add action=add-src-to-address-list address-list=winbox_login_blacklist address-list-timeout=1w3d chain=input connection-state=new dst-port=8291 protocol=tcp src-address-list=!ADMIN
add action=drop chain=input comment="SSH_drop brute forcers" dst-port=22 protocol=tcp src-address=!************* src-address-list=SSH_login_blacklist
add action=add-src-to-address-list address-list=SSH_login_blacklist address-list-timeout=1w3d chain=input connection-state=new dst-port=22 protocol=tcp src-address-list=!ADMIN
/ip firewall nat
add action=masquerade chain=srcnat src-address=10.0.0.0/24
add action=masquerade chain=srcnat src-address=192.168.55.0/24
add action=dst-nat chain=dstnat dst-address=************* dst-port=22 protocol=tcp to-addresses=10.0.0.254 to-ports=22
add action=dst-nat chain=dstnat dst-address=************* dst-port=5038 protocol=tcp to-addresses=10.0.0.254 to-ports=5038
add action=dst-nat chain=dstnat dst-address=************* dst-port=81 protocol=tcp to-addresses=10.0.0.124 to-ports=81
add action=dst-nat chain=dstnat dst-address=************* dst-port=81 protocol=udp to-addresses=10.0.0.124 to-ports=81
add action=dst-nat chain=dstnat dst-address=************* dst-port=554 protocol=tcp to-addresses=10.0.0.124 to-ports=554
add action=dst-nat chain=dstnat dst-address=************* dst-port=554 protocol=udp to-addresses=10.0.0.124 to-ports=554
add action=dst-nat chain=dstnat dst-address=************* dst-port=8000 protocol=tcp to-addresses=10.0.0.124 to-ports=8000
add action=dst-nat chain=dstnat dst-address=************* dst-port=8000 protocol=udp to-addresses=10.0.0.124 to-ports=8000
add action=dst-nat chain=dstnat dst-address=************* dst-port=4233 protocol=tcp to-addresses=10.0.0.11 to-ports=4233
add action=dst-nat chain=dstnat dst-address=************* dst-port=4233 protocol=udp to-addresses=10.0.0.11 to-ports=4233
/ip service
set telnet address=10.0.0.0/24
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set winbox address=10.0.0.0/24
set api-ssl disabled=yes
/ip ssh
set allow-none-crypto=yes forwarding-enabled=remote
/ppp secret
add local-address=192.168.55.254 name=********* password=********* remote-address=192.168.55.1 service=pptp
/system identity
set name=LLLLLLLL
/system note
set note="******************************** Your router was open to attack. The\
\_script in automatic mode restricted access to it only from your local ne\
twork. Please, be more attentive to the security of network equipment.****\
**********************************************"