l0n0lnat


Namel0n0lnat JSON
Version 2.3.6 PyPI version JSON
download
home_pagehttps://gitee.com/l00n00l/l0n0lnat
Summary内网穿透服务器,客户端
upload_time2025-07-14 01:25:38
maintainerNone
docs_urlNone
authorl0n0l
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 内网穿透(命令行)

## 服务器命令
```
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


            

Raw data

            {
    "_id": null,
    "home_page": "https://gitee.com/l00n00l/l0n0lnat",
    "name": "l0n0lnat",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "l0n0l",
    "author_email": "1038352856@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/f3/3d652a8f7a22cb796dc3905113c484709dbfc65f7c9c9f12430b2df8eb46/l0n0lnat-2.3.6.tar.gz",
    "platform": null,
    "description": "# \u5185\u7f51\u7a7f\u900f\uff08\u547d\u4ee4\u884c\uff09\n\n## \u670d\u52a1\u5668\u547d\u4ee4\n```\nusage: l0n0lnatserver [-h] listenhost listenport password\n\n\u521b\u5efa\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u5668\n\npositional arguments:\n  listenhost  \u76d1\u542chost\n  listenport  \u76d1\u542c\u7aef\u53e3\n  password    \u5bc6\u94a5\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\n## \u5ba2\u6237\u7aef\u547d\u4ee4\n```\nusage: l0n0lnatclient [-h] serverhost serverport serverlistenport localhost localport password\n\n\u521b\u5efa\u5185\u7f51\u7a7f\u900f\u5ba2\u6237\u7aef\n\npositional arguments:\n  serverhost        \u76d1\u542chost\n  serverport        \u76d1\u542c\u7aef\u53e3\n  serverlistenport  \u670d\u52a1\u5668\u8981\u76d1\u542c\u7aef\u53e3\n  localhost         \u672c\u5730\u670d\u52a1host\n  localport         \u672c\u5730\u670d\u52a1\u7aef\u53e3\n  password          \u5bc6\u94a5\n\noptional arguments:\n  -h, --help        show this help message and exit\n```\n\n## \u4f7f\u7528\u5b9e\u4f8b\n\n    \u6bd4\u5982\u5728\u5185\u7f51\u6709\u4e00\u4e2anginx(localhost:80)\n    \u670d\u52a1\u5668\u4e3a x.x.x.x\n\n    1.\u5728\u670d\u52a1\u5668\u6267\u884c\n    l0n0lnatserver 0.0.0.0 12345 passwd\n\n    2.\u5728\u5ba2\u6237\u7aef\u6267\u884c\n    l0n0lnatclient x.x.x.x 12345 8080 localhost 80 passwd\n\n    3.\u8bbf\u95eehttp://x.x.x.x:8080\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u5668\uff0c\u5ba2\u6237\u7aef",
    "version": "2.3.6",
    "project_urls": {
        "Homepage": "https://gitee.com/l00n00l/l0n0lnat"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4d6bfe62df0c1af77adee2f692db886ef0d1f8762dfa11390b51e3b1cb9cc6c4",
                "md5": "979c725e177ca126bc2fcfa723456556",
                "sha256": "024866f5a1a3ce5754e47f5cb5c5b6e9b75f83f23fc94ffbb2f146d1aa5e7455"
            },
            "downloads": -1,
            "filename": "l0n0lnat-2.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "979c725e177ca126bc2fcfa723456556",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10135,
            "upload_time": "2025-07-14T01:25:37",
            "upload_time_iso_8601": "2025-07-14T01:25:37.596683Z",
            "url": "https://files.pythonhosted.org/packages/4d/6b/fe62df0c1af77adee2f692db886ef0d1f8762dfa11390b51e3b1cb9cc6c4/l0n0lnat-2.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e4f33d652a8f7a22cb796dc3905113c484709dbfc65f7c9c9f12430b2df8eb46",
                "md5": "bdc24583ece4676671b858c7ecce4801",
                "sha256": "6f4f06ba3c173c8f8baa45d2899e09d7b78a009dbbe606c26ff0daf99ed4628b"
            },
            "downloads": -1,
            "filename": "l0n0lnat-2.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "bdc24583ece4676671b858c7ecce4801",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 7600,
            "upload_time": "2025-07-14T01:25:38",
            "upload_time_iso_8601": "2025-07-14T01:25:38.814968Z",
            "url": "https://files.pythonhosted.org/packages/e4/f3/3d652a8f7a22cb796dc3905113c484709dbfc65f7c9c9f12430b2df8eb46/l0n0lnat-2.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-14 01:25:38",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "l0n0lnat"
}
        
Elapsed time: 0.70424s