Thanks in advance.
The export file:
Code: Select all
# mar/29/2024 14:13:50 by RouterOS 6.49.10
# software id = 52xxx
#
# model = RouterBOARD 952Ui-///
# serial number = 71AF///
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
disabled=no distance=indoors frequency=auto installation=indoor mode=\
ap-bridge ssid=/// wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-XXXX disabled=no distance=indoors frequency=auto \
installation=indoor mode=ap-bridge ssid=/// wireless-protocol=\
802.11 wps-mode=disabled
/interface bridge
add admin-mac=B8:69:F4:1D:6B:C0 auto-mac=no comment=defconf name=bridge
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=M/// wpa2-pre-shared-key=xxx
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=pool10 ranges=10.10.10.10-10.10.10.19
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
add address-pool=pool10 disabled=no interface=ether3 name=server10
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf disabled=yes interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=ether3 list=LAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=10.10.10.1/24 interface=ether3 network=10.10.10.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server lease
add address=192.168.88.245 mac-address=1C:6F:65:21:95:8C server=defconf
add address=192.168.88.239 client-id=1:14:cb:19:97:d6:ba mac-address=\
14:CB:19:97:D6:BA server=defconf
add address=10.10.10.10 client-id=1:b8:69:///:aa mac-address=\
B8:69:F4:47:5D:AA server=server10
add address=192.168.88.228 mac-address=B0:A4:/// server=defconf
add address=192.168.88.249 client-id=1:14:4f:8a:c7:36:a2 mac-address=\
14:4F:8A:/// server=defconf
/ip dhcp-server network
add address=10.10.10.0/24 gateway=10.10.10.10 netmask=24
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept dstnat" \
connection-nat-state=dstnat in-interface=all-ethernet
add action=accept chain=input comment="accept icmpt" in-interface=\
all-ethernet protocol=icmp
add action=accept chain=input comment="accept tcp" in-interface=all-ethernet \
protocol=tcp
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related disabled=yes
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=accept chain=forward comment=" accept new " connection-state=new
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
add action=accept chain=output connection-nat-state=dstnat dst-port=22 \
protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat dst-port=YYYY protocol=tcp to-addresses=\
192.168.55.247 to-ports=2222
add action=dst-nat chain=dstnat dst-port=ZZZZ in-interface=all-ethernet \
protocol=tcp to-addresses=192.168.55.228 to-ports=22
/ip route
add distance=1 dst-address=192.168.55.0/24 gateway=10.10.10.10
/ip service
set ssh address=0.0.0.0/0
/system clock
set time-zone-name=America/New_York
/system identity
set name=MikroTik-gw
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool sniffer
set filter-interface=bridge filter-operator-between-entries=and filter-port=\
ssh