l0n0lnat


Namel0n0lnat JSON
Version 2.3.5 PyPI version JSON
download
home_pagehttps://gitee.com/l00n00l/l0n0lnat
Summary内网穿透服务器,客户端
upload_time2024-12-28 01:54:42
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/37/05/df44ce45a6850d24d4232da3b99943b2a99d58a617eda0d9581aa1cd3cac/l0n0lnat-2.3.5.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",
    "bugtrack_url": null,
    "license": null,
    "summary": "\u5185\u7f51\u7a7f\u900f\u670d\u52a1\u5668\uff0c\u5ba2\u6237\u7aef",
    "version": "2.3.5",
    "project_urls": {
        "Homepage": "https://gitee.com/l00n00l/l0n0lnat"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ab04922f1b7fb443a4be393b4539f6cfce885369a5000b87e8ad428374e54e3",
                "md5": "a89b0401134e27601222312f0334b4b3",
                "sha256": "1be56aee9d466053a42f31f74aadb3c58faa19a0906e326915fcfff990388885"
            },
            "downloads": -1,
            "filename": "l0n0lnat-2.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a89b0401134e27601222312f0334b4b3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 9980,
            "upload_time": "2024-12-28T01:54:39",
            "upload_time_iso_8601": "2024-12-28T01:54:39.810067Z",
            "url": "https://files.pythonhosted.org/packages/7a/b0/4922f1b7fb443a4be393b4539f6cfce885369a5000b87e8ad428374e54e3/l0n0lnat-2.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3705df44ce45a6850d24d4232da3b99943b2a99d58a617eda0d9581aa1cd3cac",
                "md5": "086ee26511fb2668b47ec15a121d1c78",
                "sha256": "cad81f74fd6bb04a2295d824d72802db44be6f38c304c90537e8e97216c4c99d"
            },
            "downloads": -1,
            "filename": "l0n0lnat-2.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "086ee26511fb2668b47ec15a121d1c78",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 7278,
            "upload_time": "2024-12-28T01:54:42",
            "upload_time_iso_8601": "2024-12-28T01:54:42.053681Z",
            "url": "https://files.pythonhosted.org/packages/37/05/df44ce45a6850d24d4232da3b99943b2a99d58a617eda0d9581aa1cd3cac/l0n0lnat-2.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-28 01:54:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "l0n0lnat"
}
        
Elapsed time: 0.44631s