E
E
Edward2015-11-21 23:30:17
Computer networks
Edward, 2015-11-21 23:30:17

How to show your 404 page in Mikrotik?

Hello. You can redirect to your page using the Mikrotik itself, if the page header is 404. I think this is implemented through the L7 protocol or a web proxy is implemented. But is it even possible?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
palex145, 2015-11-24
@palex145

yes, you can create rules like:
/ip firewall nat
add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8081 comment=”REDIRECT 80 na-INFO”
and one more
/ip proxy
set enabled=yes
set port=8081
access
add action=deny disabled=no local-port=8081 redirect-to="my.site address/and_type_full_link"

C
Cool Admin, 2015-11-30
@ifaustrue

Want something weird. At all. And not even because it is somehow difficult to implement, just the purpose of your task is completely incomprehensible. Servers return errors for absolutely no reason, you don’t need to block them with anything =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question