PeerTap is a decentralized, censorship-resistant Layer 2 mesh network built on libp2p. It connects nodes into encrypted Ethernet-level broadcast domains called CryptoVLANs. Each VLAN is cryptographically isolated, providing anonymous, resilient data-link connectivity.
- Cryptographic VLANs (CryptoVLAN) based on BLAKE3 and TreeKEM (MLS)
- Raw Ethernet tunneling over libp2p encrypted trunks
- Transparent TAP/TUN interfaces for L2/L3 support
- VLAN-based switching and VFT-based forwarding (anonymized unicast/multicast/broadcast)
- Full support for loop prevention, relay coordination, and spanning-tree topology
- Optional GUI (Tauri) and CLI (Rust)
- Cross-platform (Linux, Windows, macOS, Android, iOS)
- Core implementation:
peertap - Android wrapper:
peertap-android - iOS wrapper:
peertap-ios
PeerTap is in active research and prototyping stage.
For questions or contributions, see CONTRIBUTE.md.
PeerTap aims to be the Ethernet of anonymous, censorship-resistant overlay networks.