Skip to main content

Elephant socks5 tunnel client

Project description

elephant-socks5-client-py

python client of Elephant(L4) tunnel for SOCKS5 empowered by py-netty.

Elephant Server should be deployed first, which is a L4 tunnel server designed to provide a secure and high-performance tunneling solution for TCP traffic.

Installation

pip install elephant-socks5 -U

Usage

$ elephant -h
Usage: elephant [OPTIONS]

Options:
  -p, --port INTEGER             Local port to bind  [default: 1080]
  -g, --global                   Listen on all interfaces
  -s, --server TEXT              Elephant tunnel server URLs (like: ws[s]://localhost:4443/elephant/ws)  [required]
  -a, --alias TEXT               Alias for the client
  -q, --quiet                    Quiet mode
  -esp, --enable-shell-proxy     Enable Shell proxy
  -erp, --enable-reverse-proxy   Enable reverse proxy
  -rpo, --reverse-proxy-only     No SOCKS5 server, only for reverse proxy
  --reverse-ip TEXT              Reverse proxy IP
  --reverse-port INTEGER         Reverse proxy port  [default: -1]
  --no-reverse-global            Reverse proxy listen on localhost
  -l, --log-record               Save log to file (elephant-client.log)
  -t, --request-timeout INTEGER  Session request timeout (seconds)  [default: 3]
  --no-color                     Disable color output
  -v, --verbose                  Verbose mode
  -n, --tunnels INTEGER RANGE    Number of tunnels to achieve load balance  [default: 1; x>=1]
  --proxy-ip TEXT                Proxy IP
  --proxy-port INTEGER           Proxy port  [default: -1]
  --version                      Show the version and exit.
  -h, --help                     Show this message and exit.

User Cases

forwoard proxy reverse proxy shell proxy socks5 proxy

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

elephant-socks5-0.0.30.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

elephant_socks5-0.0.30-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file elephant-socks5-0.0.30.tar.gz.

File metadata

  • Download URL: elephant-socks5-0.0.30.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for elephant-socks5-0.0.30.tar.gz
Algorithm Hash digest
SHA256 9ebd95f6c41f4c053a4680f2e1eb713f0122db96bd56e7e63c7cbd4b01926094
MD5 1078060cf8ca1dbd8b6a235650a2378f
BLAKE2b-256 2c38ab03357cd6641727124f684fb2ffe28f506c1f70c8792ac99646ad532028

See more details on using hashes here.

File details

Details for the file elephant_socks5-0.0.30-py3-none-any.whl.

File metadata

File hashes

Hashes for elephant_socks5-0.0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 8872472c4c4b4f4ae10a23e15f4c3faf48c4b848f15cf5a201990b2ffcb5c571
MD5 e39ee4ea4f5171e725cc4d3d292661bf
BLAKE2b-256 b92e1fd4c5bed8aa9cee61239b0dc803c67f9d408dd0947ab439bd3058b011ba

See more details on using hashes here.

Supported by

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