Post4VPS Forum | Free VPS Provider
Automated website that create/signup vpn users - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: Automated website that create/signup vpn users (/Thread-Automated-website-that-create-signup-vpn-users)



Automated website that create/signup vpn users - XtremeBasic - 11-20-2015

I would like to know if you have these scripts that will create openvpn account using a signup website.. thanks in advance!


RE: Automated website that create/signup vpn users - RickB - 11-20-2015

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.


RE: Automated website that create/signup vpn users - Conan - 11-22-2015

You can try basing things from here https://github.com/deranjer/OpenVPN-PHP-Management-Gui


RE: Automated website that create/signup vpn users - SnoOpy - 01-11-2016

"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/openvpn-system-based-on-userpass.html


RE: Automated website that create/signup vpn users - perry - 01-15-2016

this is not in a support forum.

topic locked.