Post4VPS Forum | Free VPS Provider

Full Version: Automated website that create/signup vpn users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to know if you have these scripts that will create openvpn account using a signup website.. thanks in advance!
I don't know whether it exists, however I'm sure you could create one by yourself.

What I would do is:
- write a bash file, that creates the account
- then from php, run shell_exec(), exec() or the Symfony Process class to execute the file.
- Read the ovpn file and return it to the user.
You can try basing things from here https://github.com/deranjer/OpenVPN-PHP-Management-Gui
"OpenVPN System Based On User/Password Authentication with mysql & Day Control (shell script)- Debian" is a good point to start!
http://chagridsada.blogspot.com/2011/01/...rpass.html
this is not in a support forum.

topic locked.