Personal tools

Router Setup Guide

From Dtella Wiki

Jump to: navigation, search

Contents

Goals / Outcomes

  1. Setting a port in the connection settings portion of the dc++ settings
  2. Taking that port number and forwarding the port to your computer in your router.
  3. Note: This guide only reflect the steps needed for Dtella.

Step by Step Guide

Step 1 - Setting the port

Click File -> Settings...

Router file.png

First, uncheck the "Enable automatic incoming connection type detection" then below, check "Manual port forwarding (I have configured my router by myself)". The "External / WAN IP" box may automatically fill in at this time, this is ok. In the TCP box below, choose any number from 1024-65535 (except 7314) to place into the TCP box. For example, enter port 5000. Set the UDP port at this point to 0 so that it doesn't conflict with the Dtella daemon. You'll set the real UDP port for dtella in a later step.

Router connectionsettings.png

Make note of the port number you select, as you'll need it in the third step.

Step 2 - Checking the IP

Click the start menu then in the "Search for Programs and Files" box, type "cmd" and hit enter.


Once at the command prompt, type "ipconfig" and hit enter. There could be large amount of information displayed to you, so you need to scroll through until you find one that is your primary adapter. This will usually say something along the lines of "Ethernet adapter Local Area Connection". Once you find the proper section, look for the line called "IPv4 Address". It will usually start with 192.168 dot something.

Router cmd.png

Make note of the IP address, as you'll need it in the next step.

Step 3 - Forwarding the port

Before forwarding the port in your router, there's one small intermediary step to complete; run the following command in DC++ to tell Dtella which UDP port you've selected:

!udp ####

where #### is the port number you chose at the beginning of the guide.


Now head over to your router's configuration page. It can usually be accessed at http://192.168.0.1, http://192.168.1.1 http://192.168.2.1 or http://192.168.11.1. You need to forward the port for the DC++ client. Use the following guides to setup your router to work with Dtella. If your router is not one of the following you can find easy to follow instructions at http://www.portforward.com. (Select your brand of router, then select DC++.)

Linksys

Below is the configuration page for a Linksys WRT160N router. Enter a name for Dtella and DC++, specify the ports you chose in the External and Internal port boxes. Set UDP for the Dtella line, and TCP for the DC++ line. Enter your computer's IP address as determined above in the "To IP Address" box. Make sure the "Enabled" box is checked.

Router linksys.png

Hit 'Save Settings' and it should work fine!

D-Link

Below is the configuration page for a D-Link router. Notice, the DIR-655 will not work on Dtella, and no fixes are available for this. After Logging in to it's configuration website, click on Advanced and then Virtual Server. There are many boxes that need filled in, so be sure to get them all. Boxes underlined in red require changes. Each port forward takes 2 lines. Fill in the Name, IP Address (as determined above), Public and Private ports (the public and private ports should be the same, and should match what you configured in Dtella and DC++), the Protocol needs to be TCP for DC++ and UDP for Dtella. Set the schedule to "Always" and the filter to "Allow All".

Be very sure to ENABLE the port forward. This tends to be the biggest issue with D-Link users (forgetting to enable the port forward). This is done by checking the box on the far left.

Router dlink.png

Follow what the image shows using your ports and IP address, then hit "Save Settings" and you should be able to search and download!

Cisco

This is only if you have a Cisco router, not Linksys. If your router says anything about Linksys on it, go through the Linksys tutorial instead.

Please look at your router to see if it has anything about linksys on it before asking questions!

logo.gif

I'm not sure why this is being added, since if you own a Cisco router, you ought to be able to configure it, but just in case... :-)

Enter the following commands into configure mode - I'm assuming you already have NAT setup.

  • ip nat inside source static tcp <local lan IP> 5000 interface <outside interface> 5000
  • ip nat inside source static udp <local lan IP> 5000 interface <outside interface> 5000

ZyXEL

Below is the configuration page for a ZyXEL P-334WT router. After logging in to the configuration website, click on the "Go to Advanced Setup". Click on the Network tree link in the side menu and click on the NAT link. In the port forwarding tab, click the edit button on one of the rows enter the corresponding information This router has both UDP and TCP ports set to 7000, so enter that into the start and end port. Don't forget to click the Active button either.

ZyXEL router.png

After that, hit apply and you should be good to go.

DD-WRT

These are the configurations for DD-WRT V24. Be sure to use the same ports that are configured in Dtella and DC++. After you are logged in, click NAT/QoS and then Port Forwarding.

Dd-wrt.png

Click "Apply Settings" and you're done.