SO i finally got a second computer, and am runing a second server on it.
Small problem.
I can change the auth server port, so I can forward it at the router.
The source also uses another port for communication between the auth and game server. I suspect this needs no forwarding.
Problem is the gameserver port is stuck on 5816, with no way to change it.
Okay, so no problem. I recompile and change the port, right?
Not so fast... The client still connects to 5816.
Oh wait, looks like i missed a change in a packet. The authresponse packet directs the client to the game server, and seems to have a port in it (hex b8 16). SO i change that. to (0xb9 0x16) (5017 lsb first) Should fix it, right?
NO dice. client STILL goes to 5816, ignoring the port specified in the authresponse packet.
Is Hamachi the only real answer here???
Small problem.
I can change the auth server port, so I can forward it at the router.
The source also uses another port for communication between the auth and game server. I suspect this needs no forwarding.
Problem is the gameserver port is stuck on 5816, with no way to change it.
Okay, so no problem. I recompile and change the port, right?
Not so fast... The client still connects to 5816.
Oh wait, looks like i missed a change in a packet. The authresponse packet directs the client to the game server, and seems to have a port in it (hex b8 16). SO i change that. to (0xb9 0x16) (5017 lsb first) Should fix it, right?
NO dice. client STILL goes to 5816, ignoring the port specified in the authresponse packet.
Is Hamachi the only real answer here???