pb-mapper CLI
pb-mapper-cli provides the unified pb-mapper executable: run a relay,
publish private TCP/UDP services, reach them on a local port, inspect status,
and administer credentials. Connections go peer to peer over QUIC when the
networks allow it and fall back to the relay when they do not; nothing needs to
be configured for either.
Install
The package name is pb-mapper-cli; the installed executable is pb-mapper.
The same executable contains every role:
# on a public host: relay on 7666/tcp, hole punching on 7666/udp
# next to the private service, and wherever you need it
# which path each connection took
Open both 7666/tcp and 7666/udp on the relay. Add --relay-only to
server, register or connect to keep that side on the relay.
Set MSG_HEADER_KEY to the administrator key or to a temporary pbmt1_
credential issued with pb-mapper admin key issue. See the
user guide
for credential setup, deployment, and every command.