Custom Authentication for MikroTik Wireless Authentication

Hi!

I am new to MikroTik. I want to use MikroTik for connection to my Wireless Network. I see that I can set a WPA password or setup a RADIUS Server for Authentication. Is there a simpler way then a Radius Server, i.e. a custom software which can check for Authentication and response to MikroTik as authenticated or not?

I am actually looking for something like Sonicwall’s LHM scripts. There you are redirected to a so called “Auhtentication Server” (AS), whereby Sonicwall submits “MAC,IP,SessionId,SSID,.. etc” to the AS as HTTP/GET. AS is responsible of showing a login page and checks for authentication in its own procedures. If user is authenticated, AS sends a HTTP/POST to the Sonicwall Router the “SessionId, MAC, IP etc…” as authenticated. Thereafter the user can access internet.

I am a Delphi and C# .Net developer myself. I would be glad to write my own Authentication Routine. But don’t want to deal with Radius Servers.

Any help would be highly appreciated.

Best,
-Mamaci

You can write your own radius server: application, which listens on UDP port, parses Radius requests and sends radius responses. Formats of radius messages can be found in RFC 2865, 2866, 2869, 3162. RFC 5176 for CoA. There should be ready-to-use API in C#. At least there is API for PHP.

hi,
i have a trouble , i have the api for php but i dont know how i can to send a command to disable and enable with some ip address i have mikrotik but i use that with a interface, i need to change that to use it in a web page