Re: Página de manutenção no Mikrotik sem usar servidor
Resolvi assim
===========================================================
linkup
/ip firewall nat disable [find comment="MANUTENCAO"]
/ip hotspot set [/ip hotspot find name=hotspot1] profile=hsprof1
---------------------------------------------------------------------
linkdown
/ip firewall nat enable [find comment="MANUTENCAO"]
/ip hotspot set [/ip hotspot find name=hotspot1] profile=default
log error "Servidor Sem Link"
==============================================================
/ip firewall nat
add action=redirect chain=dstnat comment=MANUTENCAO disabled=yes dst-port=80 hotspot="" \
protocol=tcp to-ports=64873
add action=masquerade chain=srcnat comment="masquerade hotspot network" disabled=no src-address=\
172.16.0.0/24 to-addresses=0.0.0.0
==============================================================
Só tem de editar o profile=default com a pasta manutanção onde o LOGIN.HTML e o STATUS.HTML são as páginas de manutenção
Re: Página de manutenção no Mikrotik sem usar servidor
kd os arquivos para download? pagina de manutencao?