内网穿透服务器,客户端
Project description
内网穿透(命令行)
服务器命令
usage: l0n0lnatserver [-h] listenhost listenport
创建内网穿透服务器
positional arguments:
listenhost 监听host
listenport 监听端口
optional arguments:
-h, --help show this help message and exit
客户端命令
usage: l0n0lnatclient [-h] serverhost serverport serverlistenport localhost localport
创建内网穿透客户端
positional arguments:
serverhost 监听host
serverport 监听端口
serverlistenport 服务器要监听端口
localhost 本地服务host
localport 本地服务端口
optional arguments:
-h, --help show this help message and exit
使用实例
比如在内网有一个nginx(localhost:80)
服务器为 x.x.x.x
1.在服务器执行
l0n0lnatserver 0.0.0.0 12345
2.在客户端执行
l0n0lnatclient x.x.x.x 12345 8080 localhost 80
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-1.0.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file l0n0lnat-1.0.0.tar.gz
.
File metadata
- Download URL: l0n0lnat-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0bf99a6b461e198aeee77a479b75e5dd1e9d8733b5e057edfe3f713d257d680c
|
|
MD5 |
e189e2cedccfd21e6a4e47d293bc3315
|
|
BLAKE2b-256 |
675ff989805b7fadf49330f41730a105d6cd838dd2c434d929019802334e6ed4
|
File details
Details for the file l0n0lnat-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: l0n0lnat-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8905b0c3933c1d1dffe22942d818941a67ed533cc9c82d3536a09ef00c13da23
|
|
MD5 |
ec8200f85de5fd56adad98e73ccadfe8
|
|
BLAKE2b-256 |
eefea76f02ae18adc47689f25536bda356255915b235dfcf811d37e483186a32
|