# oct/26/2022 15:17:15 by RouterOS 6.44.6 # software id = 2CNU-ETWP # # model = RB941-2nD # serial number = D0550C16936F /interface bridge add admin-mac=48:8F:5A:65:30:B6 auto-mac=no comment=defconf name=bridge /interface ethernet set [ find default-name=ether1 ] comment=WAN set [ find default-name=ether2 ] comment=WAN /caps-man configuration add country=mexico datapath.bridge=bridge name=Configuracion_wifi1 security.authentication-types=wpa-psk,wpa2-psk security.encryption=aes-ccm,tkip security.passphrase=\ M0v1m13nt0 ssid=PMS_ROSS /interface list add comment=defconf name=WAN add comment=defconf name=LAN /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=tkip,aes-ccm mode=dynamic-keys name=profile1 supplicant-identity="" unicast-ciphers=tkip,aes-ccm \ wpa-pre-shared-key=53gur1D@dN15 wpa2-pre-shared-key=53gur1D@dN15 add authentication-types=wpa-psk,wpa2-psk eap-methods="" mode=dynamic-keys name=profile2 supplicant-identity="" wpa-pre-shared-key=W1FiR055_22# wpa2-pre-shared-key=\ W1FiR055_22# /interface wireless set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no distance=indoors installation=indoor security-profile=profile2 ssid=PMS_ROSS wireless-protocol=802.11 /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.245 /ip dhcp-server add address-pool=default-dhcp disabled=no interface=bridge name=defconf /caps-man manager set enabled=yes /caps-man manager interface set [ find default=yes ] forbid=yes add disabled=no interface=bridge /caps-man provisioning add action=create-dynamic-enabled master-configuration=Configuracion_wifi1 /interface bridge port add bridge=bridge comment=defconf interface=ether3 add bridge=bridge comment=defconf interface=ether4 add bridge=bridge comment=defconf interface=pwr-line1 add bridge=bridge comment=defconf disabled=yes interface=wlan1 /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=ether2 list=WAN /interface wireless cap set bridge=bridge discovery-interfaces=bridge interfaces=wlan1 /ip address add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0 add address=192.168.1.2/24 interface=ether1 network=192.168.1.0 add address=192.168.2.2/24 interface=ether2 network=192.168.2.0 /ip dhcp-server network add address=192.168.88.0/24 comment=defconf dns-server=8.8.8.8,8.8.4.4,1.1.1.1 gateway=192.168.88.1 /ip dns set allow-remote-requests=yes /ip dns static add address=192.168.88.1 name=router.lan /ip firewall filter 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 ICMP" protocol=icmp 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 add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked 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 /ip firewall mangle add action=accept chain=prerouting dst-address=8.8.8.8 in-interface=bridge add action=accept chain=prerouting in-interface=ether1 /ip firewall nat add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN /ip route add check-gateway=ping comment=ISP1 distance=1 gateway=192.168.1.254 add check-gateway=ping comment=ISP2 distance=2 gateway=192.168.2.254 add comment=Check-ISP1 distance=1 dst-address=1.1.1.1/32 gateway=192.168.1.254 add comment=Check-ISP2 distance=1 dst-address=8.8.4.4/32 gateway=192.168.2.254 /ip service set telnet address=192.168.0.0/16,172.16.0.0/16,10.0.0.0/8,144.91.71.175/32,189.216.168.144/32 set ftp disabled=yes set www disabled=yes set ssh address=192.168.0.0/16,172.16.0.0/16,10.0.0.0/8,144.91.71.175/32,189.216.168.144/32 set api disabled=yes set winbox address=192.168.0.0/16,172.16.0.0/16,10.0.0.0/8,144.91.71.175/32,189.216.168.144/32 set api-ssl disabled=yes /system clock set time-zone-name=America/Mexico_City /system identity set name=ROUTER_CAPSMAN_MIKROTIK /tool mac-server set allowed-interface-list=LAN /tool mac-server mac-winbox set allowed-interface-list=LAN /tool netwatch add down-script="ip route set [find comment=ISP1] disabled=yes" host=1.1.1.1 interval=10s up-script="ip route set [find comment=ISP1] disabled=no" add down-script="ip route set [find comment=ISP2] disabled=yes" host=8.8.4.4 interval=10s up-script="ip route set [find comment=ISP2] disabled=no"