$ curl https://git.zx2c4.com/wireguard-tools/plain/contrib/ncat-client-server/client-quick.sh | bash -

Learn more at WireGuard.com.