When to port forward?

Get answers to your Shareaza related problems.
Forum rules
Home | Wiki | Rules

When to port forward?

Postby siavoshkc » 06 Jun 2010 21:16

It may seem a weird question because I don't know what exactly am I asking.

When people do need to configure port forwarding? I have connected my two PCs to internet without port forwarding. In what situation this won't work? Is it because of old routers which don't do NAT?
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: When to port forward?

Postby aaron_walkhouse » 07 Jun 2010 02:44

It is because of routers that do.

The router has to know which of your computers to send the incoming connection to, so you give it a rule
for a specific port number for one computer and another port number for the second computer.

The router then routes the incoming connection to the right computer when the incoming connection for a certain port.

Make sure your Shareaza uses different ports on each computer so the router can serve both of them.
User avatar
aaron_walkhouse
 
Posts: 78
Joined: 14 Jun 2009 03:09
Location: My igloos melt in June.

Re: When to port forward?

Postby siavoshkc » 07 Jun 2010 05:51

siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: When to port forward?

Postby brov » 07 Jun 2010 17:50

Networks will work, but you are limited. Not able to accept incoming connections = less available download sources for you. Simple...

There are routers doing UPnP and if you have turned on UPnP in your software then it will forward ports for you.
brov
 
Posts: 87
Joined: 05 Jul 2009 12:15

Re: When to port forward?

Postby siavoshkc » 08 Jun 2010 19:58

THANK YOU, aaron_walkhouse and brov

I didn't run the connection test after configuring my router for both PCs. So I didn't notice I couldn't accept incoming connections. What is intresting is I had acceptable search results and no special symptom to make me suspicious.

I port forwarded it right now with your help and its working fine. :D
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: When to port forward?

Postby siavoshkc » 09 Jun 2010 22:18

Just another question. How is it that I cannot accept incoming connections but other computers can send packet to me? For instance how router knows incoming packets for a requested website are for which PC?
siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: When to port forward?

Postby brov » 11 Jun 2010 13:10

That's how NAT works. If connection is from the inside - it records source address and port, and dest address and port, then before packet is sent to the internet it rewrites source address to be your WAN address. Now if received some reply packet, nat looks up its table and send you the packet (it knows the destination now).

I hope I explained it clearly ;)
brov
 
Posts: 87
Joined: 05 Jul 2009 12:15

Re: When to port forward?

Postby siavoshkc » 11 Jun 2010 15:54

siavoshkc
 
Posts: 347
Joined: 02 Nov 2009 09:37

Re: When to port forward?

Postby brov » 11 Jun 2010 17:47

Most likely it will reject any new connections.
brov
 
Posts: 87
Joined: 05 Jul 2009 12:15


Return to Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron