pyvpn/README.md

55 lines
1.2 KiB
Markdown
Raw Normal View History

#PyVPN
2019-09-10 17:59:11 +00:00
## Suitable for RasperryPI 3 Model B+ (tested on Raspbian NOOBS)
### Usage
2019-06-11 21:16:48 +00:00
``pyvpn --create-client [clientname]``
### Requirements
This program requires the following libraries:
``pexpect``
``base64``
Only ``pexpect`` needs to be installed. Run ``pip install pexpect`` to install it.
2019-06-11 21:22:03 +00:00
Or if that didn't work, try ``easy_install pexpect``
### Compatibilty
This script hasn't been tested for Windows use. It will, however, run in all distributions and RPI too.
2019-09-10 17:59:11 +00:00
You need to have Python 3 installed for this to work.
### Installation
Move the script to the scripts directory:
2019-06-11 21:16:48 +00:00
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.
### Contributing
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.
``/root/example.ovpn``
### Licensing
See ``LICENSE``