{ "info": { "author": "Cristian N\u0103v\u0103lici", "author_email": "cristian.navalici@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\nNordVPN Configuration Converter\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/nordvpn_converter.svg\n :target: https://pypi.python.org/pypi/nordvpn_converter\n\n.. image:: https://readthedocs.org/projects/nordvpn-converter/badge/?version=latest\n :target: https://nordvpn-converter.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/cnavalici/nordvpn_converter/shield.svg\n :target: https://pyup.io/repos/github/cnavalici/nordvpn_converter/\n :alt: Updates\n\n\nPurpose\n-------\n\nThe main goal of this small script is to convert the OpenVPN configuration files (provided by the NordVPN_ service) into\nNetworkManager compatible files.\n\n.. _NordVPN: https://nordvpn.com/\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://nordvpn-converter.readthedocs.io.\n* Requires python3\n\n\nFeatures\n--------\n\n* Bulk conversion done in a matter of seconds\n\n\n==============\nHow to install\n==============\n\n\nSystem-wide\n-----------\n\n.. code-block:: console\n\n pip3 install nordvpn_converter\n\n\nVirtual environment\n-------------------\n\n.. code-block:: console\n\n virtualenv --python=python3 nordvpn_converter\n cd nordvpn_converter\n pip install nordvpn_converter\n\n\nFrom sources\n------------\n\nThe sources for NordVPN Configuration Converter can be downloaded from the `Github repo`_.\n\nYou can either clone the public repository:\n\n.. code-block:: console\n\n $ git clone git://github.com/cnavalici/nordvpn_converter\n\nOnce you have a copy of the source, you can install it with:\n\n.. code-block:: console\n\n $ python setup.py install\n\n\n.. _Github repo: https://github.com/cnavalici/nordvpn_converter\n\n\n==========\nHow to use\n==========\n\n\nGrab the required files\n-----------------------\n\nIn order to generate the compatible NetworkManager files, you have to login to your NordVPN account, go for **My Account** section, **Download Area**, **Linux** and download *.OVPN configuration files* and *CA & TLS certificates*.\n\nAfter this, you're gonna end up with 2 archives, **config.zip** and **ca_and_tls_auth_certificates.zip**.\n\n\nCreate a new folder and unpack them there:\n\n.. code-block:: console\n\n mkdir ~/NordVPN_Data\n unzip -d ~/NordVPN_Data ~/Downloads/config.zip\n unzip -d ~/NordVPN_Data ~/Downloads/ca_and_tls_auth_certificates.zip\n\nLet's assume that you have now the following structure:\n\n.. code-block:: console\n\n ~/NordVPN_Data/CA\\ and\\ TLS\\ auth\\ certificates/*key\n ~/NordVPN_Data/CA\\ and\\ TLS\\ auth\\ certificates/*crt\n ~/NordVPN_Data/*.ovpn\n\n\nRun the conversion\n------------------\n\nThe regular help information is available:\n\n.. code-block:: console\n\n usage: nordvpn_converter [-h] [--source SOURCE] [--destination DESTINATION]\n [--certs CERTS] [--user USER] [-v] [--version]\n\n This is a simple conversion tool.\n\n optional arguments:\n -h, --help show this help message and exit\n --source SOURCE Source folder for ovpn config files\n --destination DESTINATION\n Destination folder for output files\n --certs CERTS Source folder for certificates\n --user USER Username used for the NordVPN connection\n -v, --verbose Verbose mode\n --version show program's version number and exit\n\nAnd based on our example:\n\n.. code-block:: console\n\n nordvpn_converter --source ~/NordVPN_Data --certs ~/NordVPN_Data/CA\\ and\\ TLS\\ auth\\ certificates --destination /tmp/output --user jbravo\n\nJust note that the *user* is not the local one, but the NordVPN one. The files will be automatically generated with the current local username.\n\nThe *ouput* folder will contain now a lot of NetworkManager compatible files.\n\nInstall the NetworkManager files\n--------------------------------\n\nMove the output files into NetworkManager connections folder and then process them.\n\n.. code-block:: console\n\n cp /tmp/output/* /etc/NetworkManager/system-connections\n chmod 600 *\n nmcli conn reload\n\nNow you should be able to see those connections also in the NetworkManager applet from your graphical environment.\n\n=======\nCredits\n=======\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n=======\nHistory\n=======\n\n0.1 (2016-11-28)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/cnavalici/nordvpn-converter/", "keywords": "nordvpn_converter", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "nordvpn-converter", "package_url": "https://pypi.org/project/nordvpn-converter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nordvpn-converter/", "project_urls": { "Homepage": "https://bitbucket.org/cnavalici/nordvpn-converter/" }, "release_url": "https://pypi.org/project/nordvpn-converter/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Conversion tool from OVPN files into NetworkManager compatible.", "version": "1.0.1" }, "last_serial": 2595757, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c164538375eef90634c35cc0529ad78f", "sha256": "c6b3c8e1797d5faa26ed8809ef829ebbad6a8b2bccfc442e66af01f60cc8c0ce" }, "downloads": -1, "filename": "nordvpn_converter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c164538375eef90634c35cc0529ad78f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15714, "upload_time": "2016-12-30T15:25:52", "url": "https://files.pythonhosted.org/packages/f6/a1/62fe0c9a204400ca235f94a80fc590618282fbd7a699851cddcaeb58c18d/nordvpn_converter-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6845d47b39f3194824f40166f84b8f52", "sha256": "3ed2fd564820b1205c1691bfd254f5552bf844429b8cb7bf77a159067b67b48b" }, "downloads": -1, "filename": "nordvpn_converter-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6845d47b39f3194824f40166f84b8f52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25173, "upload_time": "2017-01-24T18:05:09", "url": "https://files.pythonhosted.org/packages/07/f9/14fba8e4a394667e4c347a0c98f7a1fa213cd5aaed99b8bb1eb3658448c0/nordvpn_converter-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6845d47b39f3194824f40166f84b8f52", "sha256": "3ed2fd564820b1205c1691bfd254f5552bf844429b8cb7bf77a159067b67b48b" }, "downloads": -1, "filename": "nordvpn_converter-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6845d47b39f3194824f40166f84b8f52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25173, "upload_time": "2017-01-24T18:05:09", "url": "https://files.pythonhosted.org/packages/07/f9/14fba8e4a394667e4c347a0c98f7a1fa213cd5aaed99b8bb1eb3658448c0/nordvpn_converter-1.0.1.tar.gz" } ] }