PHP based PPP manager
Overview
I was working on creating a very simple PHP based Mikrotik Panel for administration of PPP Secrets. I have created many functions which are working fine for the administration of PPP Secrets.
Here I will share those PHP Scripts and will also let you all know how to make them work.
The main thing of these scripts is that you do not require any SSH-Keys or Password less login to make it work. I have used a very extensive SSH library for PHP which I found over internet. Now you only have to create a user on Mikrotik and set credentials for that user in PHP file and that will work.
This script also maintains a MySQL Database with the information of users. So it will become very easy for any one to make a custom report based on their criteria.
I would like to request all that please preserve the Footer as that is the only part where I have mentioned My name as the developer.
You are free to modify or alter any other part of any of the scripts.
Currently following features are present in these scripts, more will be added if I get time.
- Creating New User ( PPP->Secret + MySQL ).
- Searching User ( this is only from MySQL ).
- Show a list of all users ( PPP -> Secret ).
- Delete User ( PPP->Secret + MySQL ).
- Enable User ( PPP->Secret ).
- Disable User ( PPP-> Secret ).
- Change User Password ( PPP->Secret + MySQL), while changing old password is required.
- Live Monitor Online Users ( PPP->Active Connections ).
- Show User Stats ( Show Online Users Stats from Queue->Simple ).
- Monitor Specific Users Stats.
It has a very simple look, which you can edit by creating your own custom CSS.
