Skip to main content

功能: 加密转发服务器

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

Release files for l0n0ltcp 2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for l0n0ltcp 2.0.5
File Size Uploaded
l0n0ltcp-2.0.5.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for l0n0ltcp 2.0.5
File Interpreter ABI Platform
l0n0ltcp-2.0.5-py3-none-any.whl Python 3 none any Details

Total release size:16.0 kB

Release files / l0n0ltcp-2.0.5.tar.gz

Download URL l0n0ltcp-2.0.5.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aeb91f47ab09877641bfc65d3e99ddbf259895740008c2b9044fed148365916b
BLAKE2b-256 checksum
How to use checksums
a499456b5a2a1a24a1affdf3bd8f57a5d227d75e6c5de78934554b4b8e114688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / l0n0ltcp-2.0.5-py3-none-any.whl

Download URL l0n0ltcp-2.0.5-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15af76f870a1d2e83eda8836ae89a860c64a5f6c2324efbab522886a3dd1f7bb
BLAKE2b-256 checksum
How to use checksums
8177ac4a01278b62f99116ebebf7b91bba74af1dbafa4742ba8b7d59c0b82f31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

2.0.5 This release

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page