Hello,
i have problem …How cnfigure Mikrotik for redirect users After the connection on Wifi.
- I dont need/want Hotspot login page, only redirect
Step by step:
- Users Connect to Mikrotik Wifi
- When open browser automatical open www.mysite.com
is that posible?
I use the MikroTik Router RB2011UiAS-IN
Sorry for bad English
Hi.
You can redirect your traffic to web-proxy.
First active it
/ip proxy set enabled=yes
Then create a rule to send all traffic to proxy
/ip firewall nat add in-interface=wlan1 dst-port=80 protocol=tcp action=redirect to-ports=8080 chain=dstnat
Create a access rule to allow traffic to your site, and then a rule all the traffic different go to your web-site
/ip proxy access
add dst-host=www.mysite.com
add action=deny redirect-to=wwww.mysite.com
Tnx for reply…but i get error:''in/out interface not possible when interface (wlan1) is slave- use master instead (bridge)
If your wlan1 interface belongs to a bridge you have to apply the rule in the bridge, cause have the layer 3 functionality
Ok, a have some results, positive…i have redirect in first open browser, but i have redirect also when try open another site.
tnx for your help
In this case, if you want to redirect to a site and then another site that the user want the answer is hotspot
Hotspot
… Maybe is better for me splash page… But again I d’not know how.
But have you ever try hotspot?.
It’s really simple, there are thousands of videos on youtube and the wiki documentation
https://wiki.mikrotik.com/wiki/Hotspot_server_setup
Tnx for help, i will try config hotspot with splash page