Community discussions

MikroTik App
 
sirmax
just joined
Topic Author
Posts: 13
Joined: Wed Mar 13, 2013 12:39 pm

run web server and php (python, ruby etc) on Mikrotik

Wed Mar 13, 2013 1:53 pm

Hi!

I would like to create my own auth page for every SSID on my Access Point.

E.g. new-connected user should be redirected to web-page to read "how to use?" or something like that, and press button.
On this "button press" I would like to add rule allowing this user to use service.

I would not like to use ANY external server.
Example is just example - I'd like to have it much more complex. May be I will use external DB? may be not, check user's mac address etc.

Could you please say me is it possible?

The main idea is DO NOT use external Linux box.
PHP/Ruby/Python are OK as script language for me.


BTW,
Are there any instructions how to create my own package for MikroTik?
 
User avatar
jgellis
Member Candidate
Member Candidate
Posts: 140
Joined: Wed May 30, 2007 10:57 am
Location: USA

Re: run web server and php (python, ruby etc) on Mikrotik

Thu Mar 14, 2013 11:15 pm

Mikrotik's built in Webbox and Hotspot portal are not full blown web servers. You cannot run PHP/CGI/etc. from within.

External server is your only choice to accomplish this.