从一个 nat 连接到另一个 nat 的远程术语
项目描述
term_from_nat
==========================
在 nat 中连接一个终端。当您希望有人帮助您,但他无法连接到您的 linux 时使用,因为您的计算机在 nat 中。
它有点像 ssh,不同的是:
ssh是:客户端连接到服务器。在服务器计算机上做某事。
这个term_from_nat是:客户端连接到服务器。在客户端计算机上做某事。
在以下情况下使用:
1 when you want somebody to do something in you linux computer
2 but he could not connect to your linux because your computer is inside a nat
如何使用:
COMPUTER1(one nat):
1. pip install term_from_nat
2. python3 -m term_from_nat or just type: term_from_nat
will show some tips:
client started, use:
python3 -m term_from_nat -s -t 378885
to start the server
COMPUTER2(another nat):
1. pip install term_from_nat
2. python3 -m term_from_nat -s -t 378885
or just: term_from_nat -s -t 378885
that's all.
old/deprecated usage:
normal usage uses a bridge to connect each-other.
if you have a public ip server, then, you could run this, connect each other without bridge.
1 COMPUTER1: run python3 server_lite.py {server_port} on one computer that has a public ip.
2 COMPUTER2: run python3 client_lite.py {server_ip} {server_port} on the computer that inside a nat
3 COMPUTER1: type you command.
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
term_from_nat-0.1.6.tar.gz
(18.8 kB
查看哈希)
内置分布
term_from_nat-0.1.6-py3-none-any.whl
(22.3 kB
查看哈希)
关
term_from_nat -0.1.6.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | efc572d6c2cbfa0c47dda142b7c153cf9a1b518011c3cd59f37ea8602be5d3ab |
|
| MD5 | 9266f0c9f2740658af0e502e342954c3 |
|
| 布莱克2-256 | f4280335a4d37ed3040b73035c264aea3484a37e6e92e2f69265ebaf47d04b0a |
关
term_from_nat -0.1.6-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | b999bf0ce812e69c0169d3f14d4c25a82ef0b126496cf9af8ef7404c53bfec93 |
|
| MD5 | e188c5a1ad22a447f835ff38ce580150 |
|
| 布莱克2-256 | d9ddf9955da965d71ec09bde0897a6ad1e5d853e19e2d0cc6bd8e78dcbb039c5 |