# version: 7.19.3 (stable) # factory-software: 6.49.10 # total-memory: 512.0MiB # cpu: ARM # cpu-count: 2 # total-hdd-space: 16.0MiB # architecture-name: arm # board-name: CRS305-1G-4S+ # platform: MikroTik # installed-version: 7.19.3 # # software id = HAXK-LK89 # # model = CRS305-1G-4S+ # serial number = HHB0AEFRX72 /interface bridge add admin-mac=F4:1E:57:74:F3:D5 auto-mac=no comment=defconf name=BRIDGE-SOMNET /interface ethernet set [ find default-name=ether1 ] name=ether1-LAN-MIGUEL set [ find default-name=sfp-sfpplus1 ] name="sfp-sfpplus1-WAN SOMNET" set [ find default-name=sfp-sfpplus3 ] auto-negotiation=no speed=10G-baseT set [ find default-name=sfp-sfpplus4 ] name="sfp-sfpplus4-LAN MIGUEL MATEO" /snmp community add addresses=::/0 name=SNMP-SOMNET /system logging action add name=GrafanaLoki remote=172.20.0.254 remote-log-format=syslog remote-port=1514 src-address=172.20.1.128 target=remote /interface bridge port add bridge=BRIDGE-SOMNET comment=defconf disabled=yes interface=ether1-LAN-MIGUEL add bridge=BRIDGE-SOMNET comment=defconf interface="sfp-sfpplus1-WAN SOMNET" add bridge=BRIDGE-SOMNET comment=defconf interface=sfp-sfpplus2 add bridge=BRIDGE-SOMNET comment=defconf interface=sfp-sfpplus3 add bridge=BRIDGE-SOMNET comment=defconf interface="sfp-sfpplus4-LAN MIGUEL MATEO" /interface ovpn-server server add mac-address=FE:C6:09:2A:69:58 name=ovpn-server1 /ip address add address=172.20.1.128/16 interface=BRIDGE-SOMNET network=172.20.0.0 /ip dns set servers=1.1.1.2,1.0.0.2 /ip hotspot profile set [ find default=yes ] html-directory=hotspot /ip ipsec profile set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5 /ip route add disabled=no dst-address=0.0.0.0/0 gateway=172.20.1.1 routing-table=main suppress-hw-offload=no /ip service set ftp disabled=yes set telnet disabled=yes set www port=8080 set api disabled=yes set api-ssl disabled=yes set ssh port=46825 /radius add address=172.20.6.1 secret=Fr3eR4d!u5 service=login src-address=172.20.1.128 /snmp set trap-community=SNMP-SOMNET /system clock set time-zone-name=America/Mexico_City /system identity set name=SW-MIGUEL-MATEO /system logging add action=GrafanaLoki prefix=172.20.1.128 topics=critical add action=GrafanaLoki prefix=172.20.1.128 topics=error add action=GrafanaLoki prefix=172.20.1.128 topics=info add action=GrafanaLoki prefix=172.20.1.128 topics=warning /system ntp client set enabled=yes /system ntp client servers add address=0.mx.pool.ntp.org add address=1.mx.pool.ntp.org /tool graphing interface add /tool graphing resource add /user aaa set use-radius=yes