Skip to main content

内网穿透服务器,客户端

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


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.4.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

l0n0lnat-2.3.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file l0n0lnat-2.3.4.tar.gz.

File metadata

  • Download URL: l0n0lnat-2.3.4.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for l0n0lnat-2.3.4.tar.gz
Algorithm Hash digest
SHA256 095d89b4b40bb204055b083f4e1459a8d91492bc284d89093d032b2319a9d2a7
MD5 0bf67023955b329293b6af3a1cb356b9
BLAKE2b-256 398644881e981ff6fb369dd7e201729d4531ee3f5f46e457890ef5c8f946adbd

See more details on using hashes here.

File details

Details for the file l0n0lnat-2.3.4-py3-none-any.whl.

File metadata

  • Download URL: l0n0lnat-2.3.4-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for l0n0lnat-2.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 24f99d20377a3e7c25d14cf08be541af37b726d0b58f183bfead1444190ef87d
MD5 9da7f97dd1879bca397bfaa59cf1cbb1
BLAKE2b-256 9cd4f5014e9098f5cbb9ce6e24368c54067c9f97cf38a85181460c4d415b712a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page