diff --git a/README.md b/README.md index d1256a7..3dd663c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ ____ > * privileged rights > * [Python 3](https://www.python.org/downloads/) (tested version 3.9.5 on [Debian GNU/Linux 11](http://ftp.debian.org/debian/dists/bullseye/)) > * [cryptography](https://cryptography.io/) Python 3 module (tested version 41.0.1) +> * [requests](https://requests.readthedocs.io/) Python 3 module (tested version 2.31.0) > * Existing `status`, `server`, `ca`, `cert` options in [server.conf](https://openvpn.net/community-resources/reference-manual-for-openvpn-2-5/#options) | PARAMETERS | DESCRIPTION | DEFAULT | @@ -41,7 +42,7 @@ sudo systemctl restart openvpn@server ```bash # install dependencies -sudo pip install cryptography +sudo pip install cryptography requests # download sudo wget https://git.hmp.today/pavel.muhortov/openvpn-management/raw/branch/master/ovpn_status.py -O /etc/openvpn/server/ovpn_status.py sudo chmod +x /etc/openvpn/server/ovpn_status.py diff --git a/ovpn_status.py b/ovpn_status.py index 326a97a..a08604b 100644 --- a/ovpn_status.py +++ b/ovpn_status.py @@ -195,6 +195,7 @@ if __name__ == "__main__": description='OpenVPN server status parser', epilog='Dependencies: ' '- Python 3 (tested version 3.9.5), ' + '- Python 3 modules: cryptography, requests ' ) args.add_argument('-s', '--server_conf', type=str, required=True, help='path to OpenVPN server configuration file')