Community discussions

MikroTik App
 
gtov8
just joined
Topic Author
Posts: 3
Joined: Mon Jan 15, 2007 4:29 am

monitor hotspot remotely

Mon Jan 15, 2007 4:42 am

login to hotspot remotely

I've been playing with this and can't get it to work. Any ideas?

On a MT RB I have ether1 and an sr2 ap as a hotspot.

I set up a route from public ip 72.xxx.xxx.10 to the sr2 gateway at 10.2.2.1

Then set up a firewall rule to allow port 888 on 72.133.133.10 to go to port 80 on 10.2.2.1

I tried going to »72.xxx.xxx.10:888 but I get nothing.

We would like to port into the hotspot so we can see exactly what a hotspot user is seeing.

Any clues as to what else I need to do in the MT to get this to work?

[these are not xxx adult sites ...haha]

Thank you.
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Mon Jan 15, 2007 6:55 am

port 8081 is the replacement for port 80 when your running a hotspot. Well it has been for me anyway.
Just add :8081 after the IP in winbox.
 
gtov8
just joined
Topic Author
Posts: 3
Joined: Mon Jan 15, 2007 4:29 am

Mon Jan 15, 2007 3:46 pm

Nope that 8081 thing doesn't work.

I'm trying to use my browser from off-net via the internet to log into remote MTs to link to their hotspot APs as though I were a local hotspot user. I want to see what each hotspot user sees but I am not physically at the MT, I'm across the country.

I have a route and a firewall entry to go from the internet port on ether1 to the gateway on the hotspot, but I'm not getting connected. I don't get any reply in the browser.
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Mon Jan 15, 2007 6:26 pm

OH!, So you can login to the MT but you can't get to the AP's that are connected to the Hotspot interface.
Have you tryed seting up a tunnel?
Do the AP's have the same IP range as the Hotspot customers or do they have their own IP range?
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Wed Jan 17, 2007 5:55 am

Sorry for not reading your post fully.
You want a way to see the hotspot pages as the users will when they login.

I have been playing around with that for a bit tonight and no luck so far.
I've tryed all kinds of crazy things to make it work.
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Wed Jan 17, 2007 6:00 am

if you bridge the tunnel interface to the wireless interface and create the appropriate routes in the routing tables, this should theoretically work.

You may have to put the hotspot up on the bridge instead of the wireless interface.
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Wed Jan 17, 2007 7:29 am

Well I get this with a pptp tunnel.

ERROR: unknown MAC address for 10.10.10.250

Login page: http://10.5.50.1/login
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Wed Jan 17, 2007 6:21 pm

I unchecked the Auth. Requires MAC and now it works.

Tonight I will set it up using a EoIP tunnel because I think that will be a better way to do it with out all the treicks to make it work.
 
gtov8
just joined
Topic Author
Posts: 3
Joined: Mon Jan 15, 2007 4:29 am

Fri Jan 19, 2007 5:57 am

Are you saying that doing what you did allowed you to use a web browser to log in to the hotspot and get the html login screen? Can you go over the exact settings you used please? Anxiously awaiting the rest of your test.
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Fri Jan 19, 2007 5:06 pm

Yes it did, but I was doing it on 2.8.28 and some people are saying that it won't work on 2.9.39 so I have to try it on new box to make sure the thing works the same. I will post a howto after that.

Also a guy in DSL reports forum posted this.

Answer from Mikrotik:
The only way how to do it is enable the hotspot on the ether2 and specify one IP to use hotspot and other IPs will be bypassed.

/ip hotspot add name=pub-test interface=ether2
/ip hotspot ip-binding add server=pub-test address=1.2.3.4
/ip hotspot ip-binding add server=pub-test \
address=0.0.0.0/0 type=bypassed
/ip hotspot enable pub-test

From IP 1.2.3.4 you will be able to open the hotspot login pages.
Hope this helps.

Who is online

Users browsing this forum: Google [Bot] and 8 guests