Design and Implementation of a Secure Peer-to-Peer Mesh VPN with NAT Traversal and Relay-Based Connectivity

Virtual Private Networks (VPNs) are widely used to provide secure communication between distributed devices. Traditional VPN solutions typically rely on centralized gateways, introducing performance bottlenecks and single points of fail-ure. Modern mesh VPN architectures address these limitations through direct peer-to-peer communication, dynamic routing, and secure endpoint discovery. This paper presents a peer-to-peer mesh VPN system designed to provide secure, scalable, and efficient communication across heterogeneous networks. The pro-posed architecture combines WireGuard-based tunneling, public-key cryptography, STUN and ICE-based NAT traversal, and relay fallback mechanisms inspired by modern mesh network-ing systems. This enables automatic peer discovery, encrypted communication, dynamic route establishment, and reliable con-nectivity even when direct peer-to-peer communication is not feasible. Experimental evaluation demonstrates throughput of up to 1.2 Gbps with 17 ms latency on local networks, 122 Mbps with 227 ms latency across geographically separated networks, and 21 Mbps with 435 ms latency through relay-assisted communication. The proposed system offers a practical framework for secure de-centralized networking while maintaining simplicity, scalability, and high performance.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-26
DOI
https://doi.org/10.5281/zenodo.20910194
Primary Topic
Peer-to-Peer Network Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and Implementation of a Secure Peer-to-Peer Mesh VPN with NAT Traversal and Relay-Based Connectivity

Sanjay Jondhale, Rutuja Sopan Ghayatad, Aryan Ashok Chaudhari, Kaustubh Bhushan Kolhe
Zenodo (CERN European Organization for Nuclear Research)
Peer-to-Peer Network Technologies
article

Design and Implementation of a Secure Peer-to-Peer Mesh VPN with NAT Traversal and Relay-Based Connectivity

Sanjay Jondhale, Rutuja Sopan Ghayatad, Aryan Ashok Chaudhari, Kaustubh Bhushan Kolhe
article en

Abstract

Virtual Private Networks (VPNs) are widely used to provide secure communication between distributed devices. Traditional VPN solutions typically rely on centralized gateways, introducing performance bottlenecks and single points of fail-ure. Modern mesh VPN architectures address these limitations through direct peer-to-peer communication, dynamic routing, and secure endpoint discovery. This paper presents a peer-to-peer mesh VPN system designed to provide secure, scalable, and efficient communication across heterogeneous networks. The pro-posed architecture combines WireGuard-based tunneling, public-key cryptography, STUN and ICE-based NAT traversal, and relay fallback mechanisms inspired by modern mesh network-ing systems. This enables automatic peer discovery, encrypted communication, dynamic route establishment, and reliable con-nectivity even when direct peer-to-peer communication is not feasible. Experimental evaluation demonstrates throughput of up to 1.2 Gbps with 17 ms latency on local networks, 122 Mbps with 227 ms latency across geographically separated networks, and 21 Mbps with 435 ms latency through relay-assisted communication. The proposed system offers a practical framework for secure de-centralized networking while maintaining simplicity, scalability, and high performance.

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Openalex Percentile: Top 4%
Peer-to-Peer Network Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.