WireGuard: il protocollo VPN moderno
WireGuard VPN
WireGuard è un protocollo VPN moderno, veloce e sicuro.
Caratteristiche
- Velocità: Più veloce di OpenVPN e IPsec
- Semplicità: ~4000 righe di codice (vs 400.000 di OpenVPN)
- Crittografia moderna: ChaCha20, Curve25519
- Efficiente: Ottimo per mobile (batteria)
- Kernel-level: Integrato nel kernel Linux
Confronto Performance
| Protocollo | Throughput | Ping |
|---|---|---|
| WireGuard | ~1000 Mbps | ~0.4ms |
| OpenVPN | ~400 Mbps | ~1.5ms |
| IPsec | ~600 Mbps | ~1.0ms |
Configurazione Base
[Interface] PrivateKey = tua_chiave_privata Address = 10.0.0.2/24 DNS = 1.1.1.1 [Peer] PublicKey = chiave_pubblica_server Endpoint = server.vpn.com:51820 AllowedIPs = 0.0.0.0/0
Supporto
- Linux (kernel nativo)
- Windows, macOS, iOS, Android
- Integrato in molti provider VPN
Limitazioni
- IP statico per peer (problemi privacy)
- UDP only (alcuni firewall lo bloccano)