deranjer / openvpn-php-management-gui Goto Github PK
View Code? Open in Web Editor NEWOpenVPN-PHP-Gui is a php script to manage your openvpn installation.
License: MIT License
OpenVPN-PHP-Gui is a php script to manage your openvpn installation.
License: MIT License
I have my SSH port off 22, to prevent brute-force attacks.
The install script currently does not permit me to change the ssh port.
Hi,
allow using ssh2 with private key to connect the root account on install.php
No /etc/openvpn/easy-rsa/2.0/openssl-1.0.0.cnf file could be found
Further invocations will fail
Manually copying the file into the directory (from /etc/openvpn/easy-rsa/2.0/tmp/openssl-1.0.0.cnf) works
There is code here: http://phpseclib.sourceforge.net/x509/guide.html#casigned which can be adjusted to match what we'd need. This would reduce the reliance on the ssh commands, as more stuff can be run from the PHP session before offloading the certificate contents.
Hello, im trying to use it but i have this error :
on my ubuntu i have installed in command line 👍
sudo apt-get install openvpn
and am going on :
http://192.168.1.1/OpenVpn/install.php
Checking Required Elements
Checking bin file status......
Checking config folder status......
Okay! Bin file found at /usr/sbin/openvpn
Okay! Config folder found at /etc/openvpn/
Config File and Key Operations
Checking for config file......
Checking for key directory......
Checking for ca keys......
Checking for server keys.....
Checking for pkitool.....
Checking for openssl.cnf.....
Error! Unable to locate config file in /etc/openvpn/
Warn! Non Critical.... Unable to locate key directory in /etc/openvpn/ or /etc/openvpn/easy-rsa/2.0/keys
Warn! Not Critical! CA key not found. (looking for .key)
Error! CA crt file NOT FOUND!. (looking for )
Error! Server key NOT FOUND! (looking for )
Error! Server crt NOT FOUND! (looking for )
Error! Not found... attempting to copy from /usr/share/doc/openvpn/examples/easy-rsa/ to /etc/openvpn/
sudo: pas de tty présent et pas de programme askpass spécifié Sorry, try again. sudo: pas de tty présent et pas de programme askpass spécifié Sorry, try again. sudo: pas de tty présent et pas de programme askpass spécifié Sorry, try again. sudo: 3 incorrect password attempts Checking for errors!..
Fatal Error! PKITOOL copy failed! PKITOOL NOT FOUND!
You need to manually discover what the issue is and copy PKITOOL to /etc/openvpn/easy-rsa/2.0/
Then re-run this script.
what do u think please ?
Just checked with old Debian6 - its working from scratch but with 8.0 is compeletely wrong. Is project abandoned or possible to take a quick look to adopt it for current Debian/Ubuntu?
Notice: Undefined index: action in /var/www/ovpn/session.php on line 2
Checking Required Elements
Checking bin file status......
Checking config folder status......
Okay! Bin file found at /usr/sbin/openvpn
Okay! Config folder found at /etc/openvpn/
Config File and Key Operations
Checking for config file......
Checking for key directory......
Checking for ca keys......
Checking for server keys.....
Notice: Undefined variable: ca_values in /var/www/ovpn/install.php on line 123 Notice: Undefined variable: key_values in /var/www/ovpn/install.php on line 126 Notice: Undefined variable: crt_values in /var/www/ovpn/install.php on line 127 Warn! Non Critical.... Unable to locate key directory in /etc/openvpn/ or /etc/openvpn/easy-rsa/2.0/keys
Notice: Undefined variable: config_file_found in /var/www/ovpn/install.php on line 169 Error! Unable to locate config file in /etc/openvpn/
Notice: Undefined variable: ca_key_found in /var/www/ovpn/install.php on line 186 Warn! Not Critical! CA key not found.
Notice: Undefined variable: ca_crt_found in /var/www/ovpn/install.php on line 190 Error! CA crt file NOT FOUND!.
Notice: Undefined variable: server_key_found in /var/www/ovpn/install.php on line 194 Error! Server key NOT FOUND!
Notice: Undefined variable: server_crt_found in /var/www/ovpn/install.php on line 198 Error! Server crt NOT FOUND!
Notice: Undefined index: action in /var/www/ovpn/install.php on line 247 Notice: Undefined variable: server_crt_found in /var/www/ovpn/install.php on line 276 Notice: Undefined variable: ca_key_found in /var/www/ovpn/install.php on line 278 Notice: Undefined index: action in /var/www/ovpn/install.php on line 278 Notice: Undefined variable: server_crt_found in /var/www/ovpn/install.php on line 278 Notice: Undefined index: action in /var/www/ovpn/install.php on line 284 Notice: Undefined variable: server_crt_found in /var/www/ovpn/install.php on line 284
One or more critical errors found, will need to run initial setup!
Start Initial Setup
What's going wrong?
Subj :-) I suppose, closing one but maybe somewhere else.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.