py-frp
A small Python TCP reverse tunnel for exposing a service behind NAT through a public server.
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. For the tunnel lifecycle, protocol, port allocation, and security design, see the algorithm manual.
Metadata
Release files for py-simple-nat-tunnel 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_simple_nat_tunnel-0.4.0.tar.gz | 34.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_simple_nat_tunnel-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.1 kB
Release files / py_simple_nat_tunnel-0.4.0.tar.gz
| Download URL | py_simple_nat_tunnel-0.4.0.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27c10712b6e1a4dbaf0ae812148d8b91df7908c645f097678be10578e2468989
|
|
BLAKE2b-256 checksum How to use checksums |
98f4320f46a102350193e8a3c99253c3b2c31fbea901fefeed1e294f11982f5c
|
| 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.4.0-py3-none-any.whl
| Download URL | py_simple_nat_tunnel-0.4.0-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd9ba59764b34d358d62db31301dccebc28b9ac130aac2e38bededeff0807adc
|
|
BLAKE2b-256 checksum How to use checksums |
53690477df2ef04f09887348d7aea39a175aa9140f303fd8366808c00564047f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Windows/11
|