Replies: 1 comment 3 replies
-
The question of NATs doesn't really come into play if you're not trying to make your players to be public nodes or some such. As long as your nodes/players have an outbound connection to the network (public node or other node that can reach the global network)—they can reach each other “directly” right away, using their keys (if you have a custom ygg integration, like yggmail) or their ygg IPs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am considering using Yggdrasil to add globally accessible IPv6 addresses to nodes in my p2p cloud gaming project: https://borg.games/
Basically the idea is that nodes will connect to the public Yggdrasil overlay and that will allow games running on them to connect to each other directly by IP address or by using a custom DNS server.
The issue is most of the nodes are behind various NATs and sometimes UPnP and other port forwarding mechanisms are not available.
Is there a built-in NAT traversal mechanism in Yggdrasil? Since QUIC is supported, it should in theory be possible to use UDP hole punching.
P.S. for IPv4 I am using https://github.com/slackhq/nebula/ which actually does have one in a form of "lighthouses"
Beta Was this translation helpful? Give feedback.
All reactions