Community discussions

MUM Europe 2020
 
bigguns
Member Candidate
Member Candidate
Topic Author
Posts: 238
Joined: Thu Apr 01, 2010 9:03 am

Hotspot external page

Tue Jan 07, 2014 11:46 pm

Hi there
I have multiple hotspots at different sites, and at the moment I have a login page at each sure which I update files to each hotspot when needed.

I'm looking to move the local files to my main website / radius server along with the login field.

Is this possible to do and how do you get this to work when I am using DMA softlabs radius server.

So basically I want a simple redirect on the hotspot to an external site.
 
noib
Member Candidate
Member Candidate
Posts: 285
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: Hotspot external page

Wed Jan 08, 2014 6:54 pm

Hello

This is possible. Set up a hotspot on your Mikrotik device and redirect login requests to your website by changing the login.html file like this:
<html>
<head>
<title>Please wait</title>

<body onload='connexion.submit()'>

<h2 align=center><i>Please wait</i></h2>

<form name='connect' action='http://www.your_portal.com' method='post'>
  <input type='hidden' name='sip' value='$(server-address)'>
</form>

</body></html>
Of course, http://www.your_portal.com must be in the hotspot walled garden.

When the registration/login is complete, http://www.your_portal.com must redirect the client to the local hotspot page using a page like this
  <html>
  <head>
  <title>Please wait</title>
  <html><body onload='connexion.submit()'>
  <h2><i>Please wait</i></h2>
  
  <form name='connexion' action='$initial_login_URL' method='post'>
    <input type='hidden' name='username' value='$login'>
    <input type='hidden' name='password' value='$password'>
    <input type='submit' value='OK' name='OK'>
  </form>
  </body></html>
Where $initial_login_URL is the mikrotik hotspot address, which was passed in the $(server-address) parameter.


Another option is to get a mikrotik device online at your ISP, reachable from the internet, and create EoIP tunnels from your APs to your controller to redirect all client traffic.
 
nerdtron
Member Candidate
Member Candidate
Posts: 123
Joined: Sat Nov 30, 2013 7:49 am

Re: Hotspot external page

Thu Jan 09, 2014 3:08 am

 
coldspot
just joined
Posts: 5
Joined: Fri Aug 18, 2017 6:33 pm

Re: Hotspot external page

Fri Aug 18, 2017 6:43 pm

Hi there
I have multiple hotspots at different sites, and at the moment I have a login page at each sure which I update files to each hotspot when needed.

I'm looking to move the local files to my main website / radius server along with the login field.

Is this possible to do and how do you get this to work when I am using DMA softlabs radius server.

So basically I want a simple redirect on the hotspot to an external site.
Could you please help me in starting similar hotspot setup? I want to use radman and mikrotik. CTS for url logs of users. Can you give me your email. Will be very thankful.

Who is online

Users browsing this forum: No registered users and 84 guests