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.29.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for elephant-socks5-0.0.29.tar.gz
Algorithm Hash digest
SHA256 cb39aae334f7d76603437be35900b4b582691bd7ecbd317e1d5c6a63831baee2
MD5 8ededb2c301d2458725fe53897cc194b
BLAKE2b-256 777708617c2ea5ee5a5a93d3999c4cde42ea2bcc12f289628ad536ba0c7de13a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for elephant_socks5-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 4f5004b1cef881f7b397a95376f89d20b18968f777295427605a77e7e097300f
MD5 64bd91a9308e621242cddc954aaab282
BLAKE2b-256 7b840c8826d45cb47e3618fbb78e500da6454fe0a4e38ac5802c5e837d93107c

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