Hotspot with Home page redirect

I have setup the hotspot , it works fine,

but the guest want this : when they open the browser first time, they want to see the company home page one thime, so i modify the login.html for automation login, and work fine now ..

the question is , before they open the browse&see the home page,they can’t do anything with internet. eg. received mail via pop3

how can i make this : When the client connection to lan, they can use all port(like pop3, smpt, etc) but 80(browse),so when they open the browse, they will be redirect to the company home page

i try to setup the walled-garden, but it not work ,the code as below

# may/18/2006 12:07:59 by RouterOS 2.9.23
# software id = 45ZQ-5IN
#
/ ip hotspot walled-garden 
/ ip hotspot walled-garden ip 
add src-address=0.0.0.0/0 dst-port=!80 action=accept comment="" disabled=no

ANY HELP is very pleasure~!

I don’t believe this is how a hotspot works.

You can authenticate via MAC address and such, but then the hotspot won’t redirect the user to a web page to login first. If you want them to login via a web page, they must first login before anything else will work.

What you want to achieve can however be accomplished, but not by mikrotik alone

the walled-garden support free of using network resource, i can setup the user don’t need login before use the internet,

but now my customer need redirect the user to home page one time, so i modify the login.html for automatic login , and now the user open browser and will redirect to my cumstomer’s homepage,

What i think about is: Can i setup walled-garden for SRC Address = 0.0.0.0/0, Port=!80, then the user can use msn, yahoo message etc , before open the IE , but if they want to browse the internet via browser ( using Port 80) , then they will be redirect to login.html, and automatic login, then show the HOME page of my customer,

but the code doesn’t work property.

/ ip hotspot walled-garden ip add src-address=192.168.99.0/24 action=accept comment="" disabled=no

DOES I MISSING SOMETHING OR THIS IS THE BUG OF MT?


i lOVE rOUTERoS

I think a walled-garden is only HTTP… But try this

/ip hotspot walled-garden ip accept src-address=192.168.99.0/244 dst-port=!80 protocol=tcp

Not tested, I don’t use these features, I’m just taking a educated guess after reading http://www.mikrotik.com/docs/ros/2.9/ip/hotspot


C