测试当前网络的 NAT 类型(STUN)

Bruce Wayne f6938f5f55 Drop %!s(int64=5) %!d(string=hai) anos
NatTypeTester 2a85185975 Fix bugs %!s(int64=5) %!d(string=hai) anos
NatTypeTester-Console d040f03f6f init %!s(int64=5) %!d(string=hai) anos
STUN f6938f5f55 Drop %!s(int64=5) %!d(string=hai) anos
UnitTest 44cf022fca Use new client %!s(int64=5) %!d(string=hai) anos
pic 7bafb0aecd Update preview %!s(int64=6) %!d(string=hai) anos
.editorconfig d040f03f6f init %!s(int64=5) %!d(string=hai) anos
.gitignore 3fe3bbf5c4 Initial commit %!s(int64=7) %!d(string=hai) anos
LICENSE 3fe3bbf5c4 Initial commit %!s(int64=7) %!d(string=hai) anos
NatTypeTester.sln 214832d702 Add UnitTest %!s(int64=5) %!d(string=hai) anos
README.md dfbc1ae47f Update README.md %!s(int64=6) %!d(string=hai) anos

README.md

NatTypeTester

  • RFC 3489
  • [ ] RFC 5389

  • [x] IPv4

  • [ ] IPv6

Preview

STUN Server

Docker

docker pull hmbsbige/stunserver
docker run -d --restart=always --net=host --name=stunserver hmbsbige/stunserver --mode full --primaryinterface $IP1 --altinterface $IP2