Skip to main content

py-frp

A small Python TCP reverse tunnel for exposing a service behind NAT through a public server. Python 3.6 and every later Python 3 release are supported. Legacy Python releases and their compatible dependency lines may no longer be maintained upstream; use a current Python release for security-sensitive deployments.

Quick Start

Install py-frp on both the public server and the private client:

pip install py-simple-nat-tunnel

Start the public server with the example configuration:

py-frp server -c examples/frps.toml

Start the private client and confirm that the TLS fingerprint matches the one printed by the server:

py-frp client -c examples/frpc.toml

The example exposes the client's 127.0.0.1:22 as port 6000 on the public server. Connect to it with:

ssh -p 6000 user@your-server

Replace 127.0.0.1, the ports, and change-me in the example files before using them outside a local test.

For every command, option, and supported configuration format, see the CLI manual. The configless deployment tutorial covers production setup and automatic update restart. For the tunnel lifecycle, protocol, allocation, and security design, see the algorithm manual.

Metadata

Release files for py-simple-nat-tunnel 0.7.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 py-simple-nat-tunnel 0.7.0
File Size Uploaded
py_simple_nat_tunnel-0.7.0.tar.gz 48.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-simple-nat-tunnel 0.7.0
File Interpreter ABI Platform
py_simple_nat_tunnel-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.9 kB

Release files / py_simple_nat_tunnel-0.7.0.tar.gz

Download URL py_simple_nat_tunnel-0.7.0.tar.gz
Size 48.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1d48c1e2495711650f32c3d80c0ab46cfeda528d7e20e86d1166638a074cf289
BLAKE2b-256 checksum
How to use checksums
3cfb5babfba96b238c6ae21fa3f19222cda90526cc268ed6b3855bcbb8ef8f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.5 Windows/11

Release files / py_simple_nat_tunnel-0.7.0-py3-none-any.whl

Download URL py_simple_nat_tunnel-0.7.0-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b00f271232e3164b456a17724ac0a5a27856fd2e1421704bad5acb3db52ade10
BLAKE2b-256 checksum
How to use checksums
577cc6515926ac90b77bedc4779380a520f6b8fe8a7b3f99882b2f012251f110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.5 Windows/11

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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