Skip to main content

Tool for making life easy for people with more than one VPNs, with use of auto switching based on resolved hostnames and saved credentials

Project description

DieVPN

Tool that allows to switch between VPNs with ease and speed

image PyPI - Python Version Downloads

Supported

VPNs

  • AnyConnectVPN - Cisco
  • Tunnelblick
  • Viscosity

OS

  • MacOS
  • Linux (Debian, Ubuntu, ...)
  • Windows

Python

  • 3.7+

Installing

Install and update using pip:

pip install dvpn

or

pip3 install dvpn

How to set up with GUI

  • Use dvpn gui in terminal to add your VPNs, passwords and usernames are stored in plaintext so be sure to have disk encrypted.
  • If it seems applications is freezing, it is just side effect of compatibility solution on OSX and not using threaded connection/disconnection currently #TODO just wait it will finish
  • Please be patient and don't click multiple times on buttons in same time

How to set up with CLI

  • Copy template_secret.json to package/config/secret.json
  • Edit secret accordingly to json format and your credentials
  • Now you can use cli commands
  • Future Release will contain auto vpn resolve dvpn autoresolve

For Tunnelblick you must install tunnelblickctl

on macOS use:

brew tap benwebber/tunnelblickctl
brew install tunnelblickctl

How to set up Manually

  • Clone repository with git clone https://github.com/jiri-otoupal/dievpn.git
  • Install requirements with pip install -r requirements.txt (ignore / delete windows requirements pywin32 & wexpect if your pip is trying to install them)
  • Copy template_secret.json to package/config/secret.json
  • Edit secret accordingly to json format and your credentials

Usage

All commands need to be launched in os terminal not in Pycharm terminal

Access all functions through gui

dvpn gui

or CLI

Connect to VPN specified in config/secret.json

dvpn connect {name_in_credentials}

Disconnect from any currently connected VPN

dvpn disconnect

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

dvpn-1.1.10.tar.gz (139.5 kB view details)

Uploaded Source

Built Distribution

dvpn-1.1.10-py3-none-any.whl (147.6 kB view details)

Uploaded Python 3

File details

Details for the file dvpn-1.1.10.tar.gz.

File metadata

  • Download URL: dvpn-1.1.10.tar.gz
  • Upload date:
  • Size: 139.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for dvpn-1.1.10.tar.gz
Algorithm Hash digest
SHA256 2d69454e522a27cef14d8c034a44d13c3d0fe6120d7a5b56f0a629b2bc6b0bca
MD5 3ae1451fae4d26ef2279f77734dcb09a
BLAKE2b-256 84f5481a245ae020a3d72e4e9c2261cdf300637c38eca81c1ccde83fc1cff919

See more details on using hashes here.

File details

Details for the file dvpn-1.1.10-py3-none-any.whl.

File metadata

  • Download URL: dvpn-1.1.10-py3-none-any.whl
  • Upload date:
  • Size: 147.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for dvpn-1.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc981c93e911024ea939c54163dc964b8c8eb61337c2d739a16cd674167e488
MD5 b0549a64c421c35ae0b2b7bd92ab36aa
BLAKE2b-256 a24db4b770a7e305f1848582aec839933094904375cdca24f51f058f8a4c2d11

See more details on using hashes here.

Supported by

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