Answer the question
In order to leave comments, you need to log in
How to set up Iptables + DB and restrict access?
I 'm interested in the ability to restrict access to the Internet by MAC taken from the database (mysql, mariadb, etc.).
Probably, it is possible to write MAC to a file from the database and read from there. Can eat more humane methods?
Docks, good advice, anything :)
Answer the question
In order to leave comments, you need to log in
As usual, he got out himself. I spat on this option and made a call to the func.php file with a timeout curl. Everything starts spinning! Thank you all for participating!
Then the $_SESSION['ip'] array is reset, the ip.txt file is overwritten and everything stops
Нет, всё проще.. без radius )) но примерно такая же задача, - зареганным пользователям давать доступ :)
Или это намёк куда копать?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question