Skip to content

issues matching players between private and public networks #106

@JimPanama

Description

@JimPanama

Hi. I've been trying to allow matchmaking between players from a private network (the server is hosted here and at least one client lives here) and players on external networks (i.e. external players connecting to the server).

However, when both players are connecting to the server and matchmaking begins, the following occurs:

Server (Network A) logs in Player 1 who is also in Network A. Server reads Player 1's private ip (e.g. 192.168.0.10). The Server and Player 1 technically both share the same public IP.

Player 2 logs in from another network and server reads Player 2's external, public IP (e.g. 123.456.789.123).

When the matchmaking starts, the Server is passing on Player's 1 private IP to Player 2, who is not able to connect to this IP. This behavior is confirmed through wireshark, where Player 2 is continuously attempting to connect to private IP 192.168.0.10. In order to allow this connection the server would have to pass Player 1's public IP (or the server own's public IP) to Player 2.

Are there any workarounds recommended on this from the server side? Any and all input would be appreciated.

Server version: 1.4.2 on linux
Games tested where this occurs: Tekken tag tournament 2, Tekken 5 DR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions