NAT Punch failed

Options
Hello everybody,

I am new to unity and Photon, I already built one game with Photon PUN, and that is working, now I would like to build a second game, with fast moving airplanes, and because of that I would like to include Photon Bolt to sync the fast moving airplanes. All works well so far, but I would like to connect two internet players with a direct connection, but for that the NAT Punch fails always and the connection stays a relay photon cloud connection.
It works in LAN, but it does not work over internet. I forwarded the server port in my router, however in the debug info my local STUN info hast two IP adresses, my local IP with my assigned server port, and my WAN IP with a random port. Can I specify the WAN port of my local STUN info? And forward that im my router as well? Could that be the reason the NAT punchthrough fails ? I do not know that much about NAT and networking. If someone knows a guide or some help, I would be very thankfull.

Comments