Discover peers
An MQTT-based coordination channel distributes endpoint observations and activation information.
The internet grew through open protocols and collaborative engineering. We support those foundations—and contribute our own work.
WireGuard Peer Coordination Protocol
WPCP is a lightweight MQTT-based control plane developed by JetApple to help WireGuard peers discover endpoints, activate connections, and adapt to changing network conditions.
Once a direct connection is established, encrypted data is carried directly between WireGuard peers rather than through the MQTT broker.
WPCP separates the control plane from the data plane. The published example includes a broker and an endpoint detector to help NATed peers discover each other.
An MQTT-based coordination channel distributes endpoint observations and activation information.
WireGuard peers use discovered endpoints to attempt encrypted peer-to-peer communication.
Endpoint updates and coordination help peers adjust when network addresses or mappings change.
Engineering note: WPCP is not a claim that all infrastructure is fully decentralised or that direct connectivity is always possible. Its reference architecture uses coordination components; reachability depends on network conditions. Production deployments need appropriate broker transport security and authentication.
Open implementations make networking ideas easier to inspect, question, adapt, and improve. They also encourage interoperability and help others build useful things.
For JetApple, publishing code is not the end goal. The real purpose is to move promising engineering ideas toward reliable tools that can change how people use the internet every day.
Explore the repository