Games Support Forums BioWare Info My Account Login Community Sign Up Store
Neverwinter Nights 2 Forums

NWN2: Technical Support (Self-Help)

New Topic    Locked

Go to Page ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 Next )

    Add this To My Topics

   Go To Bottom

Author NWN2 Router / Firewall Ports
Ronarc_Chopper
Game Owner
Profile: Ronarc_ChopperNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 21 Sep 2003
Posted: Thursday, 02 November 2006 06:05PM
All the ports were posted in the readme, and there are a lot of them... They are as follows.
"V. GameSpy Firewall Ports
When you play on a system that is behind a firewall or proxy, certain ports may need to be opened to connect to multiplayer games. Ports 3658, 3659, 6500 and 27900 may need to be opened so the GameSpy servers can see the game.
Please consult your network administrator or your router manufacturer for information on how to set up these ports. You should also install the latest firmware available for your router from the manufacturer
VI. Opening Ports to Play Behind a Firewall
The following ports may need to be opened for GameSpy servers to see the game: 3658, 3659, 3660, 6500, 27900, 28910
GameSpy Arcade may also need the following TCP ports open in order to function properly:
- 6667 (IRC)
- 3783 (Voice Chat Port)
- 27900 (Master Server UDP Heartbeat)
- 28900 (Master Server List Request)
- 29900 (GP Connection Manager)
- 29901 (GP Search Manager)
- 13139 (Custom UDP Pings)
- 6515 (Dplay UDP)
- 6500 (Query Port)
You will also need to open the server port (5121 by default) and the following port for the game stats to be updated correctly: 29920 (Gamestats Server)"

Edited By EvilTypeGuy on 11/03/06 00:54

  Profile: Ronarc_Chopper   Send Message To: Ronarc_Chopper
Ronarc_Chopper
Game Owner
Profile: Ronarc_ChopperNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 21 Sep 2003
Posted: Thursday, 02 November 2006 07:13PM
Bump*

Maybe a mod can sticky this?
  Profile: Ronarc_Chopper   Send Message To: Ronarc_Chopper
TexxZenn
Game Owner
Profile: TexxZennNWN
NWN: SoU
NWN: HotU
SW: KotOR Xbox
Jade Empire
NWN 2
Mass Effect


Joined: 30 Sep 2006
Posted: Thursday, 02 November 2006 07:35PM
Quote: Posted 11/02/06 19:13 (GMT) by Ronarc_Chopper

Bump*

Maybe a mod can sticky this?

I second the "sticky" recommendation.

Good Stuff.
_________________
"Well, that's like your opinion, man..."
  Profile: TexxZenn   Send Message To: TexxZenn
kimbambaman
Game Owner
Profile: kimbambamanNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 10 Jul 2002
Posted: Thursday, 02 November 2006 07:38PM
Quote: Posted 11/02/06 19:35 (GMT) by TexxZenn

Quote: Posted 11/02/06 19:13 (GMT) by Ronarc_Chopper

Bump*

Maybe a mod can sticky this?

I second the "sticky" recommendation.

Good Stuff.

I third it.
  Profile: kimbambaman   Send Message To: kimbambaman
EvilTypeGuy
Moderator
Moderator

Joined: 26 Apr 2002
Posted: Friday, 03 November 2006 12:54AM
Quote: Posted 11/02/06 19:13 (GMT) by Ronarc_Chopper

Bump*

Maybe a mod can sticky this?

*waves Mod wand* *booming voice* Wish granted!
_________________
That's BioMod, not BioWare. As such, I do not represent the views of BioWare. SPOON!
  Profile: EvilTypeGuy   Send Message To: EvilTypeGuy
Ronarc_Chopper
Game Owner
Profile: Ronarc_ChopperNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 21 Sep 2003
Posted: Friday, 03 November 2006 02:10AM
Nice. I appreciate the help with making the topic stickied. Hopefully people will find this useful.
  Profile: Ronarc_Chopper   Send Message To: Ronarc_Chopper
huskylord
Game Owner
Profile: huskylordNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 17 Oct 2001
From: toronto, ontario
Posted: Friday, 03 November 2006 01:07PM
I'll have to give this a try...I was trying to connect with my brother (playing through his router) and me at my home through my cable internet connection...couldn't get it to work...hopefully these help
_________________
"Next to a Pit Fiend...I'm a pretty nice kind of guy "
  Profile: huskylord   Send Message To: huskylord
K0MBATT
Game Owner
Profile: K0MBATTNWN 2


Joined: 02 Nov 2006
Posted: Friday, 03 November 2006 07:19PM
So what does it mean if you set your router to DMZ, you deactivate norton firewalls, and you deactivate windows firewalls and it STILL won't connect?

I put all those ports you listed in my windows firewall list... and I turned off norton. Set them all to UDP (like the tech notes say), and that didn't help.

I'm in the process of putting all those ports within my router as well... but i set it to DMZ for kicks and it still didn't work. from what i understand setting it to that means that there are NO firewalls on my router. so i don't think setting these individual exeptopns on my router is the issue.

I think the program is screwed.

A word to any computer software company... if you don't have phone tech support... don't sell software.
  Profile: K0MBATT   Send Message To: K0MBATT
Ronarc_Chopper
Game Owner
Profile: Ronarc_ChopperNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 21 Sep 2003
Posted: Friday, 03 November 2006 07:30PM
You know, I actually tried the ports and they didn't work at first...

However, I opened them in massive amounts to encompass most of it, and it works fine.

I guess I would say... Open 2000-30000 while you're playing, and then just close them afterwards, if it's a big deal to have them open constantly.
  Profile: Ronarc_Chopper   Send Message To: Ronarc_Chopper
K0MBATT
Game Owner
Profile: K0MBATTNWN 2


Joined: 02 Nov 2006
Posted: Friday, 03 November 2006 07:38PM
Quote: Posted 11/03/06 19:30 (GMT) by Ronarc_Chopper

You know, I actually tried the ports and they didn't work at first...

However, I opened them in massive amounts to encompass most of it, and it works fine.

I guess I would say... Open 2000-30000 while you're playing, and then just close them afterwards, if it's a big deal to have them open constantly.

do you mean on the router or in software? Cuz if i set my router to DMZ its like doing what you said.
  Profile: K0MBATT   Send Message To: K0MBATT
greendrage
Game Owner
Profile: greendrageNWN 2


Joined: 03 Nov 2006
Posted: Friday, 03 November 2006 07:47PM
hey, me and my mate have the game and we both live in the same area. yet when one of us makes a game it comes up red for the other one, an wont connect. any ideas why we are both on routers an have opened all the ports. not sure what to do now.
  Profile: greendrage   Send Message To: greendrage
Urlord
Game Owner
Profile: UrlordNWN
NWN: SoU
NWN: HotU
NWN 2
NWN 2: MotB
NWN 2: SoZ


Joined: 02 Jul 2002
From: Douglasville, GA USA
Posted: Friday, 03 November 2006 09:40PM
Hi there - I went through this with D-Link support and I have never been more frustrated. GRRRRR!

Perhaps someone in the NWN comunity who really knows what they are talking about can assist me. Here is my network configuration:

D-Link MBR-1310 Wireless Router. I have three computers connected to it via wireless conection and one connected via a 10/100/1000 ethernet connection.

The wireless computers all have NWN2 installed on them for playing the game (yes, I just spent $150 on three copies). The ethernet connected PC is for my PW server. All the computers are in the same Windows Workgroup.

The Router has the ability to set up 10 Port Forwarding Rules and 10 Application rules. From what I understand, Port Forwarding rules are for a single computer (IP address), while the Application Rules can have a range of IP Addresses.

From the Original Post, the ports that need to be opened are:
3658-3660
6500
27900
28910
6667
3783
27900 (again ?)
28900
29900
29901
13139
6515
6500 (again ?)
5121 (or whatever I set my server port to)
29920

My questions are:

  1. Do all these ports have to be open to do what I want to do?

  2. Which ones do I set up as Application Rules (all mu PCs) and which ones as Port Forwarding Rules (single IP - My server I assume)?

  3. Which are UDP, TCP or Both?


For simplicity, lets call the 4 different computers C1, C2 and C3 for the Client PCs and S1 for the Server. I would love to see a response in this format:

Port Forwarding Rules
Rule 1 = [Computer] [Port Range] [TCP, UDP, Both]
Rule 2 = [Computer] [Port Range] [TCP, UDP, Both]
Rule 3 = [Computer] [Port Range] [TCP, UDP, Both]
...

Application Rules
Rule 1 = [Computer-Computer] [Port Range] [TCP, UDP, Both]
Rule 2 = [Computer-Computer] [Port Range] [TCP, UDP, Both]
Rule 3 = [Computer-Computer] [Port Range] [TCP, UDP, Both]
...

I had problems with some folks not being able to connect with NWN1 and I want to get it right from the start this time.

I appoligize for being so anal about this, but I got som many different answers with NWN1, I though a definitive answer up front would be helpful not only for me but others as well.

Thanks in advance.
_________________
Peace,

Jim (Urlord)
WizardStorm.com
--------------------------
"Can you destroy the earth?
Eee-gad, I hope not? That's where I keep all my stuff."

Edited By Urlord on 11/03/06 21:57

  Profile: Urlord   Send Message To: Urlord
EtherDragon
Game Owner
Profile: EtherDragonNWN
NWN: SoU
NWN: HotU
NWN 2
Mass Effect PC


Joined: 07 Nov 2001
Posted: Friday, 03 November 2006 11:22PM
Solved my own problem...
_________________
~EtherDragon
Builder: Thaates.net
Member: WarCry Secret PW Project (NWN2)

Edited By EtherDragon on 11/03/06 23:24

  Profile: EtherDragon   Send Message To: EtherDragon
gleepism
Game Owner
Profile: gleepismNWN
NWN: SoU
NWN: HotU
NWN 2


Joined: 21 Jul 2003
Posted: Saturday, 04 November 2006 01:37AM
To help quell some confusion, I'm going to go ahead and blast out a quick explanation of routers, port forwarding, NATs and etc.:

A router has a very special purpose. It is there to handle the traffic from one network (the internet, or Wide Area Network--WAN for short) and your internal network (Local Area Network--LAN for short). The reason you need a router is because (in most SOHO applications, we'll ignore the exeptions) the computers on your LAN don't have real Internet Protocol Numbers (IP numbers). They have numbers in one of two special ranges that are resevered for private use. The range is 192.168.nnn.nnn and 10.nnn.nnn.nnn, where the x's are numbers from 1-255. Most routers for home use are designed to use IPs from the 192.168 block (most routers default to 192.168.0.1, for example). An important thing to remember about IP numbers is that the numbers on a network must be unique. No duplicates! They are unique identifiers.

Now, nothing out on the internet gives a flip about any of your computers on the LAN. Those lan computers have private addresses, and what's more, nearly everyone out there with a home router is going to have the same set of private IPs in use. So that router sits behind your broadband modem and uses the IP given to it by your ISP (simplifying a bit, those that know different pipe down). Now your modem has one of the unique IPs on the internet, so people out there can send stuff to that IP. For this example, we'll pretend the IP is 216.35.123.104.

Here's where the router does its work. If you use a web browser on client1, which has the IP 192.168.0.2 to read the nwn2 forums, the browser sends a query to the web server which sends a response back to the computer that queried it. It does NOT send the query to 192.168.0.2, though, it sends it to 216.35.123.104. Your router remembers that the computer with the internal IP 192.168.0.2 sent a query to that webserver so it takes the reply and sends it to that computer.

That right there is what Network Address Translation (NAT) is basically about. Taking the traffic from one network, sending it to another network, then translating the responses back to the correct IPs on the first network. Routers are pretty smart, they know exactly where to send responses.

The problem is, what if someone wants to connect to a computer on the LAN without the LAN computer starting the conversation? Remember, a router cannot send data to the correct computer on its LAN if it doesn't know which computer.

That's where port forwarding comes in. All software that communicates on the internet uses ports. Ports are a way of identifying the program that is running on a computer. A program will grab a port (there's about 65,000 of them available) for its use. Anything going to that port ends up talking to that program. Many common programs even have ports dedicated to their use, or at least for that type of use. Webserver software, for example, uses port 80. A web browser might use port 30,576 to send its query to to a webserver on port 80. The webserver uses port 28,382 to send its data back to the computer, but sends it to port 30,576.

One of the ports listed in the readme is 6667, which is a standard port for IRC (Internet Relay Chat) servers. When you use port forwarding, you tell your router that any data it receives on port 6667 goes to a specific computer on the LAN. So anyone that sends data to port 6667 will end up contacting a specific computer.

Firewalls make the whole process a bit trickier. See, one of the ways a firewall protects computers is that it keeps ports closed. The only time it opens a port is when something on the inside has told the firewall that it is expecting data on that port. In order for port forwarding to work, the administrator has to tell the firewall to keep that port open at all times.

Most people have a firewall and router built into one appliance. Each model is different in how their software is configured. But there is a simple truth:

In order for a computer on the WAN to initiate an exchange of data with a computer on the LAN, the port must be open and it must be forwarded.

Any forwarded ports can only have one destination. Only one computer on the LAN can receive that information. The router will only send it to that one computer.

Now, with all that in mind, here's what I suggest for a simple home network.

Find out what your router's LAN ip is (it has two IPs, one for the internet, the other for the LAN). It will usually be 192.168.0.1. Give any computer you will be port forwarding to a static IP. Such as 192.168.0.2 for your persistant world server.

The reason for the static IP is that the default for most home routers is to use dynamic IPs. Some routers will remember which computer gets which IPs and will consistanty assign the same IP to that computer, but most will not. A computer that is turned off for a while, then started back up can end up with a different IP.

Then configure all those ports to go to the IP you assigned the server. Once you do that, have the ports opened and forwarded to the correct IP, it should all work.



--gleep
  Profile: gleepism   Send Message To: gleepism
Urlord
Game Owner
Profile: UrlordNWN
NWN: SoU
NWN: HotU
NWN 2
NWN 2: MotB
NWN 2: SoZ


Joined: 02 Jul 2002
From: Douglasville, GA USA
Posted: Saturday, 04 November 2006 01:47AM
Thank you for the information on Routers. It was good to read. The problem is that there are over 10 port or port ranges that I must forward to the server and I only have to Port Forwarding Rule slots. Can I use the Application Rule slots for setting them too? What is the difference and which ones are TCP, UDP or Both?

Thanks again!
_________________
Peace,

Jim (Urlord)
WizardStorm.com
--------------------------
"Can you destroy the earth?
Eee-gad, I hope not? That's where I keep all my stuff."
  Profile: Urlord   Send Message To: Urlord

Go to Page ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 Next )

New Topic    Locked

What do these icons mean?
Where can I learn how to use the forums?

Jump To:

Search Forums | Forums FAQ | Forum Archives

 

 

  Visit the Official Site | Technical Support
Neverwinter Nights 2 Official Support
Hide/Show

English
Deutsch
Français
Español
Italiano

Hide/Show

5,994,490 Users
534 Online
47 Logged In

9,000,909 posts in forums

Newest Forum Topics:
1. M.O.W. Internet needed? (NWN2: General discussion forums for NWN2 (No Spoilers Allowed))

2. Script control of encounters? (O... (NWN2: Builders - NWN2 Scripting)

3. Do i need to play BG 1? (Baldur's Gate II: SoA and ToB General Discussion)

4. Memorized Spells ui modification (NWN2: Custom Content)

5. My Dm's Can't log in, DM Client ... (NWN 1: Server Admin)


Current time is: (set time)
Tue, 09 February 2010 09:03PM