A remote term connect from one nat to another nat
Project description
term_from_nat
=========================
connect a terminal inside a nat. used when you want somebody to help you, but he could not connect to your linux because your computer is inside a nat.
it is somehow like the ssh, the different is that:
the ssh is: client connect to server. do something in the server computer.
this term_from_nat is: client connect to server. do something in the client computer.
used when:
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
how to use:
COMPUTER1(one nat):
1. pip install term_from_nat
2. python3 -m term_from_nat
will show some tips:
client started, use:
python3 -m term_from_nat -s -t 378885 -b test.mosquitto.org -p 1883
to start the server
COMPUTER2(another nat):
1. pip install term_from_nat
2. python3 -m term_from_nat -s -t 378885
that's all.
another 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.
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
term_from_nat-0.0.8.tar.gz
(18.7 kB
view details)
Built Distribution
File details
Details for the file term_from_nat-0.0.8.tar.gz
.
File metadata
- Download URL: term_from_nat-0.0.8.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0fa14b7be849413b45b9331336046586760a33c2e1aad08bb7cc1dad001c4a0 |
|
MD5 | 44fa9de4a5014a7e3f764dc12320d169 |
|
BLAKE2b-256 | 95fe25304aa2bb55a5b5ce60a579306d4b13a710403ea25cc7abddf58dadb28d |
File details
Details for the file term_from_nat-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: term_from_nat-0.0.8-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aa9f109b5c9e0db948c49e7f35dcf7cc5e26cb7efe3a1b7b6a542d9de8b3cbe |
|
MD5 | 92c7f3edb07525c81abb56b7d088105a |
|
BLAKE2b-256 | 8aef347f1ec43d0e44db03f9a6c431a9a6396a2e4061a16cd8e4b0316b937d01 |