py-openvpn

Python wrapper of openvpn.


License
MIT
Install
pip install py-openvpn==0.1.7

Documentation

py-openvpn

Usage

The local openvpn configuration files will be stored at ~/.py-openvpn/APP_NAME/.

  • auth credentials file ~/.py-openvpn/APP_NAME/auth.conf
  • server configuration file ~/.py-openvpn/APP_NAME/vpnconf.conf

Initialize the class instance with your application context.

from pyopenvpn import PyOpenVPN

client = PyOpenVPN('APP_NAME')