• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..29-May-2020-

README.mdH A D29-May-2020461 1411

main.goH A D29-May-20206 KiB257200

README.md

1# NAT behaviour discovery using STUN (RFC 5780
2
3This is an example of how to use the pion/stun package for client-side NAT
4behaviour discovery. It performs two types of tests: one to determine the
5client's NAT filtering behaviour, and one to determine the NAT mapping
6behaviour. The option exists to provide a STUN server as a command-line
7argument.
8
9Usage:
10```sh
11$ go get github.com/pion/stun/cmd/stun-nat-behaviour
12$ stun-nat-behaviour --server [IP:port]
13```
14