FAQ.FirewallsRouters

From Shareaza Wiki
Revision as of 20:06, 20 June 2009 by Kevogod (talk | contribs) (1 revision)
Jump to navigation Jump to search
  Languages:

[[::FAQ.FirewallsRouters|English]] • [[::FAQ.FirewallsRouters/de|Deutsch]] • [[::FAQ.FirewallsRouters/es|Español]] • [[::FAQ.FirewallsRouters/fr|Français]] • [[::FAQ.FirewallsRouters/he|עברית]] • [[::FAQ.FirewallsRouters/it|Italiano]] • [[::FAQ.FirewallsRouters/nl|Nederlands]] • [[::FAQ.FirewallsRouters/pl|Polski]] • [[::FAQ.FirewallsRouters/pt|Português]] • [[::FAQ.FirewallsRouters/ru|Русский]] • [[::FAQ.FirewallsRouters/zh-hant|‪中文(繁體)]]

e

What is a firewall?

A firewall is a device that people and companies use to protect their networks from hackers and unauthorized access, by filtering the incoming and outgoing traffic with a set of rules. Software firewalls and Routers are the two common instances of firewalls. Both act in a similar way; they restrict connections from and to your PC. Software firewalls are becoming increasingly common and Windows XP even has a software firewall built in. Since either type of firewall may prevent incoming connections to Shareaza, it will reduce your download speed and the number of search results, unless you configure it for Shareaza.

What is a router?

A router is a device that allows several computers on a local network to share an Internet connection. It provides a barrier between the internet and a local network. Most routers work using Network Address Translation. Some ISPs will provide you with a router, and a router many be contained within a cable or DSL modem.

Unless the router is specially configured to allow it, it is not possible for a PC behind a router to accept incoming connections. Configuring the router to allow a computer behind to router to communicate with computers on the internet is called "port forwarding". If you are using a computer on a local area network (which is commonly the case in an office, school or college dorm), then it is likely you will not have access to the router in order to configure it. In this case, you may wish to talk to the network administrator and ask them to configure it for you. In the likely event of the network administrator declining to open ports for you, perhaps because of policies to limit the amount of p2p traffic on their networks, or for security reasons, there is really nothing further you can try, and you should uncheck the "I can accept incomming connections" box in the settings under the Shareaza settings -> Internet -> Connection.

How can I tell whether I have a router?

Some people have a router without knowing it. This is because your ISP may provide you a device that you believe to simply be a modem, but sometimes, the device is a modem and a router in one. To tell whether you have a router or not, follow these steps:

  1. Open the start menu and select 'Run...', a dialog box will appear.
  2. In that box, enter cmd and click on OK. (On Windows 95, 98 and Me, enter command instead, or winipcfg.)
  3. A Command window will appear. In that box, enter the command ipconfig. Or, if you want the results to be saved in a text file you can more easy peruse from the working directory: ipconfig>IPconfigInfo.txt
  4. Several groups of lines will be printed on the screen, one group for each device capable of using an internet protocol. Find the device you are actively using for the internet. For that device, note the IP-Address, the Subnet Mask and the Standard Gateway. The first one is the IP address of your computer and the third one is the IP address of your gateway. The subnet mask should have have all its numbers the same (if it does, the device you are looking at is not likely the device you are using for the internet).

If you have a router, then your gateway is your router and the gateway's IP is the router's IP. Both of the IPs are likely to start with the same number. Now check if they start either with 10.x.x.x or with 192.168.x.x or with something between 172.16.x.x and 172.31.x.x. If your IPs start with anything that matches those patterns, then you do have a router. If the IP you have do not match any of the patterns, then you don't have a router.

  1. If you just found out that you do have a router, then write down the computer's IP and the router's as well. You will need those informations for configuring the router.

NOTE: If this procedure tells you that you have a router, but if you are very sure that the device you have is not a router, then there's another possibility: Your ISP may work in a somewhat different way; it has a big NAT router with many customers behind it. Possibly (not necessarily), having an IP in the range 172.16.x.x and 172.31.x.x is a hint for this situation. If this is the case, then you are very unlucky, since you can't configure the ISP's router.

What can I do if I am behind a firewall, and I can't configure it?

Being behind a firewall or router is like having a phone line that can only make outgoing calls - you can call other people, but they cannot call you. So firewalled user can call an unfirewalled user, and upload or download files from each other. If both users are firewalled, then neither can accept a connection, and they will not be able to download from each other. If you correctly configure your firewall or router (by setting up port forwarding), Shareaza will be able to pass through it, and it will no longer interfere with your downloading. You can then experience Shareaza's full performance. Acceptable performance is possible if you are firewalled, particularly with BitTorrent protocol, and often with G2 protocol, but you're not likely to get the best performance with Shareaza, especially searching performance will be worse.

How do I test if my firewall or router has been configured properly?

To make a check, follow the instructions found here: Test your router and firewall.

What port do I need to configure on my firewall or my router?

You'll want to forward incoming connections using tcp or udp protocol on the port Shareaza is listening on. Often this is 6346, but it is important to check the settings.

To find out which port Shareaza is using, open the settings dialog (Menu Tools > Shareaza Settings) and go to the section Internet > Connection. On the right is a field that says 'Port'. This is the port that Shareaza is using (you can change it, if you like, to any number between 2000 and 65535). If you change the port, it is a good idea to restart Shareaza, so that the change can properly take effect. Be sure that the Random checkbox is not checked. You should only use random ports if you don't have any firewall or router. The option "I can accept incoming connections" should be enabled if you can set up your firewall and router to work with Shareaza. If this is not possible, then disable this setting.


NOTE: Be very careful when you decide whether or not to grant a connection! If you mistakenly disable the incoming connections setting or tell the Shareaza QuickStart Wizard that you are firewalled you will have problems. Shareaza will operate as if you were actually behind a firewall. This will negatively affect your download speeds.

How do I configure my firewall to work with Shareaza?

Click below for a guide on how to configure the firewall you use. (If it is not on the list, check in the shareaza forums)

NOTE: In case your firewall is not listed here, but you know how to configure it, be sure to unblock Shareaza's port for both protocols, TCP and UDP.

How do I configure my router to work with Shareaza?

To correctly set up port forwarding, you will need to know the IP your machine and the IP of your router. To find out those informations, see above in the section "How can I tell whether I have a router?"


IMPORTANT! Remember to configure your PC with a static IP. Port forwarding will often only work if you have configured your computer to have a static IP address. Thus disable DHCP on the computer if it is enabled.

Click below for a guide on how to configure different routers. Some guides may also be available in the forums (see the router list thread).

NOTE: You have a router that is not listed here? Post a link to the online manual (Or scans of it) in the IRC channel and one may get around to posting a FAQ on it. Or feel free to add it yourself.