Question - NAT Punch-through
Closed this issue · 4 comments
onehundredfeet commented
Hi,
I can't seem to find any NAT punch-through logic in Yojimbo. Is there a natural path to extending the matcher system to include nat-punch through to allow a host and client to see each other across a NAT?
Cheers,
Ryan.
gafferongames commented
Not supported. Yojimbo is for client/server games where the server has a public IP address.
eidetic-av commented
@onehundredfeet for anyone thinking of this, it may be possible to use this library in conjunction with a STUN server to determine the external IP required for communication behind a NAT.
lolirelia commented
@gafferongames I imagine it's still sufficient for P2P if both players are able to traverse NAT through other means?
gafferongames commented
Potentially, but unsupported.