Add your description here
Project description
功能: 内网穿透服务器与客户端
1. 安装
pip install l0n0lnat
2. 服务器命令
l0n0lnatserver -h
usage: l0n0lnatserver [-h] [-6] 监听地址 监听端口 密码
启动nat客户端
positional arguments:
监听地址 服务器监听地址
监听端口 服务器监听端口
密码 通信密码
options:
-h, --help show this help message and exit
-6, --use-ipv6 启用 IPv6
3. 客户端命令
l0n0lnatclient -h
usage: l0n0lnatclient [-h] [-6] 服务器地址 服务器端口 远端监听端口 被穿透的服务地址 被穿透的服务端口 密码
启动nat客户端
positional arguments:
服务器地址 远程服务器地址
服务器端口 远程服务器端口
远端监听端口 远端监听端口
被穿透的服务地址 被穿透的服务地址
被穿透的服务端口 被穿透的服务端口
密码 通信密码
options:
-h, --help show this help message and exit
-6, --use-ipv6 启用 IPv6
4. 实例
- 被穿透服务:
A(192.168.1.2:80) - 服务器:
B(192.168.1.3)
4.1 在B上执行
l0n0lnatserver 0.0.0.0 11223 123
4.2 在A上执行
l0n0lnatclient 192.168.1.3 11223 8888 127.0.0.1 80 123
4.3 访问B:8888
curl http://192.168.1.3:8888
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-3.0.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file l0n0lnat-3.0.1.tar.gz.
File metadata
- Download URL: l0n0lnat-3.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
591376fd540f9b599e03f88fc3f1542cc163f150fff2669d72e4a962a310b923
|
|
| MD5 |
615cdd071c9f7fae056303a43b639653
|
|
| BLAKE2b-256 |
0716573f1bb30f1f89a864efffbc276f440744a9a19c48f0d15b58f848ebbf78
|
File details
Details for the file l0n0lnat-3.0.1-py3-none-any.whl.
File metadata
- Download URL: l0n0lnat-3.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d31999364ca501fb62642f08cebb303c17207e9cb7c5f909ad35ec4309aac8f
|
|
| MD5 |
ef9de03b92c220a382ba26aefe8f90c8
|
|
| BLAKE2b-256 |
6f52f4491988108410f90691c52aef0a6c30b1e3b56895d291eedc3fe7fcc06c
|