Community discussions

MikroTik App
 
cadryion
just joined
Topic Author
Posts: 12
Joined: Wed Nov 03, 2004 5:38 pm

walled garden for hotspot newbie need help! :)

Wed Nov 03, 2004 5:58 pm

hi,

I am using routerOS upgraded to 2.8.18. Configured the hotspot gateway by following exactly the guide Hotspot Step by step User Guide using DHCP-pool. Everything is working fine.

Now, I want to allow non-login user with temp hotspot ip to access a https server with a fix ip.

As a test to, I tried to use yahoo as if it is my fix ip server
/ip firewall mangle add dst-address=66.94.230.37/32 mark-flow=hs-auth

Then i try to surf to yahoo without login in to hotspot. It gives me a page could not be display. Can any one tell me what did i do wrong? very new to firewall. Please guide me step by step.
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Wed Nov 03, 2004 6:22 pm

First thought:
Yahoo (for example http://www.yahoo.com) has a lot more than only ONE ip address (load balancing etc.) - so you probably should try this for something easier where you definitely KNOW the ip address...
 
cadryion
just joined
Topic Author
Posts: 12
Joined: Wed Nov 03, 2004 5:38 pm

Thu Nov 04, 2004 11:43 am

Let me further detailed by testing environment.

internet hw router 10.5.6.1

1. mikrotik - 10.5.6.44/16
2. webserver - 10.5.6.25/16
3. client -WinXP

mikrotik n webserver n internet hw router on the same switch while client is peer to peer with mikrotik.

now instead of client login into hotspot i want it to be able to be able to surf to webserver 10.5.6.25/16

I did /ip mangle add dst-address=10.5.6.25/32 mark-flow=hs-auth

Testing
1. I did https://10.5.6.25/index.php but still get page could not be displayed.
2. I did http://www.yahoo.com , it brings me back to the login page.
3. I login hotspot and did https://10.5.6.25/index.php and saw my index.php page.

hmm... where did i went wrong? I suspect something to do with firewall.. but what? :(
 
cadryion
just joined
Topic Author
Posts: 12
Joined: Wed Nov 03, 2004 5:38 pm

Case Close :

Wed Nov 17, 2004 4:28 am

Topic closed!

Please refer to the solution in topic "how to access to https server without login to hotspot"

:)