Decentralized, zero-config, peer-to-peer encrypted mesh overlay network.
GhostMesh connects your devices directly over UDP without relying on centralized relay servers. It uses modern end-to-end cryptography (Noise Protocol) and automated NAT traversal (UDP Hole Punching via public STUN) to establish resilient, low-latency tunnels across firewalls and dynamic IP addresses.
Téléchargez les exécutables autonomes directement depuis la Dernière Release (v0.2.6) :
ghostmesh-gui.exe(Application Bureau avec Interface Graphique) :- Application complète avec interface visuelle (tableau de bord, QR code, gestion des pairs, RDP en 1 clic, chat et transferts de fichiers).
- À double-cliquer pour lancer l'application immédiatement sans installation.
ghostmesh-cli.exe(Ligne de commande - CLI / Console) :- Binaire console destiné aux terminaux (PowerShell, CMD, bash), serveurs sans écran ou scripts automatisés (
ghost up,ghost status,ghost invite).
- Binaire console destiné aux terminaux (PowerShell, CMD, bash), serveurs sans écran ou scripts automatisés (
- Direct P2P Connectivity & Automated UPnP: Traverses domestic NATs and firewalls via synchronized UDP hole punching and automated router port mapping.
- Consent-Based Reconnection & Known Devices: Remembers previously paired computers. One-click reconnect dispatches an authorization request with real-time Accept / Decline prompts and device revocation (Forget).
- Per-Device Mesh Firewall: Granular permissions per peer to enable or block Remote Desktop (RDP), GhostDrop file transfers, and temporary auto-revoking sessions.
- Presse-Papier Partagé (Clipboard Sync): Seamlessly share clipboard text between connected computers. 1-click send or automatic synchronization upon copy.
- Exit Node Gateway (Internet Sharing): Route your complete Internet connection through a trusted remote mesh peer (e.g. your home PC while on public Wi-Fi).
- GhostChat (P2P Encrypted Messaging): Real-time instant messaging encrypted end-to-end with the Noise Protocol, ephemeral with zero server logs.
- GhostDrop with Resume & Folder Support: High-throughput P2P transfers with automatic resumption on network cuts and automatic folder zipping on the fly.
- One-Click Windows Remote Desktop (RDP): Built-in integration with native Windows
mstsc.exeover encrypted virtual mesh IPs (10.42.X.Y). Control remote PCs at 60 FPS without installing third-party software (AnyDesk, TeamViewer). - Silent Windows Autostart: Optional startup on Windows login running minimized directly in the system tray.
- GhostSync (Continuous Folder Sync): Automatically watches a local folder and synchronizes changes across connected peers in real time.
- QR Code Instant Pairing: Vector SVG QR Code generation for one-tap companion device pairing.
- Multi-Hop Mesh Forwarding: Transparent packet routing across intermediary nodes when direct links are asymmetric.
- Corporate Firewall Fallback (HTTPS/WSS): Automatic fallback relay tunnel when corporate networks filter outbound UDP.
- End-to-End Cryptography: Noise Protocol handshake (
Noise_XX/Curve25519+ChaCha20-Poly1305+BLAKE2s). - Virtual Network Layer (Wintun): Automatic collision-free virtual IPs (
10.42.X.Y/16) for Windows SMB, SSH, LAN gaming, and remote desktop across the internet. - Cross-Platform CLI: Clean commands for identity generation, node pairing, and live link monitoring.
- Modular Architecture: Extensible crates separating protocol serialization, cryptographic wrappers, NAT discovery, and peer orchestration.
- Known Devices with Mutual Consent: Save paired computers in local configuration (
config.json). Clicking Connect sends an explicit authorization request that the remote user can Accept or Decline. - Per-Device Mesh Firewall: Granular permission switches per saved device: toggle RDP access, GhostDrop file reception, or enforce Temporary Sessions that auto-revoke upon disconnection.
- GhostChat (P2P Encrypted Messaging): Send instant messages directly over the peer-to-peer authenticated Noise channel. Zero centralized servers, ephemeral memory storage.
- GhostDrop (Resume & Auto-Folder Zip): High-speed direct streaming over port 4243. Automatically resumes broken transfers from the last byte offset and packages folders into zip archives on the fly.
- Windows Remote Desktop (RDP in 1-Click): Launch native Windows
mstsc.execonnected directly to the remote peer's virtual mesh IP (10.42.X.Y) without third-party remote desktop software. - Silent Windows Autostart: One-click setting in the dashboard to register GhostMesh in Windows startup, launching silently into the system tray.
- Integrated Update Checker: Automatic GitHub releases notification banner in the header with 1-click update link.
ghostmesh/
├── crates/
│ ├── ghost-protocol/ # Wire format, binary packet serialization & headers
│ ├── ghost-crypto/ # Noise protocol state machine, key generation & frame encryption
│ ├── ghost-nat/ # Lightweight STUN client & UDP hole-punching probes
│ ├── ghost-core/ # Routing table, peer state machine, event loop
│ └── ghost-cli/ # CLI binary (ghostmesh keygen, invite, join, discover, up)
# On Machine A (Host)
npx ghostmesh-cli invite
# On Machine B (Guest)
npx ghostmesh-cli join <ticket>cargo build --releasecargo run -p ghost-cli -- keygenOn Machine A (Host):
cargo run -p ghost-cli -- inviteOn Machine B (Guest):
cargo run -p ghost-cli -- join <ticket>Licensed under MIT OR Apache-2.0.