Hardware / Devices: “A” cloud computer contains MySQL database server and PHP based Web Application. “B” internet router installed at client end.
Working Overview: a user connects to public access point which takes user to a specific web page retrieved from “A” cloud computer which appears a form containing name and mobile number. When customer submits their detail, a cloud computer generates a random key which will be sending to user. The same key customer needs to put on their device in order to use an internet.
Cloud “A”:
a) Cloud will contain the database where user name and mobile number will be store.
b) Contain the temporary PIN to authentic user to initiate a internet session
c) Contain the template and form which will appear to connected user to public access point
d) Contain a HTTP API which will retrieve data from MikroTik Router “B”
e) Contain a time session, bandwidth limit and other details to handle internet service
MikroTik Router “B”:
a) Connected in between DSL/Internet Gateway and Wi-Fi Access Point to work as a master device to connect with Cloud “A”
b) This device will work as gateway between User (connected to W-Fi) and Cloud “A”
c) We will point a specific URL (API) into the Router “B” which will send/receive data to Cloud “A”. This device will store nothing, only transmit data from wi-fi device to cloud.
d) Send temporary pin to Cloud in order to authenticate temporary PIN to start internet
Now Cloud A is what I have completed on my end and what I need is router b mikrotik to be scripted as per my need.
Note: if any onehas an alternative please update or i should be looking somewhere else. this is the best i think which mikrotik can do.
Thanks