Skip to main content

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. connect writes an ~/.ssh/config entry, so ssh wb01 works — along with scp, 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-server commands 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 .deb bundles 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

MIT

Metadata

Release files for frp-jump 0.3.17

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

Source distribution (sdist)

Source distribution for frp-jump 0.3.17
File Size Uploaded Provenance Actions
frp_jump-0.3.17.tar.gz 84.6 kB With provenance Details for frp_jump-0.3.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for frp-jump 0.3.17
File Interpreter ABI Platform Actions
frp_jump-0.3.17-py3-none-any.whl Python 3 none any Details for frp_jump-0.3.17-py3-none-any.whl

Total release size: 182.5 kB

Release files / frp_jump-0.3.17.tar.gz

Download URL frp_jump-0.3.17.tar.gz
Size 84.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5564e7235c8b56f8b5ab27a3faa75afb89fe364fdba699510fec50f328a52794
BLAKE2b-256 checksum
How to use checksums
6f720bec782ccf28406af6b05e988e41ee07375dace8330cd22696a3552cff4c
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 Oct 31, 2026.

Transparency log

Release files / frp_jump-0.3.17-py3-none-any.whl

Download URL frp_jump-0.3.17-py3-none-any.whl
Size 97.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3689963c22929d742e5e4e318a27e0a9b94ffe720bdc523b60b8a666f8a02829
BLAKE2b-256 checksum
How to use checksums
7dcb2ef9f931a747a6b8d280279598ab83ba1282a4810e0827aff9738dda5e5a
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 Oct 31, 2026.

Transparency log

Security for frp-jump 0.3.17

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.

Select from 2 files

Attestation for frp_jump-0.3.17.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 Oct 31, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.3.17 This release

2 release files Full provenance

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