I have simple question

i wont to disable automatic redirect to login page!
i have two MT and a few web servers, how to setup to disable redirect? i wont manual go to loging…

ps. sory for my english

any? :frowning:

Add server to ‘ip hotspot ip-binding’ list.

ip hotspot ip-binding add address=Web_Server type=bypassed

hm, whit this rule I solwed web server, but i cant access to outher MT hotspot :frowning:

What do you mean by outher MT HotSpot ?

two MT and two hotspot,
-first is V 2.8 (remove firewall rule for redirect) and if user not connect redirect not work, when I tape http://www.example.com
-secund V 3.7 all rule in firewall is dinamic, and if user not connect (on HS) and I tape http://www.example.com and mt redirect me to loging page… i want disable that…

i hope yuo understand me… :frowning:

-secund V 3.7 all rule in firewall is dinamic, and if user not connect (on HS) and I tape > http://www.example.com > and mt redirect me to loging page… i want disable that…

What is the purpose of HotSpot then ?
Do you want to disable redirect for all clients or only specific one ?

for all client!

why do you need hotspot at all? login page is the most important feature of hotspot. if you don’t want it - just turn off hotspot :slight_smile: please clarify the purpose in mode details, because we seem to not understand your idea

pictures maybe help :slight_smile:
http://www.postimage.org/image.php?v=Pq1Hk4z9
and if wireless bracke any reason, client can tape HS2 address and login :wink:

I don’t know why do you think that HS can not be used in my case? I usually use all his benefits, I just don’t want that user who isn’t conected to be automaticly transfered to loging page when he tipe any adrress in his browser.

I think that you need to switch to MAC-Address authentication, that will avoid HotSpot user from entering username and password into login page.

By default HotSpot is working in the following way,

  • user is trying to open web-page in Internet;
  • Hotspot is enabled, login page is given;
  • user should enter username and password, before access to the Internet will be available.

Currently you have login-by=http-chap option, that brings login page every time unauthorized user is connecting to public networks. Change it to login-by=mac, add user’s mac address to ‘ip hotspot user add name’.
Then all HotSpot networks clients will be authorized automatically, when HotSpot router will see them.

I don’t think that it is ok for me, because in that case user could not be able to choose on which gateway he will exit! my network in configurate in that wy that user can choose by himself on which gateway he want to exit, for example: user@1 (user profile 1 - mark packet and linening rute table) is going on the gateway which is in the rut table RUTETABLE 1, the same user can exit on gateway which is in RUTETABLE 2 if he log as user@2 (user profil 2),
with authorisation given by mac adrress to put down the choice of user, which is very important to me!

So on your network you have 2 gateways
what about DHCP server and ip adress of each gateway ?

Veki,

I don’t think that it is ok for me, because in that case user could not be able to choose on which gateway he will exit! my network in configurate in that wy that user can choose by himself on which gateway he want to exit, for example: user@1 (user profile 1 - mark packet and linening rute table) is going on the gateway which is in the rut table RUTETABLE 1, the same user can exit on gateway which is in RUTETABLE 2 if he log as user@2 (user profil 2),
with authorisation given by mac adrress to put down the choice of user, which is very important to me!

and

-secund V 3.7 all rule in firewall is dinamic, and if user not connect (on HS) and I tape > http://www.example.com > and mt redirect me to loging page… i want disable that…

You need user to login, but you want to disable it ?


Please, be more specific

  • whether you need to disable login page for specific user,
  • whether you need to disable HotSpot login page for all users;

Mac-address users use the same ip hotpsot user table, where you can use different profiles for different users.
For MAC-address authentication user1 is MAC-address1 of user1, user2 is MAC-address2 of user2.

I suggest you to go study this document, it will give you a lot of knowledge about Hotspot operation
http://www.mikrotik.com/testdocs/ros/2.9/ip/hotspot.php

my network have 5 gateways,


user@(1)(2)(3)(4)(5)----if (1)----- mark pacet and got to table ROUTE TABLE 1— gateway---- ADSL1
----if (2)----- mark pacet and got to table ROUTE TABLE 2— gateway---- ADSL2 ------ MT1
----if (3)----- mark pacet and got to table ROUTE TABLE 3— gateway---- ADSL3 /

----if (4)----- mark pacet and got to table ROUTE TABLE 4— gateway---- ADSL4
------ MT2
----if (5)----- mark pacet and got to table ROUTE TABLE 5— gateway---- ADSL5 /

maybe you want it like this:

user opens browser - internet is not working. user enters IP of Hotspot1 OR Hotspot2 - by choice of user. Then internet works through the chosen hotspot gateway.

If yes - well sorry, but it’s not possible

veki, now you are using ‘ip hotspot user’ and different ‘ip hotspot user profile’ right ?
The same profiles you can use for Mac-Addresses.

yes like that :frowning: