16 points | by gonc_cc 2 days ago ago
3 comments
there are public stun servers ???
Here’s a regularly updated list of them [0].
0 - https://github.com/pradt2/always-online-stun/tree/master
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.
there are public stun servers ???
Here’s a regularly updated list of them [0].
0 - https://github.com/pradt2/always-online-stun/tree/master
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.