'use client';
import { motion } from 'framer-motion';
import { Router, Globe, Shield } from 'lucide-react';
export default function NATTraversalDiagram() {
return (
{/* Local Network */}
Local Network
- • Device 1: 192.168.1.10
- • Device 2: 192.168.1.11
- • Device 3: 192.168.1.12
{/* NAT Device */}
NAT Router
Public IP: 203.0.113.1
Function:
- Maps private IPs to public ports
- Maintains connection state
- Blocks unsolicited incoming traffic
{/* Internet */}
Internet
Challenge:
- Devices behind NAT can't receive direct connections
- UDP hole-punching creates temporary openings
- CGNAT adds additional complexity
P2NS Solution: Holesail uses advanced UDP hole-punching techniques and relay servers
to establish connections even through multiple layers of NAT and CGNAT.
);
}