内网穿透服务器,客户端
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.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file l0n0lnat-2.3.1.tar.gz
.
File metadata
- Download URL: l0n0lnat-2.3.1.tar.gz
- Upload date:
- Size: 6.6 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 |
bb84d9714ab376b1969c5eecba358fee689775a34f3e2aa37fea3f1e894ef6a3
|
|
MD5 |
8fa8dae66a6a364adacaf220ee69f01f
|
|
BLAKE2b-256 |
43509dfac0f8f94c543d53705200d250a2c35320b1c201e2f1f8bc8bacc3a8fc
|
File details
Details for the file l0n0lnat-2.3.1-py3-none-any.whl
.
File metadata
- Download URL: l0n0lnat-2.3.1-py3-none-any.whl
- Upload date:
- Size: 9.0 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 |
a6e39d7927665ff0e00381a6140f7cd04e4d2c2773184ee8735fd7dfe6337c26
|
|
MD5 |
2cb7d3c17b374f54ae0166d3d1646f75
|
|
BLAKE2b-256 |
ca08a921dd1e6d44120493700a15d37895d413007843cdc5687207481d74d720
|