skullernet / q2pro

Enhanced Quake 2 client and server
GNU General Public License v2.0
248 stars 86 forks source link

NAT Punchthrough #332

Closed VinnyVicious closed 11 months ago

VinnyVicious commented 11 months ago

Playing online with friends right now is a bit convoluted and the easiest way out is using something like Hamachi. In FTEQW sv_public 2 uses TCP to connect to the master server instead of UDP, which allows the client and server to exchange address information.

https://sourceforge.net/p/fteqw/code/HEAD/tree/trunk/engine/server/sv_main.c#l120

skullernet commented 11 months ago

No master server for Quake 2 supports this AFAIK, and implementing custom master server is out of scope of Q2PRO project. NAT punchthrough is outdated and unreliable technology, use IPv6 instead which eliminates NAT.