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.4.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.4-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: l0n0ltcp-2.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6146c40e1faf1aafd7e24dbf3fcb0f5514e387d6cbcf63968e355e037c97e08f
MD5 415fb127008a02ff24515d58cd870a7c
BLAKE2b-256 b1879849e24212659fe99474e1a464ecaeb0b1b0fe09cb2dc40f53ec0ee0f8c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: l0n0ltcp-2.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8dcb3f62b2f55dd596c8ae48c5197ef742e871f5f33ddd74e32550924e87a29b
MD5 01a354763c5d9d12c1c3b36f1b446148
BLAKE2b-256 a972163e0f7575bc5e0c49e88091d3b22be09bfe1fea9db9f0497fb84269a078

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