Creating multiple servers behind a router
by Julien Millet · in Torque Game Engine · 03/31/2005 (6:55 am) · 5 replies
I have an issue with online playing.
If you want to create multiple servers behind a router, you cannot forward ports to each computer, as you have to specify on the router the computer behing port-forwarded. Is there any other solution ? (TNL ?)
If you want to create multiple servers behind a router, you cannot forward ports to each computer, as you have to specify on the router the computer behing port-forwarded. Is there any other solution ? (TNL ?)
#2
Firewalls/routers are pretty explicit devices, you have to specify what you are lettin thru. It's a feature. Unless I miss something in what you are saying Pat?
03/31/2005 (10:26 am)
Won't the firewall still block the inbound connection?Firewalls/routers are pretty explicit devices, you have to specify what you are lettin thru. It's a feature. Unless I miss something in what you are saying Pat?
#3
03/31/2005 (10:43 am)
I'm pretty sure a conneciton between two firewalled machines can be made if a third, non-firewalled machine deals with the handshaking and "plugs" the two connections together.
#4
Unless the idea is to make the master server a repeater for the connection, I have no idea how that could possibly work when both are behind firewalls.
03/31/2005 (12:09 pm)
You can instruct the firewalled server to make an outgoing connection to the player - if the player isn't behind a firewall.Unless the idea is to make the master server a repeater for the connection, I have no idea how that could possibly work when both are behind firewalls.
#5
I read it was a non-sens doing that (hard work for small results). I guess I have to say goobye to have my game playable in cybercafes T.T
04/01/2005 (7:54 am)
So this means that it's not supported by TGE, that I need to buy TNL and make it TGE compliant ? ^^I read it was a non-sens doing that (hard work for small results). I guess I have to say goobye to have my game playable in cybercafes T.T
Torque 3D Owner Pat Wilson
Server says to Master Server: "Hi I'm a server at this address (could be behind a firewall)"
Master Server says to server: "Ok cool, I will add you to the list."
Player joins and says to Master Server: "Give me all the servers!"
Master Server says to Player: "Ok here you go."
Player says to Master Server: "I want to join this server, but I can't ping it."
Master Server tells Server: "Start an arranged connection with this player."
Master Server tells Player: "I am arranging a connection between the two of you."
The Master Server then sets up a direct connection from the Player to the Server. The player can be behind a firewall, the server can be behind a firewall, both can be...it doesn't matter. It's a very powerful technique.