T
T
tmkbl2022-02-15 21:18:27
Mikrotik
tmkbl, 2022-02-15 21:18:27

How to organize the transfer of commands and data between Mikrotik and an external server?

I am making a captive portal on a vds server. Needed for authorization of Wi-Fi users, which distributes Mikrotik.
Those. when a user connects to the network, Mikrotik will redirect him to the page of an external vds server, where the user logs in, and the server will issue a command to Mikrotik to provide the Internet to the user.
Got a question. How can I do this very transfer of commands to Mikrotik from the server? If anything, Mikrotik does not have a white ip.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2022-02-15
@KingstonKMS

With the help of scripts, cron. Mikrotik has options for this.
On the server, you make an api that will give the user's status, and Mikrotik requests and performs the necessary actions.
How? There are enough examples of scripts on the Mikrotik website

D
Drno, 2022-02-15
@Drno

Mikrotik has a built-in hotspot. Which can do a lot of things, including Radius
Do it right through the built-in hotspot

A
Alexander Karabanov, 2022-02-15
@karabanov

HotSpot on Mikrotik with SMS authorization for compliance...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question