A
A
Alexander2012-09-26 16:36:46
Mikrotik
Alexander, 2012-09-26 16:36:46

How to redirect using mikrotik via Wi-Fi?

Good day to all.
It is necessary to make it using mikrotik tools so that when a person connects to the router via Wi-Fi when accessing any page and through any browser, he will be redirected to my web server. How can I do that?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Stepan, 2012-09-26
@L3n1n

Alternatively, set your DNS to *

S
Stepan, 2012-09-26
@L3n1n

All requests redirect to port 3128

/ip firewall nat
add action=redirect chain=dstnat disabled=no dst-port=80 in-interface=bridge-lan protocol=tcp to-ports=3128

On 3128 Turn on proxy:
/ip proxy
set always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \
cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\
600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \
parent-proxy-port=0 port=3128 serialize-connections=no src-address=\
0.0.0.0

This method will redirect all requests to the Mikrotik proxy.

A
Alexander, 2012-10-01
Yankovskiy @Suncheez

Actually, there is a hotspot there that leads to local html, in which you can set a redirect to disney.com.

A
Alexander, 2012-10-12
@baltazorbest

The question is relevant again, as I thought, it didn’t work out - due to the fact that the referrer is not saved, who knows how to redirect to my web server while saving the referrer (which site a person visits).
Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question