A small command line wrapper to alllow command line interaction with the popular OpenVPN installer script by Nyr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Miguel N. ccd1cda243 Update license 1 year ago
.idea UTF8 Encode file output 1 year ago
venv Add venv 1 year ago
.env Make process path dynamic 1 year ago
LICENSE Update license 1 year ago
README.md Update README 1 year ago
pyvpn Update os command call 1 year ago



Suitable for RasperryPI 3 Model B+ (tested on Raspbian NOOBS)


pyvpn --create-client [clientname]


This program requires the following libraries:



Only pexpect needs to be installed. Run pip install pexpect to install it.

Or if that didn't work, try easy_install pexpect


This script hasn't been tested for Windows use. It will, however, run in all distributions and RPI too. You need to have Python 3 installed for this to work.


Move the script to the scripts directory:

From the repository you just cloned,

Source the path environment variable: source ./.env

Then install the program: mv pyVPN.py /usr/local/bin/pyvpn

Confirm that the path echo $PYVPN_PROCESS_PATH is correct. If not, adjust the env file and resource.


All contributions are generally accepted! I'm grateful for any support and advice I might encounter. Thank you!

What it returns

The program will return a base64 encoded string of the client config file, for ease of transport across other programs. However, you can clean your terminal and look for the file in the /root directory.