Skip to main content

A TCP tunnel server/client by Python.

Project description


A TCP tunnel server/client by Python.


 pip install pytunnel


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

Setp1. Run the following command at server computer:

python -m pytunnel --bind

It will start a tunnel server at port 1990.

Setp2. Run the following command at local computer:

python -m pytunnel --port 1090 --target --server

It will make a tunnel with and

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

Click to view more information!



  • First version


  • Optimize data package


  • Fix bugs
  • Use multiprocessing to improve throughput capacity


  • Add watch dog to check status

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

pytunnel-2.3.3.tar.gz (24.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page