Topic: pvpgn/d2gs internal/external server setup issue
I have followed tutorials on setting up my server.
I am no stranger to setting up servers as I am a System Admin by profession and I set up game servers regularly...
However, some of the instructions in the tutorial are not as clear to me or conflicting...or lost in translation...
My network setup:
I have a server box that currently hosts:
City of Heroes server
Assetto Corsa server
DayZ Standalone Server
Minecraft Bedrock Server
And I have the Pvpgn and D2gs running on it accessible from outside the network.
The external ip of the server is: 18.104.22.168
The internal ip of the server is: 192.168.1.89
I have a domain name pointed to my static ip: coheastrp.net
22.214.171.124 is a static IP on a 400+Mb / 30Mb connection
I am trying to play the game from another computer internally at: 192.168.1.94
A friend is playing externally from outside the network.
He creates a game and I can see the game, but when I try to join the game I get "Failed to join game"
I have tried forwarding ports TCP/UDP to 192.168.1.89: 4000, 6112-6114, 8888, 16112
Then forwarding port TCP/UDP 16113 to 192.168.1.94... as per Joe Schmoe's conf examples and tutorial...
The issue must be related to Game Translations for clients/games section of the Address_Translation.conf...
What I am confused with is the server is listening on ports 6112-6113 but Joe's instructions say have it listen on port 16113 for traffic from local IPs but... the server default is 6112... how does it route the packets properly? How does my computer know to send the packets to the server properly?
I can only forward a port to one computer in the router... either to 192.168.1.89 or 192.168.1.94... I can't forward it to both... so... if I want my internal computer to talk to the external clients so I can join my friend's created game...
I need to be able to understand how to forward my port properly for this according to how this config file is asking in proper syntax.
In the Game Translations for clients/games section:
How do I configure the ports for my server and internal client (I'm changing the port from 16113 to simply 6118)
192.168.1.89:XXXX 126.96.36.199:XXXX 192.168.1.0/24 ANY
192.168.1.94:XXXX 188.8.131.52:XXXX 192.168.1.0/24 ANY
Then in my router, which do I forward?
Seems to me that the client should be forwarded to send traffic on the port that I tell the server to listen on in the config from above... so if I say in the config listen on 6118 for traffic from 192.168.1.94 on port 6118 I would need to do a single port forward of external 6118 / internal 6112 from IP 192.168.1.94
I've tried this and still got the Failed to join game...unless my game is sending out from a different port than 6112 (isn't it 4000 from the game client???)
Do I need to forward ports on my friend's router???
Or am I missing something else entirely?