Skip to main content

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/)(https://www.wireguard.com/install/)

You need to set two environment variables:

  1. The server url: URL_yVPN="https://yourvpn.info"

  2. 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.

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

yvpn-0.1.1.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yvpn-0.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file yvpn-0.1.1.tar.gz.

File metadata

  • Download URL: yvpn-0.1.1.tar.gz
  • Upload date:
  • Size: 21.3 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

Hashes for yvpn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0832a2b5e59070efacd8ea624aa7b3bb1f2b35d450b29bd2535dbac054df1bdc
MD5 74b4c26f8527fcc76ace99bb780878fc
BLAKE2b-256 35b6998aa4648ec39b026780ee65eb4acd8344ed44224ed4fb04d504d4f2a2e6

See more details on using hashes here.

File details

Details for the file yvpn-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: yvpn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 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

Hashes for yvpn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c79092894f2172ab641c540277a5149b09722ef8ebd1cdb94990f5fa1887094b
MD5 a1eb92ddcf4ecc63399d69dc3f21a85d
BLAKE2b-256 1f369925b2b9ffc2c776175319dc368e3f8f2470dedfbd17ceeae8910551745a

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