Skip to main content

TCP转发服务器

Project description

功能: 加密转发服务器

1.安装

pip install l0n0ltcp -U

2.本地服务器

l0n0ltransclient -h
正在使用uvloop
usage: l0n0ltransclient [-h] 监听地址 监听端口 服务器地址 服务器端口 密码

启动TCP加密转发客户端

positional arguments:
  监听地址        本地监听地址
  监听端口        本地监听端口
  服务器地址       远程服务器地址
  服务器端口       远程服务器端口
  密码          通信密码

options:
  -h, --help  show this help message and exit

3. 远端服务器

l0n0ltransserver -h
usage: l0n0ltransserver [-h] 监听地址 监听端口 服务器地址 服务器端口 密码

启动TCP加密转发服务器

positional arguments:
  监听地址        本地监听地址
  监听端口        本地监听端口
  服务器地址       远程服务器地址
  服务器端口       远程服务器端口
  密码          通信密码

options:
  -h, --help  show this help message and exit

4. socks5服务器

l0n0ltranssocks5 -h
usage: l0n0ltranssocks5 [-h] 本地监听地址 本地监听端口

socks5服务器

positional arguments:
  本地监听地址      本地监听地址
  本地监听端口      本地监听端口

options:
  -h, --help  show this help message and exit

5. 实例

比如远程服务器有一个http服务器:A(192.168.1.2) 在服务器上监听127.0.0.1:8080.是不能被其他主机访问的.

我们还有主机 B(192.168.1.3) 是可以被其他主机访问的

  • A B 均表示IP地址

5.1 在A上执行

l0n0ltransserver 0.0.0.0 11224 127.0.0.1 8080 123

5.2 在B上执行

l0n0ltransclient 0.0.0.0 11223 192.168.1.3 11224 123

5.3 在任意可以访问到B的主机上

curl http://192.168.1.3:11223

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

l0n0ltcp-2.0.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

l0n0ltcp-2.0.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file l0n0ltcp-2.0.3.tar.gz.

File metadata

  • Download URL: l0n0ltcp-2.0.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for l0n0ltcp-2.0.3.tar.gz
Algorithm Hash digest
SHA256 35e147d1f0b4ab915f241864237978aae83c09df1472e6ed9fcaef18e7bae95c
MD5 7fa29ee149b6ccf276e2c73e1c7e63da
BLAKE2b-256 ac9cb52ee766998b94e2865a29c4d7402f4602a611a0a12a3e0bd799b2126ee7

See more details on using hashes here.

File details

Details for the file l0n0ltcp-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: l0n0ltcp-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for l0n0ltcp-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3390ed15cb6c3a894ec3e588965969168115e9410bd52cf705fe87dc58844a49
MD5 fc4c2e384ed4ff9492b4a19c59e91cfc
BLAKE2b-256 73ca96eae7b9f4b9e7155aaf28375ff043ff1d5ba220d43258325e057e3ed5fd

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