Mikrotik Hotspot and External Captive Portal
Vložit
- čas přidán 29. 10. 2022
- Setting up hotspot with an external captive portal on Mikrotik. The code for the captive portal is given below:
github.com/splash-networks/mi...
Website: splashnetworks.co
Please visit our website if you'd like to hire us for a project or consult with us. - Jak na to + styl
thanks alot.....quite helping video explained well.... looking forward to more....🙂
You a star
Is it possible to include the "Trail" function as well? the code would be nice :)
Cannot add users in the mikrotik, so after the "connection", there is no redirection. Please can i get some help ?
This is very informative, do you have any insight on how you can implement one-time-use voucher during authentication
You could probably do that using FreeRADIUS
Hello, I really appreciate this video. I don't know if you'll see this comment but I tried following from github files in the description for the linux but for the mikrotik configuration I'm already confused and am really a beginner in this. Because I really want for the results to be display in the database and question if there are any tips or details I could obtain. Thank you
I'm new to this. I'm trying to understand something. Are you saying that the router comes with those file and access portals you used for the configuration. Any beginners guide video to start with the installation process and etc.
No, the router doesn't come with those files. Those files are setup in a web server on the cloud. I'm planning to create a video detailing the process of setting up that web server.
@@splashnetworksco please do. I will appreciate seeing a simple step by step of all process to the end. Thank you.
Hello! I did as you described. I also installed the MariaDB database, Phpmyadmin. сreated a user, created a database and a table, granted the user rights to this table, granted the user rights to this table, specified the necessary data in the configuration files, the file login.html uploaded it to my router. When I open the page, a message appears "Failed to connect to SQL. Access denied for user "@'localhost' (using password: NO)". What did I do wrong?
Hi please advise what radius server did you use ?
FreeRADIUS
Hello! In your example, a user provides first name, last name and email on the web portal. But RADIUS service requires username & password. When are they created in your example? And how does Mikrotik get them to insert in its RADIUS request?
Please check out the code in the provided repo: in connect.php the username and password are populated and submitted.
I want to do the same but SQL n web server training is not available?
You can follow the Github repository readme file which has reference to the relevant material.
Hi, can I know the router model you are using?
TP Link TL-WR1043ND
@@splashnetworksco the video says you are using a Mikrotik router? Is it the same on TP link?
How to add payment gateway to mikrotik hotspot login page
You can modify the PHP backend to add payment gateway integration using their API
Great job, how to apply password for login? thank you.
You can modify the PHP backend to add password feature
ᴘʀᴏᴍᴏsᴍ
Buy a mic please
you audio sound is bad
Hi. Thank you. Its great.
In public folder -> header.php has vendor folder and autoload.php. But can't see. And what is $dotenv ?
require 'vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . "/../");
$dotenv->load();
When you install composer it creates vendor folder.