# P2P VPN

## <mark style="color:purple;">Mesh P2P VPN</mark>

Decentralized routing with verifiable paths. No central VPN company, no logs, no chokepoints.

![P2P VPN](https://macro-browser-gitbook.netlify.app/images/features/p2p-vpn.svg)

***

```
┌───────────────┐      ┌───────────────┐      ┌───────────────┐
│  Your Device  │◄────►│  Peer Network  │◄────►│  Destination  │
└───────────────┘      └───────────────┘      └───────────────┘
     ▲                        ▲
     │                        │
┌───────────────┐      ┌───────────────┐
│ Crypto Payment│      │ Peer Discovery│
│    System     │      │    Service    │
└───────────────┘      └───────────────┘
```

### <mark style="color:purple;">The Centralized VPN Problem</mark>

Traditional VPNs just shift trust:

* VPN provider sees all your traffic
* Single point of failure
* Opaque routing—you trust blindly
* Jurisdiction concerns

You've created a new chokepoint.

### <mark style="color:purple;">Mesh Architecture</mark>

Traffic routes peer-to-peer through the Macro network:

* No central VPN company
* No single logging point
* Distributed routing across global nodes

Each node only knows previous hop and next hop. Nobody sees the full path.

### <mark style="color:purple;">Route Verification</mark>

Unlike traditional VPNs, you can see your privacy:

* **Real-time route visualization** - Watch your traffic path
* **Health metrics per hop** - Monitor connection quality
* **Automatic re-routing** - If a path degrades, auto-switch
* **Transparent node info** - See node operators

**One line:** Private routes with no middleman and you can see it working.

### <mark style="color:purple;">How It Works</mark>

1. Your traffic enters the mesh network
2. Routes dynamically through multiple Macro nodes
3. Each node only knows previous and next hop (onion-style)
4. Exits through geographically distributed exit nodes
5. Health monitoring ensures quality

### <mark style="color:purple;">Node Network</mark>

**Operated by:**

* Macro ecosystem participants
* $MACRO stakers earning rewards
* Community node operators

**Geographic distribution:**

* North America, Europe, Asia, others
* Choose exit location
* Optimized routing for speed and privacy

### <mark style="color:purple;">Performance</mark>

Mesh routing is optimized for speed:

* Smart routing algorithms minimize latency
* Health-based node selection
* Automatic failover to faster paths
* Load balancing across nodes

Fast privacy, not slow privacy.

### <mark style="color:purple;">Route Health Monitoring</mark>

Live visibility into your connection:

* **Green indicator** - Healthy route, optimal performance
* **Yellow indicator** - Route degraded, auto-rerouting in progress
* **Red indicator** - Connection issue, manual intervention may be needed

Always know your privacy status.

### <mark style="color:purple;">Exit Node Selection</mark>

Choose where your traffic appears to come from:

* Auto (best performance)
* Specific country/region
* Nearest to destination (fastest)
* Random (maximum privacy)

### <mark style="color:purple;">Kill Switch</mark>

If VPN connection drops, kill switch protects you:

* Blocks all traffic if VPN disconnects
* Prevents IP leaks
* Automatic reconnection attempts
* Configurable per Privacy Profile

### <mark style="color:purple;">DNS Privacy</mark>

When VPN is active:

* All DNS queries routed through mesh
* DNS over HTTPS (DoH)
* No DNS leaks
* Query anonymization

### <mark style="color:purple;">Integration with Profiles</mark>

VPN settings respect Privacy Profiles:

* **Work profile** - VPN auto-connects, exit node: home country
* **Degen profile** - VPN always-on, exit node: random
* **Anon profile** - VPN forced-on, kill switch enabled, exit node: random

Each profile configures VPN independently.

### <mark style="color:purple;">Bandwidth & Fair Use</mark>

**Free tier:**

* Standard bandwidth allocation
* Access to mesh network
* Basic route selection

**$MACRO holders:**

* Priority routing
* Higher bandwidth allocation
* Advanced exit node selection
* Reduced latency

### <mark style="color:purple;">Node Operation</mark>

Run a Macro VPN node:

* Earn $MACRO rewards
* Support the network
* Stake $MACRO to operate
* Reputation system for quality

Decentralized privacy infrastructure.

***

Private routes. No middleman. Verifiable.
