Specify game server IP address

Options
-PUN 2
-Selfhosted Photon Server

Question: Can my app specify the IP address of the game server it connects to?

Details:
Right now my app chooses the IP address for the master server it connects to, which is great. But then the master server redirects the app to the game server IP address of it's choosing. Instead, I want to specify a different IP address.

This is because my server has multiple network interfaces. Some network clients are only supposed to use interface 1 (IP address 1), and other clients are only supposed to use interface 2 (IP address 2). This should work, since I believe the game server and master server (and any web service) are accessible on both interfaces.

The problem is the PUN client automatically uses the game server IP address sent to it by the master server. I don't want to use that IP address, I want to be able use the computer's second IP address.

Comments