https://github.com/leejet/nat-probe
NAT Probe using STUN
https://github.com/leejet/nat-probe
Last synced: about 2 months ago
JSON representation
NAT Probe using STUN
- Host: GitHub
- URL: https://github.com/leejet/nat-probe
- Owner: leejet
- License: mit
- Created: 2024-06-02T10:18:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T10:28:11.000Z (about 2 years ago)
- Last Synced: 2026-01-01T14:35:38.601Z (5 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NAT Probe using STUN
## Usage
```sh
$ go install github.com/leejet/nat-probe
$ $GOPATH/bin/nat-probe
```
```sh
Usage of nat-probe:
-b string
bind UDP socket to a specific local address (default "0.0.0.0")
-s string
STUN server address (default "stun.syncthing.net:3478")
-t int
the number of seconds to wait for STUN server's response (default 3)
-v verbose
```
## Build
```
go mod tidy
go build
```
## Credits
- [pion/stun](https://github.com/pion/stun) - A Go implementation of STUN