Gonc – Netcat with P2P Nat Traversal
Summary
Gonc is a Golang-based netcat-like tool that enables automated P2P NAT traversal with passphrase-based mutual authentication and end-to-end encryption using TLS for TCP and DTLS for UDP. It supports flexible services such as remote shells, HTTP file sharing, and SOCKS5 proxies, and relies on STUN and MQTT for address exchange without relays. The repo also documents NAT-type diagnosis, MQTT coordination, and an optional SOCKS5 relay for fallback when P2P fails.