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.5.tar.gz (6.9 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.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: l0n0ltcp-2.0.5.tar.gz
  • Upload date:
  • Size: 6.9 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.5.tar.gz
Algorithm Hash digest
SHA256 aeb91f47ab09877641bfc65d3e99ddbf259895740008c2b9044fed148365916b
MD5 9bbc833d5b53cdda3301c9121e67baab
BLAKE2b-256 a499456b5a2a1a24a1affdf3bd8f57a5d227d75e6c5de78934554b4b8e114688

See more details on using hashes here.

File details

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

File metadata

  • Download URL: l0n0ltcp-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 15af76f870a1d2e83eda8836ae89a860c64a5f6c2324efbab522886a3dd1f7bb
MD5 2b85f646fadefac7b8ccc935f439acf6
BLAKE2b-256 8177ac4a01278b62f99116ebebf7b91bba74af1dbafa4742ba8b7d59c0b82f31

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