Skip to main content

No project description provided

Project description

PyVpn

PyVpn project created using Python3.8 targetting users to reduce the load on the paloalto configured vpn gateway or endpoint for users where organization's routes all the traffic from the vpn gateway with best interest in mind for secure browsing however this indeed make things slower slower and slower !!!!!

Do NOT use this if your PC is not protected with latest antivirus / Operating System Patches in which case this may lead to significant impact due to malwares/Spywares/Virus.

Table of Contents

Installation

These instructions will help you get a copy of the project and use it for your own personal use

pip3 install PyVpn

Post module installation create configuration file .pyvpn.yaml in your home directory, Refer pyvpn.yaml.sample

Prerequisites

Python Module Dependencies

Other Dependencies

Example 1

  • For connecting to the vpn gateway, Default to Palo Alto Gateway
from PyVpn import PyVpn
vpn = PyVpn(debug=False)
vpn.start

Example 2

  • For disconnecting from the Palo Alto vpn gateway
from PyVpn import PyVpn
vpn = PyVpn()
vpn.stop

Example 3

  • For Generating encrypted password, Lets consider we are using unique key "U3CBrfcJqPLYbXHf2h5B5xmyx0px1a" as per the sample <PyVpn.yaml> config file
from PyVpn.source.crypt import Crypt
crypt = Crypt()
print(crypt.password.encrypt(password="Sample@123", key="U3CBrfcJqPLYbXHf2h5B5xmyx0px1a"))

Example 4

  • For Generating random encryption/decryption key
from PyVpn.source.crypt import Crypt
crypt = Crypt()
print(crypt.randomkey())

Author

ReleaseHistory

*1.2

  • ADD: KeyboardInterrupt Exception added
  • ADD: Typo errors in ReadME

*1.1

  • ADD: Moved to package based

  • ADD: support for encrypted password

  • ADD: Setup.py has been added

  • 1.0

    • ADD: Added palo alto support for MAC users

Contact

System Architect

Reach out to me at one of the following places!

License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE.md] file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvpn-1.2.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file pyvpn-1.2.tar.gz.

File metadata

  • Download URL: pyvpn-1.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for pyvpn-1.2.tar.gz
Algorithm Hash digest
SHA256 29f0da4352edfdfb464558b3b225c7c5669d647d8c213c3ae91639f52278bdc6
MD5 8f8e815c30785d28f0de238c1d4d1a92
BLAKE2b-256 135f3976c5ff4d5b9cc8ef15df86284dbcab021526d11de1440c0b91f852b4de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page