mirror of
https://github.com/heiher/natmap.git
synced 2026-09-03 06:25:42 +08:00
README: Update STUN server.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user