Personal tools

Router Setup Guide

From Dtella Wiki

Jump to: navigation, search

Contents

Overview

  1. Setting a TCP port in the connection settings of DC++
  2. Taking that TCP port number and forwarding the port to your computer from your router
  3. Forwarding a UDP port for Dtella to your computer from your router
  4. Setting the UDP port

Step by Step Guide

Checking the IP

Note: If you are on a mac, get the IP address from 'System Preferences -> Network' instead.


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.

Forwarding the ports

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 ports for DC++ and Dtella. Use the same ports we used in the Dtella: Installation Guide for Windows tutorial. (1666 for TCP and 1555 for UDP, forwarded to the IP from step 1). With all of these routers, please make sure that the "Enabled" for each port is actually checked. (if it has one)
If you need extra help, you can look below for the configuration settings of some common routers or use the following guides. 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++.) When following one the guides on that website, be sure to also forward a UDP port in addition to the one in their tutorials.
Note: Upon completing this, you will have 2 different ports forwarded, one for TCP and one for UDP. These cannot be the same number.


Routers

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. 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-evidlo.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!


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-evidlo.png
Click "Apply Settings" and you're done.


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.