Command line tool to manage yvpn endpoints
Project description
yvpn
A CLI client to manage YOUR vpn.
Overview
The yvpn tool is a command line client that allows users to manage VPN endpoints by communicating with the yourvpn.info service.
Users can create, use, and destroy VPN endpoints at will. These endpoints are Virtual Private Servers that are created for the exclusive use of the user unlike other VPN providers where thousands of users share a single endpoint.
This tool is meant to be extensible. Beneath the hood SSH is used for the initial wireguard key exchange and future releases will allow users to quickly drop directly into a shell on the remote machine, perform file transfers, or remotely execute scripts.
This is not just a a tool for managing your VPN needs, but also a powerful resource for quickly deploying on demand services limited only by your creativity.
Installation
The quickest way to get up and running is to install the tool from pip:
pip3 install yvpn
You will need wireguard:
https://www.wireguard.com/install/
You need to set two environment variables:
-
The server url:
URL_yVPN="https://yourvpn.info" -
Your token:
TOKEN_yVPN="<token>"
Where to get tokens
Right now yvpn is in closed alpha. Tokens are available by invitation only.
What even is a token? Like an account?
No, we do not and will never offer accounts. Privacy is a core principal and we figure the best way to preserve user's privacy is to simply store zero user information. That's where Tokens come in.
Think of a token as a sort of prepaid calling card. Remember those good old days? Where you'd buy a calling card with however many minutes preloaded and then you had to call a 1-800 number from a payphone and enter the little code beneath the scratch off material? That's what our token model will be.
One day, once we're ready for a beta, there will be a simple storefront where you can buy a token preloaded with some amount of credit and off you go.
How will billing work then?
There will be no billing as in no invoicing. Your token's fund balance will be debited based directly on usage. If you don't have any endpoints running, you won't pay anything.
Overview of commands
yvpn clean
Destroys all of your endpoints and refreshes your wireguard keys.
yvpn connect
Connect to an endpoint. You can pass the name or number of the endpoint to connect to a specific one, i.e. yvpn connect 3, or automatically connect to the first one on the list without.
yvpn create
Create a new endpoint. You can optionally specify a specific datacenter, yvpn create lon1, see yvpn datacenters below, or create a new endpoint in a randomly selected datacenter by omitting the final argument.
yvpn datacenters
Displays a list of the currently available datacenters.
yvpn destroy <num>
Destroy the specified endpoint.
yvpn disconnect
Disconnect from the active endpoint.
yvpn status
Display a table of your endpoints with a number, name, location, and creation timestamp. Also displays your token's balance and expected depletion date at current usage.
yvpn admin
For users with an admin token, create, delete, and get tokens.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yvpn-0.2.0.tar.gz.
File metadata
- Download URL: yvpn-0.2.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.19.0-76051900-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
647dece9dab1086b4752dbf388ac28228cb5ac2cb2e3a68be26bb4b82d8faa4e
|
|
| MD5 |
1b36532ec162096baff20e3548240544
|
|
| BLAKE2b-256 |
7c9184d4d19eb42a91cbb201ab93814a137b0561d3e411c01b69468b4840a3c6
|
File details
Details for the file yvpn-0.2.0-py3-none-any.whl.
File metadata
- Download URL: yvpn-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.19.0-76051900-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f4f95d8a4180157f621cb345de607b1b5fb9402022adab398c4fc5eb09c3213
|
|
| MD5 |
c30ad68c7a2f52104388ffd2e5cbc3ea
|
|
| BLAKE2b-256 |
70f82a4c2b4c825ba1c93d19faedaf1fc2168e0668251631709e5bd51575541f
|