Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 370 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 370 Bytes

gochecknat

A simple Goland tool, that

  • gets the public IP address
  • checks if the network is behind an asymmetric NAT (useful information for UDP hole punching).
go get github.com/audi70r/gochecknat

gochecknat.GetNATInfo() will return information about public ip, a port, that is assigned by the NAT and whether the called is behind a symmetric NAT.