PPTP using MySQL Authentication

Avg Bid (USD)
Project Budget (USD)
$30 - $50

Project Description:
Please read and understand first before you bid this project.

I have VPS with OpenVPN installed and it's running good. The OpenVPN access is authenticate using MySQL. All the details of the users are saved inside the database (username, password, duration, etc). So right here I would like to install the PPTP alongside the OpenVPN. I managed to install it and get it working already. However, the authentication of that PPTP is only based on username & password. I cant limit the user account using the duration.

I try to have PPTP working like OpenVPN. The sequence should be like this:
1. User try connect to the server through PPTP
2. The server will look into the MySQL database for the account with the correct username, correct password and duration > 0
3. If all the details are true, the PPTP will connect, otherwise it will reject the connection.

I've heard that we can use Radius to authenticate PPTP using MySQL, but again, same reason, it will only ask for username & password, not the duration.

Basically I would need someone to make the above request fulfilled and teach me on how to do it. I will pay you completely when it is completely working and I fully understand how to do it for later times.

Skills required:
Linux, MySQL, PHP, VPS
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 53
in 2 days
$ 473
in 6 days
$ 77
in 2 days
$ 103
in 5 days
Hire ashishicfai
$ 43
in 5 days
Hire LinuxScript
$ 55
in 2 days
Hire x1b2j
$ 45
in 2 days
Hire codesmark
$ 55
in 2 days
$ 45
in 3 days