Skip to content

Commit

Permalink
README: Update STUN server.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Apr 13, 2024
1 parent d2183a4 commit 9bfae16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9bfae16

Please sign in to comment.