frp-jump
ssh wb01 from your laptop to a machine behind NAT. No port forwarding, no VPN,
no public IP on the far side.
frp-jump connects your Linux machines to each other through one small server you run yourself. Every machine runs an agent. The server decides who may talk to whom. A connection goes peer-to-peer when the two networks allow it, and falls back to relaying through your server when they don't — you never have to know which one happened.
The tunneling itself is frp. frp-jump adds
what frp deliberately leaves to you: identity, authorization, certificates, and
keeping ~/.ssh/config in sync.
flowchart LR
subgraph srv["your server"]
api["control plane<br/>HTTPS API · SQLite · CA"]
relay["relay<br/>frps :7000"]
end
laptop["laptop<br/>agent"]
wb01["wb01<br/>agent"]
laptop -->|"am I allowed?"| api
wb01 -->|"am I allowed?"| api
laptop <-.->|"direct, when NAT permits"| wb01
laptop --- relay
relay --- wb01
linkStyle 2 stroke:#3fb950,stroke-width:3px
The dotted line is what you get whenever the two networks can be made to talk directly. The solid path through the relay is the fallback for when they can't.
What you get
- Your normal ssh client.
connectwrites an~/.ssh/configentry, sossh wb01works — along withscp,rsync,ssh -J, and your editor's remote mode. - No accounts and no web UI. A person is an SSH public key. Administration
is
frp-jump-servercommands run over SSH to your box. - One admin action per person, ever. After their first device is enrolled, they add devices and wire up connections themselves.
- Nothing unenrolled gets in. Your server runs a private CA and issues a client certificate to each device, so a machine that isn't enrolled can't reach the relay at all. Tunneled payloads are encrypted, not just the control channel.
- Small. Python and SQLite on the server, one agent process per device, and the upstream frp binaries fetched on first run.
Quick start
1. On your server — a box with a public IP or a domain:
sudo frp-jump-server install-service \
--relay-public-addr tunnel.example.com \
--tls-cert /etc/letsencrypt/live/tunnel.example.com/fullchain.pem \
--tls-key /etc/letsencrypt/live/tunnel.example.com/privkey.pem
frp-jump-server users add-key ~/.ssh/id_ed25519.pub --label me
The first command creates a system account, a CA, a database, and a systemd unit. The second registers you. That is the whole server-side setup.
2. On your laptop — enroll with the key you just registered, then start the agent as a service:
frp-jump-client enroll https://tunnel.example.com ~/.ssh/id_ed25519 --name laptop
sudo frp-jump-client install-service
Enrolling without sudo matters here: the agent then runs as you, and can
maintain your real ~/.ssh/config.
3. On the far machine — mint a token from the laptop, and run the command it prints:
frp-jump-client devices add-token --name wb01
# then, on wb01:
sudo frp-jump-client enroll https://tunnel.example.com <token>
4. Connect:
frp-jump-client connect wb01:22
ssh wb01
Not installed yet? See Installation. Want the same thing with every step explained, including what to check when a step doesn't work? See Getting started.
Documentation
| Page | Read it when |
|---|---|
| Installation | Picking between apt, pip, and a plain .deb |
| Getting started | Setting this up for the first time |
| CLI reference | Looking up a command or a flag |
| Configuration | Changing ports, paths, timeouts; opening a firewall |
| How it works | Wondering what the agent is actually doing |
| Security model | Deciding whether to trust this with your network |
| Troubleshooting | Something is broken |
| Internals | Changing the code |
Every command also carries its own --help with runnable examples:
frp-jump-client connect --help
Requirements
- Linux on every machine, including the server.
- Python 3.12+ if you install via pip. The
.debbundles its own runtime. - A public IP or domain for the server, and one open TCP port (7000 by default) plus however you serve HTTPS.
- Devices need outbound TCP to the server. Outbound UDP too, if you want peer-to-peer rather than relaying.
Development
uv sync
uv run pytest tests/unit -q # fast, no network
uv run ruff check .
See CONTRIBUTING.md. Changes are tracked in CHANGELOG.md.
License
Metadata
Release files for frp-jump 0.3.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frp_jump-0.3.21.tar.gz | 95.2 kB | With provenance | Details for frp_jump-0.3.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frp_jump-0.3.21-py3-none-any.whl | Python 3 | none | any | Details for frp_jump-0.3.21-py3-none-any.whl |
Total release size: 205.1 kB
Release files / frp_jump-0.3.21.tar.gz
| Download URL | frp_jump-0.3.21.tar.gz |
|---|---|
| Size | 95.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22df86195a126c923643b6c315b8dc454cd8553cb8414b8a3684f6264a8db47e
|
|
BLAKE2b-256 checksum How to use checksums |
04a95e4b4c568468871249bf95d8515229a670144e16cf0d97c5d33c2623c620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / frp_jump-0.3.21-py3-none-any.whl
| Download URL | frp_jump-0.3.21-py3-none-any.whl |
|---|---|
| Size | 109.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbb61f9acf9844d3d2501dea8d75c7ca4f2ccd55b863334e26dd1aed1b16645e
|
|
BLAKE2b-256 checksum How to use checksums |
f82a00661a034ec11825a84614cc369bae1588656970b75cc75f478bae68e77e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for frp-jump 0.3.21
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for frp_jump-0.3.21.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.