Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <hexian000@outlook.com>
  • Loading branch information
hexian000 committed Nov 29, 2024
1 parent 449c29a commit 8645ff0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ Rendezvous mode requires UDP in transport layer, i.e. is incompatible with non-U
{
"connect": "127.0.0.1:25565",
"rendezvous_server": "203.0.113.1:12345",
"service_id": "myservice",
"method": "xchacha20poly1305_ietf",
"psk": "// your key here"
}
Expand All @@ -285,12 +286,13 @@ Rendezvous mode requires UDP in transport layer, i.e. is incompatible with non-U
{
"listen": "127.0.0.1:25565",
"rendezvous_server": "203.0.113.1:12345",
"service_id": "myservice",
"method": "xchacha20poly1305_ietf",
"psk": "// your key here"
}
```

rendezvous_server : server : client = 1 : 1 : n
rendezvous_server : server : client = 1 : m : m*n

Peers should be all IPv4 or all IPv6.

Expand Down

0 comments on commit 8645ff0

Please sign in to comment.