Skip to main content

pytunnel

A TCP tunnel server/client by Python.

Install

 pip install pytunnel

Useage

If you want local computer port 8080 can be access through server(IP:192.168.1.102) port 1090

Setp1. Run the following command at server computer:

python -m pytunnel --bind 0.0.0.0:1990

It will start a tunnel server at port 1990.

Setp2. Run the following command at local computer:

python -m pytunnel --port 1090 --target 127.0.0.1:8080 --server 192.168.1.102:1990

It will make a tunnel with 192.168.1.102:1090 and 127.0.0.1:8080.

Now, you can open 192.168.1.102:1090 to access the local computer port 8080.

Click to view more information!

CHANGES

1.0.0

  • First version

2.0.0

  • Optimize data package

2.1.0

  • Fix bugs
  • Use multiprocessing to improve throughput capacity

2.3.0

  • Add watch dog to check status

Release files for pytunnel 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytunnel 2.4.0
File Size Uploaded
pytunnel-2.4.0.tar.gz 26.4 kB Details

Release files / pytunnel-2.4.0.tar.gz

Download URL pytunnel-2.4.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5ce5f8e66ecd859e6bfab866a34c1eca94ff1b0d9917107f09fbdb05ae6df377
BLAKE2b-256 checksum
How to use checksums
a02657b58f34b34b98f32361da68bb3ad16367898b6c9a207f35e3e2e9f84614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.2 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/2.7.16

Release history Release notifications | RSS feed

2.4.2

1 release file

2.4.1

1 release file

This release

2.4.0 This release

1 release file

2.3.3

1 release file

2.3.2

1 release file

2.3.0

1 release file

2.2.0

1 release file

2.1.0

1 release file

2.0.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page