pb-mapper-cli 0.7.0

Unified CLI and relay server for pb-mapper
pb-mapper-cli-0.7.0 is not a library.

pb-mapper CLI

pb-mapper-cli provides the unified pb-mapper executable for running a relay, registering private TCP/UDP services, connecting to them, inspecting status, and administering credentials. Connections use the relay by default; with server --enable-direct, register --allow-direct and connect --path auto they try a direct QUIC path first and fall back to the relay when it cannot connect.

Install

cargo install pb-mapper-cli --locked

The package name is pb-mapper-cli; the installed executable is pb-mapper. The same executable contains both client and server roles:

pb-mapper server --port 7666
pb-mapper register tcp --server relay.example.com:7666 --key app --addr 127.0.0.1:8080
pb-mapper connect tcp --server relay.example.com:7666 --key app --addr 127.0.0.1:9090

Set MSG_HEADER_KEY to the administrator or temporary credential used by the relay. See the user guide for credential setup, deployment, and all commands.