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 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.
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.1.4.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file term_from_nat-0.1.4.tar.gz
.
File metadata
- Download URL: term_from_nat-0.1.4.tar.gz
- Upload date:
- Size: 18.8 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 | 42146e6ea8670df993ca42af4365075e462dea800c514ceccf642ad298fc71bf |
|
MD5 | 6b1a4c85bfdb003a59ea8ac34fd0b05a |
|
BLAKE2b-256 | adfae0e3fc2a70b18985c9908d4b62a4ce6334d13f62aa2c8f298bfea723f894 |
File details
Details for the file term_from_nat-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: term_from_nat-0.1.4-py3-none-any.whl
- Upload date:
- Size: 22.3 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 | 1458c22b7fb0c070e04e0e65f2e6ff42db9724e0ebe982406e1c7455ed1b280e |
|
MD5 | b272185f8f81d17ecc8a7ee4887514a8 |
|
BLAKE2b-256 | 99c22fd394bad87c5b3785ef28703fa638ba7e4dcf333eb37a6a86ef1b9b7a0f |