Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 29-May-2020 | - | ||||
README.md | H A D | 29-May-2020 | 461 | 14 | 11 | |
main.go | H A D | 29-May-2020 | 6 KiB | 257 | 200 |
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