mas-bandwidth/yojimbo

Question - NAT Punch-through

Closed this issue · 4 comments

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.

Not supported. Yojimbo is for client/server games where the server has a public IP address.

@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.

@gafferongames I imagine it's still sufficient for P2P if both players are able to traverse NAT through other means?

Potentially, but unsupported.