pion / stun

A Go implementation of STUN
https://pion.ly/
MIT License
601 stars 91 forks source link

Does it support ipv6? #96

Closed dosgo closed 1 year ago

dosgo commented 2 years ago

Does it support ipv6? Although our ipv6 does not have a nat, the superior route has a firewall, and the inbound is completely blocked, and because it is a 4G network, the firewall settings cannot be changed. I am wondering whether stun can be used in ipv6.

drgkaleda commented 1 year ago

Yes it can. c, err := stun.Dial("udp", "stun.l.google.com:19302") Experiment with "udp", "udp6" and "udp4" here

ashellunts commented 1 year ago

Closing the issue. @dosgo you can reopen if you still have a question.