NNdroid

p2ptap-android

NNdroid

P2PTap is an Android P2P overlay networking client built on Go libp2p and VpnService, linking phones, PCs and servers into an encrypted mesh with NAT traversal, exit nodes and a built-in web console.

v1.0.20261108.236-f710568
Published at
18d ago
1
Stars
22
Download
Synced at
8d ago

Latest release

v1.0.20261108.236-f710568Nov 8, 2026, 08:45 AMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

P2PTap joins Android devices to a libp2p-based virtual LAN: phones, PCs and servers discover each other and connect directly, traffic enters and leaves the encrypted tunnel through the VpnService TUN interface, and the mesh falls back to a relay when no direct path exists.

Item Value
Platform Android 12 (API 31) or later
Network engine Go libp2p
Language Kotlin 1.9
License GPL-3.0
Management In-app screens plus built-in web console

No central server; devices form the network themselves

Key Features

  • Multiple transports: QUIC-v1 (UDP), WebRTC Direct, WebTransport and TCP port reuse all at once
  • NAT traversal: hole punching first, with automatic fallback to Circuit Relay
  • LAN discovery: mDNS finds peers on the same Wi-Fi within seconds
  • Exit nodes: pick any online peer as a gateway for the 0.0.0.0/0 and ::/0 default routes
  • Hot switching: change the exit node while the VPN runs without dropping
  • Leak protection: DNS inside the tunnel goes to 1.1.1.1 and 8.8.8.8, and dual-stack routing avoids local network leaks
  • Traffic obfuscation: scrambles P2P packet signatures to evade DPI and ISP throttling
  • QR sharing: export node info as a QR code and join from another device
  • Web console: an embedded HTTP server on port 15858 by default, showing peers, topology and diagnostics

Network Configuration

  • Virtual subnets: 10.0.0.0/8 and fd00::/8 by default, with editable CIDRs
  • MTU and DNS: set per node; use an encrypted resolver for DNS
  • Peer lists: bootstrap peers, static peers, advertised subnets and the allowlist are managed separately
  • Exit node: use automatic mesh routing or pin a specific peer for the default route
  • Diagnostic log: keyword search, level filters, pause and one-tap copy

Target Audience

  • Technical users linking a phone, NAS and home server into one private network
  • Developers needing access to internal services while traveling
  • Users who prefer not to route traffic through a centralized mesh service
  • Gamers who want a temporary LAN across several devices

Install and Permissions

  1. Download the package from GitHub Releases, or build it from source
  2. Grant the system VPN permission on first connect; a persistent notification appears
  3. Import or scan node information and make sure the virtual subnet does not clash
  4. Open the web console after connecting to check peers and routes
  5. Building from source needs JDK 17 and Android SDK API 34+; output lands in mobile/build/outputs/apk/

System Requirements

Item Requirement
OS Android 12 (API 31) or later
Build environment Android Studio Ladybug, JDK 17, SDK API 34+
Network Reachable bootstrap peers or a relay
Permissions System VPN authorization, network and notification access

Notes

  • Android 12 minimum: the build sets minSdk to 31, so older devices cannot install it
  • Relay is not direct: when hole punching fails, throughput is limited by the relay node's bandwidth
  • Exit nodes are peer-provided: if that peer goes offline or throttles, the default route suffers
  • Obfuscation is not anonymity: it changes packet signatures only and cannot guarantee usability under hard blocking

Release history

Sort