# sep/06/2022 21:15:47 by RouterOS 6.48.6
# software id = F6M9-CKU1
#
# model = 750GL
# serial number = 3B0502AB4175
/interface bridge
add comment="ETHERT 3 - 5" fast-forward=no name=PUENTE
/interface ethernet
set [ find default-name=ether1 ] name="ETHERT 1"
set [ find default-name=ether2 ] name="ETHERT 2"
set [ find default-name=ether3 ] name="ETHERT 3"
set [ find default-name=ether4 ] name="ETHERT 4"
set [ find default-name=ether5 ] name="ETHERT 5"
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip firewall layer7-protocol
add comment=str name=currentIP regexp=190.78.178.156
/ip hotspot profile
add dns-name=cyberenkas.com hotspot-address=192.168.20.1 \
http-cookie-lifetime=6h name=hsprof1
/ip pool
add name=dhcp_pool0 ranges=192.168.20.2-192.168.20.14
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface="ETHERT 2" name=dhcp1
/ip hotspot
add address-pool=dhcp_pool0 addresses-per-mac=1 disabled=no interface=\
"ETHERT 2" name=hotspot1 profile=hsprof1
/ip hotspot user profile
set [ find default=yes ] address-pool=dhcp_pool0 mac-cookie-timeout=10s
add address-pool=dhcp_pool0 keepalive-timeout=5s mac-cookie-timeout=1h30m \
name=30min on-login=":local comment \"CONECTADO\"\r\
\n:local userprofile [ip hotspot user get [find where name=\"\$user\"] pro\
file]\r\
\n\r\
\n:if ([/ip hotspot user get \$user comment]=\"\") do={[/ip hotspot user s\
et \$user comment=\$comment]}\r\
\n\r\
\n[/system scheduler add name=\$user on-event=\"/ip hotspot user remove \\\
\"\$user\\\" \\r\\\r\
\n \\n/ip hotspot cookie remove [find where user=\\\"\$user\\\"] \\r\\\r\
\n \\n/system scheduler remove [find where name=\\\"\$user\\\"] \\r\\\r\
\n \\n\\r\\\r\
\n\" interval= [/ip hotspot user profile get [find where name=\"\$userprof\
ile\"] mac-cookie-timeout]]" rate-limit=256k/768k
add address-pool=dhcp_pool0 keepalive-timeout=5s mac-cookie-timeout=3h name=\
1hora on-login=":local comment \"CONECTADO\"\r\
\n:local userprofile [ip hotspot user get [find where name=\"\$user\"] pro\
file]\r\
\n\r\
\n:if ([/ip hotspot user get \$user comment]=\"\") do={[/ip hotspot user s\
et \$user comment=\$comment]}\r\
\n\r\
\n[/system scheduler add name=\$user on-event=\"/ip hotspot user remove \\\
\"\$user\\\" \\r\\\r\
\n \\n/ip hotspot cookie remove [find where user=\\\"\$user\\\"] \\r\\\r\
\n \\n/system scheduler remove [find where name=\\\"\$user\\\"] \\r\\\r\
\n \\n\\r\\\r\
\n\" interval= [/ip hotspot user profile get [find where name=\"\$userprof\
ile\"] mac-cookie-timeout]]" rate-limit=256k/768k
add address-pool=dhcp_pool0 keepalive-timeout=5s mac-cookie-timeout=6m name=\
5min on-login=":local comment \"CONECTADO\"\r\
\n:local userprofile [ip hotspot user get [find where name=\"\$user\"] pro\
file]\r\
\n\r\
\n:if ([/ip hotspot user get \$user comment]=\"\") do={[/ip hotspot user s\
et \$user comment=\$comment]}\r\
\n\r\
\n[/system scheduler add name=\$user on-event=\"/ip hotspot user remove \\\
\"\$user\\\" \\r\\\r\
\n \\n/ip hotspot cookie remove [find where user=\\\"\$user\\\"] \\r\\\r\
\n \\n/system scheduler remove [find where name=\\\"\$user\\\"] \\r\\\r\
\n \\n\\r\\\r\
\n\" interval= [/ip hotspot user profile get [find where name=\"\$userprof\
ile\"] mac-cookie-timeout]]" rate-limit=256k/768k
add address-pool=dhcp_pool0 keepalive-timeout=5s mac-cookie-timeout=6m name=\
TEST on-login=":local comment \"CONECTADO\"\r\
\n:local userprofile [ip hotspot user get [find where name=\"\$user\"] pro\
file]\r\
\n\r\
\n:if ([/ip hotspot user get \$user comment]=\"\") do={[/ip hotspot user s\
et \$user comment=\$comment]}\r\
\n\r\
\n[/system scheduler add name=\$user on-event=\"/ip hotspot user remove \\\
\"\$user\\\" \\r\\\r\
\n \\n/ip hotspot cookie remove [find where user=\\\"\$user\\\"] \\r\\\r\
\n \\n/system scheduler remove [find where name=\\\"\$user\\\"] \\r\\\r\
\n \\n\\r\\\r\
\n\" interval= [/ip hotspot user profile get [find where name=\"\$userprof\
ile\"] mac-cookie-timeout]]" rate-limit=256k/768k
/queue simple
add burst-limit=512k/3M burst-threshold=256k/1M burst-time=16s/16s name=\
SERVIDOR target=192.168.1.100/32
add burst-limit=512k/3M burst-threshold=256k/1M burst-time=16s/16s name=WI-FI \
target=192.168.1.254/32
add max-limit=768k/3072k name="PC 01" target=192.168.1.101/32
add max-limit=768k/3072k name="PC 02" target=192.168.1.102/32
add max-limit=768k/3072k name="PC 03" target=192.168.1.103/32
add max-limit=768k/3072k name="PC 06" target=192.168.1.106/32
add max-limit=768k/3072k name="PC 04" target=192.168.1.104/32
add max-limit=768k/3072k name="PC 05" target=192.168.1.105/32
add max-limit=768k/3072k name="PC 07" target=192.168.1.107/32
add max-limit=768k/3072k name="PC 10" target=192.168.1.110/32
/interface bridge port
add bridge=PUENTE interface="ETHERT 3"
add bridge=PUENTE interface="ETHERT 5"
/ip settings
set accept-source-route=yes secure-redirects=no
/ip address
add address=192.168.1.1/24 interface=PUENTE network=192.168.1.0
add address=192.168.20.1/28 comment=FICHAS interface="ETHERT 2" network=\
192.168.20.0
/ip cloud
set update-time=no
/ip dhcp-client
add disabled=no interface="ETHERT 1" use-peer-dns=no use-peer-ntp=no
/ip dhcp-server config
set store-leases-disk=6h
/ip dhcp-server network
add address=192.168.20.0/28 gateway=192.168.20.1
/ip dns
set allow-remote-requests=yes cache-size=512KiB servers=1.1.1.1,1.0.0.1
/ip firewall address-list
add address=192.168.1.101-192.168.1.111 list="BLOQUEO CYBER"
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=drop chain=input comment="BLOQUEAR CONECCIONES INVALIDAS" \
connection-state=invalid
add action=accept chain=input comment="PERMITIR CONECCIONES ESTABILIZADAS" \
connection-state=established
add action=accept chain=input comment="PERMITIR CONECCIONES RELACIONADAS" \
connection-state=established,related
/ip firewall mangle
add action=accept chain=prerouting comment="Cadena Bancos" dst-port=\
443,8000-9000 protocol=tcp
add action=change-ttl chain=postrouting comment="BLOQUEO DE BLUETOOTH" \
dst-address=192.168.20.0/28 new-ttl=set:1 passthrough=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat out-interface="ETHERT 1"
add action=dst-nat chain=dstnat comment="BLOQUEAR PORNO" dst-port=53 \
protocol=udp src-address-list="BLOQUEO CYBER" to-addresses=208.67.222.123 \
to-ports=53
add action=redirect chain=dstnat comment="DNS CACHE" dst-port=53 protocol=udp \
to-ports=53
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.20.0/28
/ip hotspot user
add limit-uptime=30m name=thall profile=30min server=hotspot1
add limit-uptime=30m name=catch profile=30min server=hotspot1
add limit-uptime=30m name=tione profile=30min server=hotspot1
add limit-uptime=30m name=nefol profile=30min server=hotspot1
add limit-uptime=30m name=intsm profile=30min server=hotspot1
add limit-uptime=30m name=riblu profile=30min server=hotspot1
add limit-uptime=30m name=nsuck profile=30min server=hotspot1
add limit-uptime=30m name=oging profile=30min server=hotspot1
add limit-uptime=30m name=nclop profile=30min server=hotspot1
add limit-uptime=30m name=inght profile=30min server=hotspot1
add limit-uptime=30m name=sleet profile=30min server=hotspot1
add limit-uptime=30m name=erier profile=30min server=hotspot1
add limit-uptime=30m name=teran profile=30min server=hotspot1
add limit-uptime=30m name=epali profile=30min server=hotspot1
add limit-uptime=1h name=tiono profile=1hora server=hotspot1
add limit-uptime=1h name=urnme profile=1hora server=hotspot1
add limit-uptime=1h name=riate profile=1hora server=hotspot1
add limit-uptime=1h name=screp profile=1hora server=hotspot1
add limit-uptime=1h name=ypere profile=1hora server=hotspot1
add limit-uptime=1h name=lotea profile=1hora server=hotspot1
add limit-uptime=1h name=ingst profile=1hora server=hotspot1
add limit-uptime=1h name=vende profile=1hora server=hotspot1
add limit-uptime=1h name=rpalc profile=1hora server=hotspot1
add limit-uptime=1h name=ownes profile=1hora server=hotspot1
add limit-uptime=1h name=dmass profile=1hora server=hotspot1
/ip proxy
set max-fresh-time=10s
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=America/Caracas
/system identity
set name="CYBER ENK\B4AS"
/system note
set show-at-login=no
/system ntp client
set enabled=yes primary-ntp=186.118.171.88 secondary-ntp=177.91.160.90
/system scheduler
add interval=1d name="LIMPIAR LOG DIARIAMENTE" on-event="/system logging actio\
n\r\
\nset [find where target=memory] memory-lines=1\r\
\n:delay 1s\r\
\nset [find where target=memory] memory-lines=1000" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=dec/01/2018 start-time=00:00:00
add disabled=yes name=PRUEBA on-event=":local Run false\r\
\n\r\
\n:do {\r\
\n\r\
\n :local time [/system clock get time]\r\
\n :local message (\"\$time PREPARATE PARA ALMORZAR\")\r\
\n :if (\$time >= 10:55:00 and \$time <= 10:55:10) do={:set message (\"\
\$time ES HORA DE ALMORZAR\")}\r\
\n :if (\$time > 10:55:10) do={:set message (\"\$time ES HORA DE REPOSA\
R EL ALMUERZO\")}\r\
\n :put \$message\r\
\n\r\
\n :delay 10ms\r\
\n\r\
\n} while=(!\$Run)\r\
\n" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=may/26/2022 start-time=15:20:30
add disabled=yes interval=10s name=SESIONES-5-MINUTOS on-event="/ip hotspot us\
er remove [find where uptime=00:05:00 and limit-uptime=00:05:00]\r\
\n" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=dec/01/2018 start-time=00:00:00
add interval=10s name="(LIBERAR IP)" on-event=\
":if ([/ping 1.1.1.1 count=6] = 0) do={/ip dhcp-client release [find]}" \
policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=dec/01/2018 start-time=00:00:00
add name=firtsstartup.txt on-event=":delay 15m\r\
\n\r\
\n:local file \"firtsstartup.txt\"\r\
\n:local intGoff [:tonum [/system clock get gmt-offset]]\r\
\n:if (\$intGoff > 86400) do={:set intGoff ((4294967296 - \$intGoff) * -1)\
}\r\
\n:local epochNow (([/tool fetch url=\"https://helloacm.com/api/unix-timestamp-converter/\\3Fs=now\" as-value output=user])->\"data\")\r\
\n:local upTime [/system resource get uptime]\r\
\n:local wPos [:find \$upTime \"w\" -1]\r\
\n:local dPos [:find \$upTime \"d\" -1]\r\
\n:local utLen [:len \$upTime]\r\
\n:local utSec [:pick \$upTime (\$utLen - 2) \$utLen]\r\
\n:local utMin [:pick \$upTime (\$utLen - 5) (\$utLen - 3)]\r\
\n:local utHou [:pick \$upTime (\$utLen - 8) (\$utLen - 6)]\r\
\n:local utDay 0\r\
\n:local utWee 0\r\
\n:if (([:typeof \$wPos] = \"nil\") and ([:typeof \$dPos] = \"num\")) do={\
:set utDay [:pick \$upTime 0 \$dPos] }\r\
\n:if (([:typeof \$wPos] = \"num\") and ([:typeof \$dPos] = \"num\")) do={\
:set utDay [:pick \$upTime (\$wPos + 1) \$dPos] }\r\
\n:if ([:typeof \$wPos] = \"num\") do={:set utWee [:pick \$upTime 0 \$wPos\
] }\r\
\n:local totUtSec (\$utSec + (60 * \$utMin) + (60 * 60 * \$utHou) + (60 * \
60 * 24 * \$utDay) + (60 * 60 * 24 * 7 * \$utWee))\r\
\n:local epochStart (\$epochNow - \$totUtSec + \$intGoff)\r\
\n:local datetimeStart (([/tool fetch url=\"https://helloacm.com/api/unix-timestamp-converter/\\3Fs=\$epochStart\" as-value output=use\
r])->\"data\")\r\
\n:set datetimeStart [:pick \$datetimeStart 1 ([:len \$datetimeStart] - 1)\
]\r\
\n:local year [:pick \$datetimeStart 0 4]\r\
\n:local month [:pick \$datetimeStart 5 7]\r\
\n:local day [:pick \$datetimeStart 8 10]\r\
\n:local hms [:pick \$datetimeStart 11 19]\r\
\n:local mhours [:tonum [:pick \$hms 0 2]]\r\
\n:local minsec [:pick \$hms 2 8]\r\
\n:local msymbl \"am\"\r\
\n:if (\$mhours > 11) do={:set msymbl \"pm\"}\r\
\n:set mhours (\$mhours % 12)\r\
\n:if (\$mhours = 0) do={:set mhours 12}\r\
\n:if (\$mhours < 10) do={:set mhours \"0\$mhours\"}\r\
\n:local date \"\$day/\$month/\$year\"\r\
\n:local time \"\$mhours\$minsec \$msymbl\"\r\
\n:local started \"****************************\\r\\n LA LUZ LLEGO EL: \$d\
ate\\r\\n A LAS: \$time\\r\\n ELABORADO POR FRANK MU\D1OZ\\r\\n******\
**********************\"\r\
\n/file\r\
\n:if ([:len [find where name=\$file]] = 0) do={print file=\$file; :delay \
5; set \$file contents=\"\"}\r\
\nset \$file contents=\$started" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-time=startup
add interval=1m name="HISTORIAL DE IPs" on-event=" /system clock\r\
\n :local itime [get time]\r\
\n :local hours [:pick \$itime 0 2]\r\
\n :local minsec [:pick \$itime 2 8]\r\
\n :local mhours [:tonum \$hours]\r\
\n :local msymbl \"am\"\r\
\n :if (\$mhours > 11) do={:set msymbl \"pm\"}\r\
\n :set mhours (\$mhours % 12)\r\
\n :if (\$mhours = 0) do={:set mhours 12}\r\
\n :if (\$mhours < 10) do={:set mhours \"0\$mhours\"}\r\
\n :local mtime \"\$mhours\$minsec \$msymbl\"\r\
\n :local data [get date]\r\
\n :local day [:pick \$data 4 7]\r\
\n :local arrMonths {jan=\"01\";feb=\"02\";mar=\"03\";apr=\"04\";m\
ay=\"05\";jun=\"06\";jul=\"07\";aug=\"08\";sep=\"09\";oct=\"10\";nov=\"11\
\";dec=\"12\"}\r\
\n :local months (\$arrMonths->[:pick \$data 0 3])\r\
\n :local year [:pick \$data 6 11] \r\
\n :local adata \"\$day\$months\$year\"\r\
\n :local now \"HORA:\$mtime FECHA: \$adata\"\r\
\n :local filenameIP \"iphistory.txt\"\r\
\n \r\
\n /file\r\
\n :if ([:len [find where name=\"flash\" and type=\"disk\"]] = 1) do={:\
set filenameIP \"flash/\$filenameIP\"}\r\
\n :if ([:len [find where name=\$filenameIP]] = 0) do={print file=\"\$f\
ilenameIP\"; :delay 5s; set \$filenameIP contents=\"\"}\r\
\n\r\
\n :global currentIP\r\
\n :local newIP [/ip address get [find where interface=\"ETHERT 1\"] ad\
dress]\r\
\n :set newIP [:pick \$newIP 0 [:find \$newIP \"/\" -1]]\r\
\n :if (\$newIP != \$currentIP) do={\r\
\n\r\
\n /file\r\
\n :delay 4s\r\
\n :local filecontent [get \$filenameIP contents]\r\
\n :local newfilecontent \"********************************************\
************************\\r\\nNUEVA IP: \$newIP\\t\$now\\r\\n\$filecon\
tent\"\r\
\n set \$filenameIP contents=\$newfilecontent\r\
\n :set currentIP \$newIP\r\
\n \r\
\n#PARA GUARDAR VARIABLES GLOBALES\r\
\n\r\
\n/system script environment\r\
\n:foreach item in=[find] do={\r\
\n :local vname [get \$item name]\r\
\n :local vvalue [get \$item value]\r\
\n :if (\$vvalue~\"^\\\\*\") do={:set vvalue \"ID\$vvalue\"}\
\r\
\n :if (\$vvalue~\"\\\\(eval|evl) \") do={:set vvalue \"(function)\"}\
\r\
\n /ip firewall layer7\r\
\n remove [find where name=\$vname]\r\
\n add name=\$vname regex=\"\$vvalue\"\r\
\n :delay 10ms\r\
\n :execute \"/ip firewall layer7 set [find where name=\$vname] comment\
=[:typeof \\\$\$vname]\"\r\
\n :if (\$vvalue=\"(code)\") do={:delay 10ms ; set [find where name\
=\$vname] comment=\"code\"}\r\
\n :if (\$vvalue=\"(function)\") do={:delay 10ms ; set [find where name\
=\$vname] comment=\"function\"}\r\
\n}\r\
\n\r\
\n}" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=dec/01/2018 start-time=00:00:00
add name="CORTE ELECTRICO" on-event=":delay 15m\r\
\n\r\
\n:local stopRouterRun false\r\
\n\r\
\n/system clock\r\
\n:local time [get time]\r\
\n:local hours [:pick \$time 0 2]\r\
\n:local min [:pick \$time 3 5]\r\
\n:local sec [:pick \$time 6 8] \r\
\n:local data [get date]\r\
\n:local day [:pick \$data 4 6]\r\
\n:local arrMonths {jan=\"01\";feb=\"02\";mar=\"03\";apr=\"04\";may=\"05\
\";jun=\"06\";jul=\"07\";aug=\"08\";sep=\"09\";oct=\"10\";nov=\"11\";dec=\
\"12\"}\r\
\n:local month (\$arrMonths->[:pick \$data 0 3])\r\
\n:local year [:pick \$data 7 11]\r\
\n:local file \"electric-cut_\$hours-\$min-\$sec_\$day-\$month-\$yea\
r.txt\"\r\
\n\r\
\n:do {\r\
\n /system clock\r\
\n :local itime [get time]\r\
\n :local hours [:pick \$itime 0 2]\r\
\n :local minsec [:pick \$itime 2 8]\r\
\n :local mhours [:tonum \$hours]\r\
\n :local msymbl \"am\"\r\
\n :if (\$mhours > 11) do={:set msymbl \"pm\"}\r\
\n :set mhours (\$mhours % 12)\r\
\n :if (\$mhours = 0) do={:set mhours 12}\r\
\n :if (\$mhours < 10) do={:set mhours \"0\$mhours\"}\r\
\n :local mtime \"\$mhours\$minsec \$msymbl\"\r\
\n :local data [get date]\r\
\n :local day [:pick \$data 4 6]\r\
\n :local month (\$arrMonths->[:pick \$data 0 3])\r\
\n :local year [:pick \$data 7 11]\r\
\n :local date \"\$day/\$month/\$year\"\r\
\n \r\
\n :local data1 \"****************************\\r\\n CORTE:\$date\
\\r\\n A LAS: \$mtime\\r\\n ELABORADO POR FRANK MU\D1OZ\\r\\n********\
********************\"\r\
\n /file\r\
\n :if ([:len [find where name=\$file]] = 0) do={print file=\$file; :de\
lay 5; set \$file contents=\"\"}\r\
\n set \$file contents=\$data1\r\
\n\r\
\n :delay 60s\r\
\n} while=(!\$stopRouterRun)" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-time=startup
add name="DESABILITAR HISTORIAL DE IPS" on-event=":delay 10ms \r\
\n/system scheduler disable [find where name=\"HISTORIAL DE IPs\"]\r\
\n\r\
\n# PARA DEVOLVER VARIALBES GLOBALES GUARDADAS\r\
\n\r\
\n/ip firewall layer7\r\
\n:foreach item in=[find where comment~\"^(array|bool|code|function|id|ip|\
ip-prefix|ip6|ip6-prefix|nil|nothing|num|str|time)\\\$\"] do={\r\
\n :local vname [get \$item name]\r\
\n :local vvalue [get \$item regexp]\r\
\n :local vtype [get \$item comment]\r\
\n /system script environment\r\
\n remove [find where name=\$vname]\r\
\n :if (\$vtype~\"^(array|ip|ip6|num|str|time)\\\$\") do={\r\
\n :execute \":global \$vname [:to\$vtype [/ip firewall layer7 get \
[find where name=\$vname] regexp]]\"\r\
\n } else={\r\
\n :if (\$vtype~\"^(bool|id|ip-prefix|ip6-prefix|nil|nothing)\\\$\"\
) do={\r\
\n :if (\$vtype=\"id\") do={:execute \":global \$vnam\
e [:toid \$[:pick \$vvalue [:find \$vvalue \"*\" -1] [:len \$vvalue]]]\"}\
\r\
\n :if (\$vtype=\"bool\") do={:execute \":global \$vnam\
e [:tobool \$vvalue]\"}\r\
\n :if ((\$vtype=\"ip-prefix\") or \\\r\
\n (\$vtype=\"ip6-prefix\")) do={:execute \":global \$vnam\
e [[:parse \\\":return \$vvalue\\\"]]\"}\r\
\n :if (\$vtype=\"nil\") do={:execute \":global \$vnam\
e\"}\r\
\n :if (\$vtype=\"nothing\") do={:execute \":global \$vnam\
e [:nothing]\"}\r\
\n } else={\r\
\n # vtype=\"code\" and vtype=\"function\"\r\
\n :log error \"Unknow variable >\$vname< of type >\$vtype<\"\r\
\n :execute \":global \$vname [/ip firewall layer7 get [find wh\
ere name=\$vname] regexp]\"\r\
\n }\r\
\n }\r\
\n :delay 10ms\r\
\n}\r\
\n" policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-time=startup
add name="HABILITAR HISTORIAL DE IPS" on-event=":delay 15m\r\
\n/system scheduler enable [find where name=\"HISTORIAL DE IPs\"]" \
policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-time=startup
/system watchdog
set watchdog-timer=no
EL DONCITO.