README: Update STUN server.

This commit is contained in:
hev
2024-04-13 23:46:08 +08:00
parent d2183a4d58
commit 9bfae167a6

View File

@@ -62,10 +62,10 @@ Forward options:
```bash
# TCP
natmap -s stunserver.stunprotocol.org -h example.com -b 80
natmap -s turn.cloudflare.com -h example.com -b 80
# UDP
natmap -u -s stun.qq.com -b 443
natmap -u -s turn.cloudflare.com -b 443
```
In TCP mode, this program will establishs a TCP port mapping in two steps:
@@ -102,10 +102,10 @@ remotely. This works in Linux kernel 5.6 and later, and needs to run as root.
```bash
# TCP
natmap -s stunserver.stunprotocol.org -h example.com -b 80 -t 10.0.0.2 -p 80
natmap -s turn.cloudflare.com -h example.com -b 80 -t 10.0.0.2 -p 80
# UDP
natmap -u -s stun.qq.com -b 443 -t 10.0.0.2 -p 443
natmap -u -s turn.cloudflare.com -b 443 -t 10.0.0.2 -p 443
```
Similar to bind mode, this program will listening on bound port and accepts the