Skip to main content

A simple CLI app to run Outline VPN

Project description

PyOutline: CLI app to start Outline VPN keys

With PyOutline you can easily run ShadowSocks proxy from the Outline keys.

Installation

PIP (PyPI)

pip install pyoutline

With clone from GitHub

git clone https://github.com/NonProjects/pyoutline
pip install ./pyoutline

Requirements

You will need ShadowSocks. Install it via PIP:

pip install https://github.com/shadowsocks/shadowsocks/archive/5ff694b2c2978b432918dea6ac104706b25cbf48.zip

You can also install it via your packet manager if you're on Linux:

apt install shadowsocks-libev # Debian 11

Usage

The "How to use" is pretty simple:

pyoutline client -k "ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.outline.network:8118"

If you want to transform Outline Key into the ss-local string:

pyoutline to-ss -k "ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.outline.network:8118"
# ^ ss-local -s "ak1344.free.www.outline.network" -p 8118 -k "cdBIDV42DCwnfIN" -m "aes-256-gcm" -l 53735

Set your own port or ask system to set the free one

pyoutline client -p 50000 # Set port 50000, script will ask you for Key
pyoutline client -r # Get a random port, script will ask you for Key

You can also specify keys from the file. First working Key will be used:

pyoutline client -k /home/user/outline_keys.txt

The insides of the file with keys should be placed like this:

ss://YWVzLTI1Ni1nY206Y2RCSURWNDJEQ3duZklO@ak1344.free.www.outline.network:8118
ss://YWVzLTI1Ni1nY206VEV6amZBWXEySWp0dW9T@ak1343.free.www.outline.network:6679
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpHIXlCd1BXSDNWYW8=@ak1338.free.www.outline.network:810

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

pyoutline-0.3.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file pyoutline-0.3.1.tar.gz.

File metadata

  • Download URL: pyoutline-0.3.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for pyoutline-0.3.1.tar.gz
Algorithm Hash digest
SHA256 181acf039b7bbe1a3f227cf7dd1e8ae69d581fae4ec2639fd271b4a851527302
MD5 e2d95f82560b5fa20881754351e3d427
BLAKE2b-256 807bb03ad1ac9616fb8c2f8be1e6b095a58172429cd9729e5859b4fb0bded09d

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