Skip to main content

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


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.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

term_from_nat-0.0.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file term_from_nat-0.0.1.tar.gz.

File metadata

  • Download URL: term_from_nat-0.0.1.tar.gz
  • Upload date:
  • Size: 14.9 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

Hashes for term_from_nat-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6998e0d12f3984a57ac2cb93c4f11ad14d711f1b70b83cc11ceaf18174313f5e
MD5 78a81a27bb7870b59085c19b2788d546
BLAKE2b-256 a85d36f3a3d580dcf1ac477c4450f93c0bf090d2fcd0e015fa731d0366ef743a

See more details on using hashes here.

File details

Details for the file term_from_nat-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: term_from_nat-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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

Hashes for term_from_nat-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 497c620af70adb4fdb5d36a28c199269821758257d8c51724e347dcb7a3318b1
MD5 6e9b72ed0b6a221b8f23ca7407311ea0
BLAKE2b-256 bd2a939c775162ab9099f1713cd3598e9021b8c8a2109076e247a7c56f9bf58d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page