Gonc – Netcat with P2P Nat Traversal

(github.com)

17 points | by gonc_cc 2 days ago

2 comments

  • nicman23 2 hours ago
    there are public stun servers ???
  • gonc_cc 2 days ago
    A simple example:

    On one machine:

    `echo Hello | gonc -p2p <passphrase>`

    On the other:

    `gonc -p2p <passphrase>`

    The second machine will print:

    `Hello`

    Both sides use the same command and passphrase. There is no separate server/client role.

    If NAT traversal succeeds, a direct connection is established. There is no relay by default.

    • thenthenthen 35 minutes ago
      Would this work in china > outside (and vice versa)