Game Development Community

Dedicated server sending local ip

by B. Burton · in Torque Game Engine · 03/08/2008 (11:52 pm) · 2 replies

I have a little problem.. hopefully someone can point me in the right direction.

I have setup a dedicated server on linux (Fedora 8). It is compiled and running. When I run it and it send it's heartbeat, it is sending the local ip from behind my DSL firewall (2wire):
Sending heartbeat to master server [IP:192.168.1.101:28002]

I have configured port forwarding on the router, but obviously, if it is sending a bad IP to the master server, the client will never be able to connect.

I see a couple of solutions:
1) fix it so that it sends the right IP on the heartbeat
or
2) skip the master server and have the client directly connect to the dedicated server.

My question (PLEA!) is HOW to do one of these, or, if you have a better solution, please share it!
I'm under a real time crunch (this is part of a research project) so any suggestions would be appreciated!

Thanks!
Brian

#1
03/11/2008 (2:21 pm)
No one else has had this problem???
#2
03/16/2008 (3:32 am)
When I did this, the IP of my router got sent.

I think. It did work, however, allowing people outside my LAN on the net to connect.

And now that I think about it, I don't know why or how it could have worked...I woulda guessed it would do what yours did.