内网穿透服务器,客户端
Project description
内网穿透(命令行)
服务器命令
usage: l0n0lnatserver [-h] listenhost listenport password
创建内网穿透服务器
positional arguments:
listenhost 监听host
listenport 监听端口
password 密钥
optional arguments:
-h, --help show this help message and exit
客户端命令
usage: l0n0lnatclient [-h] serverhost serverport serverlistenport localhost localport password
创建内网穿透客户端
positional arguments:
serverhost 监听host
serverport 监听端口
serverlistenport 服务器要监听端口
localhost 本地服务host
localport 本地服务端口
password 密钥
optional arguments:
-h, --help show this help message and exit
使用实例
比如在内网有一个nginx(localhost:80)
服务器为 x.x.x.x
1.在服务器执行
l0n0lnatserver 0.0.0.0 12345 passwd
2.在客户端执行
l0n0lnatclient x.x.x.x 12345 8080 localhost 80 passwd
3.访问http://x.x.x.x:8080
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
l0n0lnat-2.3.5.tar.gz
(7.3 kB
view details)
Built Distribution
l0n0lnat-2.3.5-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file l0n0lnat-2.3.5.tar.gz
.
File metadata
- Download URL: l0n0lnat-2.3.5.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad81f74fd6bb04a2295d824d72802db44be6f38c304c90537e8e97216c4c99d |
|
MD5 | 086ee26511fb2668b47ec15a121d1c78 |
|
BLAKE2b-256 | 3705df44ce45a6850d24d4232da3b99943b2a99d58a617eda0d9581aa1cd3cac |
File details
Details for the file l0n0lnat-2.3.5-py3-none-any.whl
.
File metadata
- Download URL: l0n0lnat-2.3.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be56aee9d466053a42f31f74aadb3c58faa19a0906e326915fcfff990388885 |
|
MD5 | a89b0401134e27601222312f0334b4b3 |
|
BLAKE2b-256 | 7ab04922f1b7fb443a4be393b4539f6cfce885369a5000b87e8ad428374e54e3 |