# model: RB2011UiAS # serial-number: 69BA029B637E # firmware-type: ar9344 # current-firmware: 6.44.6 # installed-version: 7.7 # # software id = 1XDM-LDCB # # model = RB2011UiAS # serial number = 69BA029B637E /interface bridge add name=BRIGDE-CAMERAS add name=loopback /interface ethernet set [ find default-name=ether1 ] comment=LINK set [ find default-name=ether2 ] comment=CAMERA-EXT-4 set [ find default-name=ether3 ] comment=CAMERA-EXT-1 set [ find default-name=ether4 ] comment=CAMERA-INT set [ find default-name=ether5 ] comment=CAMERA-EXT-3 set [ find default-name=ether6 ] comment=CAMERA-EXT-2 set [ find default-name=ether9 ] comment=ROTEADOR set [ find default-name=ether10 ] comment=220V-USINA-BOA /interface vlan add interface=ether1 name=VLAN-209-USINA-BOA vlan-id=209 /interface lte apn set [ find default=yes ] ip-type=ipv4 use-network-apn=no /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip pool add name=dhcp_pool0 ranges=192.168.77.2-192.168.77.254 /ip dhcp-server add address-pool=dhcp_pool0 interface=ether9 name=dhcp1 /port set 0 name=serial0 /routing ospf instance add disabled=no name=backbone-v2 router-id=10.0.8.34 /routing ospf area add disabled=no instance=backbone-v2 name=defaut-v2 /interface bridge port add bridge=BRIGDE-CAMERAS interface=ether10 add bridge=BRIGDE-CAMERAS interface=ether2 add bridge=BRIGDE-CAMERAS interface=ether3 add bridge=BRIGDE-CAMERAS interface=ether4 add bridge=BRIGDE-CAMERAS interface=ether5 add bridge=BRIGDE-CAMERAS interface=ether6 /ip settings set max-neighbor-entries=8192 /ipv6 settings set max-neighbor-entries=8192 /interface l2tp-server server set enabled=yes /interface ovpn-server server set auth=sha1,md5 /ip address add address=10.0.8.34/30 comment=VLAN-209-USINA-BOA interface=VLAN-209-USINA-BOA network=10.0.8.32 add address=10.77.24.1/28 comment="REDE CAMERAS" interface=BRIGDE-CAMERAS network=10.77.24.0 add address=192.168.1.1/24 comment=hikivision disabled=yes interface=BRIGDE-CAMERAS network=192.168.1.0 add address=192.168.77.1/24 comment=REDE-ROTEADOR interface=ether9 network=192.168.77.0 add address=143.0.252.81 interface=loopback network=143.0.252.81 /ip dhcp-server network add address=192.168.77.0/24 gateway=192.168.77.1 /ip dns set servers=143.0.252.10,143.0.252.20 /ip firewall nat add action=same chain=srcnat same-not-by-dst=no src-address=192.168.77.0/24 to-addresses=143.0.252.81 /ip service set telnet disabled=yes set ftp disabled=yes set www disabled=yes set ssh address=205.164.78.0/23,143.0.252.0/22,143.0.252.58/32 port=2277 set api disabled=yes set winbox address=143.0.252.0/22,205.164.78.0/23 set api-ssl disabled=yes /ppp secret add name=bruna password=78113292 remote-address=192.168.1.200 service=l2tp /routing ospf interface-template add area=defaut-v2 comment=VLAN-209-USINA-BOA disabled=no interfaces=VLAN-209-USINA-BOA networks=10.0.8.32/30 type=ptp add area=defaut-v2 comment="REDE CAMERAS" disabled=no interfaces=BRIGDE-CAMERAS networks=10.77.24.0/28 add area=defaut-v2 disabled=no interfaces=loopback networks=143.0.252.81/32 /system clock set time-zone-name=America/Sao_Paulo /system identity set name=SETTE-USINA-BOA /system ntp client set enabled=yes /system ntp client servers add address=10.7.7.103 /system watchdog set automatic-supout=no watchdog-timer=no /tool romon set enabled=yes secrets=@a7net@#