π¦ ClawHub
WireGuard
by @ivangdavila
Configure WireGuard VPN tunnels with secure routing and key management.
TERMINAL
clawhub install wireguardπ About This Skill
name: WireGuard description: Configure WireGuard VPN tunnels with secure routing and key management. metadata: {"clawdbot":{"emoji":"π","requires":{"bins":["wg"]},"os":["linux","darwin","win32"]}}
AllowedIPs Traps (Most Common Mistakes)
AllowedIPs means different things on each side β server: what peer CAN send; client: what to ROUTE through tunnel0.0.0.0/0 routes ALL traffic including tunnel endpoint β breaks connectivity, must exclude server's public IP first/32 for single host, /24 for subnet, verify carefullyConnection Failures
PersistentKeepalive = 25 breaks NAT traversal β peer behind NAT unreachable after ~2 minutesDNS Leaks
DNS = in client config, DNS queries bypass tunnel β leaks real IP to DNS provider0.0.0.0/0) without DNS config = false sense of security β traffic tunneled but DNS exposedRouting Setup
Key Security
Live Changes
wg set for live changes without dropping connectionswg syncconf applies changes without restart β but config file format differs from wg.conf (use wg-quick strip)Debugging
wg show displays handshake timestamps β stale handshake (>2 min) means connection dead despite interface up