.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old March 11th, 2004, 07:04 PM

Spacepain Spacepain is offline
Corporal
 
Join Date: Mar 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Spacepain is on a distinguished road
Default Hosting Behind A Router?

Is is feasible to host or play from behind a router? I and several friends would like to be able to play against eachother, but we all have routers. We've tried PBEM, but we've hated it.

[ March 11, 2004, 17:05: Message edited by: Spacepain ]
Reply With Quote
  #2  
Old March 11th, 2004, 07:47 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Hosting Behind A Router?

Totally possible. Dominions II uses only a simple, straightforward TCP/IP connection. Just forward the port you're hosting Dominions II on, and it'll work perfectly. You don't even really need fancy routing, even a crude relay daemon would do the job.
Reply With Quote
  #3  
Old March 11th, 2004, 08:22 PM
Unwise's Avatar

Unwise Unwise is offline
Corporal
 
Join Date: Jan 2004
Location: Virginia
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Unwise is on a distinguished road
Default Re: Hosting Behind A Router?

To expand a bit, “port forwarding” is an operation in which you open a port in your router’s firewall and any traffic that comes into that port gets sent to a specified machine. It is set up in your router’s configuration page.

It should ask you to specify the IP of the machine that you want the forwarding to go to, which might mean that you have to turn DHCP off.

You then set up the server on the machine and set the port number to be the port that you just opened. When the server comes up, it will identify itself as having the IP of your computer (e.g., 192.168.0.101), but that is not the IP you want to give your friends – give them the IP of the router.

Incidentally, this is only needed for hosting – contacting a server does not require doing anything to your router.
Reply With Quote
  #4  
Old March 11th, 2004, 08:40 PM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: Hosting Behind A Router?

Additional comment, since I asked a similar question a few weeks ago, and got it explained to me: when connecting from inside your LAN, you'll have to use the LAN IP adress of the server, not the outside IP of the router.

Here's an example: my router IP is 123.456.789.012 (yes, I know it's bogus), and my computer is 192.168.0.243 on the LAN. On my router, I setup port forwarding from, say, port 11111 to IP 192.168.0.243, port 10000.

On my home computer, the server runs on port 10000. If I want to connect to it from the same computer, I use IP 192.168.0.243, port 10000.

If some friend from outside has to connect, he'll use IP 123.456.789.012, port 11111.
Reply With Quote
  #5  
Old March 11th, 2004, 08:41 PM

Spacepain Spacepain is offline
Corporal
 
Join Date: Mar 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Spacepain is on a distinguished road
Default Re: Hosting Behind A Router?

Awsome! Thanks... are certain ports more appropriate for forwarding than others?
Reply With Quote
  #6  
Old March 11th, 2004, 08:54 PM
Argitoth's Avatar

Argitoth Argitoth is offline
Lieutenant Colonel
 
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
Argitoth is on a distinguished road
Default Re: Hosting Behind A Router?

Quote:
Originally posted by Spacepain:
Awsome! Thanks... are certain ports more appropriate for forwarding than others?
Yes, don't forward 1337 unless you are one of them types...
__________________
Composer, Sound Designer, www.elanhickler.com
Reply With Quote
  #7  
Old March 11th, 2004, 09:45 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Hosting Behind A Router?

Quote:
Originally posted by Argitoth:
Yes, don't forward 1337 unless you are one of them types...
Heh. Yes, I remember we *TRIED* making the game run on port 31337, but players were unable to connect because of their firewalls automatically blocking that port for some unknown reason.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.