# version: 7.19.4 (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.4 # # software id = XEW3-9YLM # # model = CRS305-1G-4S+ # serial number = HGD09XPM0R2 /interface bridge add admin-mac=D4:01:C3:8E:F0:85 auto-mac=no name=BR-SOMNET port-cost-mode=short /interface ethernet set [ find default-name=sfp-sfpplus1 ] name="sfp-sfpplus1-WAN-LOS REYES" set [ find default-name=sfp-sfpplus2 ] advertise="10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full,1G-baseX" sfp-rate-select=low /interface ethernet switch port set 0 egress-rate=210.0Mbps ingress-rate=210.0Mbps /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.93 target=remote /interface bridge port add bridge=BR-SOMNET comment=defconf interface="sfp-sfpplus1-WAN-LOS REYES" internal-path-cost=10 path-cost=10 add bridge=BR-SOMNET comment=defconf interface=sfp-sfpplus2 internal-path-cost=10 path-cost=10 add bridge=BR-SOMNET comment=defconf interface=sfp-sfpplus3 internal-path-cost=10 path-cost=10 add bridge=BR-SOMNET comment=defconf interface=sfp-sfpplus4 internal-path-cost=10 path-cost=10 add bridge=BR-SOMNET interface=ether1 internal-path-cost=10 path-cost=10 /ip firewall connection tracking set udp-timeout=10s /interface ovpn-server server add mac-address=FE:A8:0E:00:69:C9 name=ovpn-server1 /ip address add address=172.20.1.93/16 comment="IP ADMINISTRACI\D3N" interface=BR-SOMNET network=172.20.0.0 /ip dns set servers=1.1.1.2,1.0.0.2,66.28.0.45 /ip firewall nat add action=masquerade chain=srcnat out-interface=BR-SOMNET /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 check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=172.20.1.1 routing-table=main scope=30 suppress-hw-offload=no target-scope=10 /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.93 /snmp set enabled=yes trap-community=SNMP-SOMNET /system clock set time-zone-autodetect=no time-zone-name=America/Mexico_City /system identity set name=SW-TENERIA /system logging add action=GrafanaLoki prefix=172.20.1.93 topics=info add action=GrafanaLoki prefix=172.20.1.93 topics=critical add action=GrafanaLoki prefix=172.20.1.93 topics=error add action=GrafanaLoki prefix=172.20.1.93 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 /tool sniffer set file-name=atlaco.cap filter-direction=rx filter-interface=sfp-sfpplus3 /user aaa set default-group=full use-radius=yes