DC++ FAQ » Configuration

ID #1000

How can I set up active mode?

Active mode requires both TCP and UDP access on the same port incoming and all ports outgoing for DC++ to work properly.

If you are NOT behind a router:

  1. Click on File and then Settings. Click on Connection Settings.
  2. Select the Direct Connection radio button. Leave the IP fields blank. This will make DC++ use the current IP assigned to your network card. You must not have an internal IP address for this to work.
  3. Leave the TCP/UDP/TLS ports blank also. This will make DC++ randomize the port it uses each time.
  4. Leave the Outgoing Connection settings set to Direct Connection. Click ok.
  5. You may need to allow DC++ in your software firewall. Consult its documentation on how to do this.
  6. Test active mode by joining several hubs and doing a search. You should get results back. If not, then you are likely behind a router, have an internal IP address, or haven't properly configured your software firewall.

If you are behind a router:

You can simplify the process of setting up active mode if your router and operating system is UPnP compatible. Read this FAQ for more information. If UPnP does not work or is not an option, follow the steps below.

  1. First you need to set up the router to forward the connections to the computer with DC++. This is could be called port mapping, port redirecting, port forwarding or something like that. Find out how to do this with your router / NAT in the user manual.
  2. You need to forward one port. Select a number between 1024 - 65535, they should mostly all be available. Make sure both UDP and TCP are being forwarded on the port you chose.
  3. When you have mapped a port on the router, in DC++ click on File and then Settings. Click on Connection Settings.
  4. Select Firewall with manual port forwarding.
  5. In the port fields, enter the port number that you are forwarding on the router.
  6. In the External / WAN IP field, you need to enter the external IP address of your router. This can easily be checked on here.
  7. Leave the Outgoing Connection settings on Direct Connection. Click ok.
  8. Active mode should now be working. If it is working for a while, but the next time you use DC++, you only get Connection Timeout’s or no results when searching, your IP (either external or internal) is likely to have changed.
    If you find the external IP is constantly changing (DSL users often experience this), you can set yourself up with a dynamic name (i.e. myname.kicks-ass.net). Such as Dynip or DynDns and put that name into the IP field. Make sure to use an update client, which will update the dynamic name service with your latest IP.
  9. When troubleshooting if you have properly forwarded a port to DC++, use www.canyouseeme.org. Make sure DC++ is open. Then from the site, enter in the port you're forwarding and click Check. If everything has been properly set up, the site should say Success. If you get Error, then you need to double check the port forwarding on the router, DC++ settings and possibly your software firewall settings.

For Linux based firewalls/routers, take a look at this FAQ on this subject.

Here are several how-to guides with screen shots for various models. Don't hesitate to take a look how its done even if your exact model isn't list, most likely it will provide a useful guide and help setup yours.

What about Zone Alarm?
Older versions of Zone Alarm had issues with DC++, which caused corrupted downloads/uploads. This results in the 'Rollback Consistency' error message. Other problems users frequently have is ZA blocking DC++ even though it is fully allowed. In this case, you need to completely uninstall it as disabling it will not help, and then get another firewall.

Windows XP?

  • Service Pack 1: Its strongly recommended that you do not use the SP1 firewall and instead use a third party one. Make sure to disable the XP firewall if you do choose this option. If you really must use it, then checkout this guide on how to set it up. Remember you need both TCP & UDP.
  • Service Pack 2: The firewall in SP2 is a lot more robust than its original incarnation. While it does not offer a plethora of options, its suitable to use by itself for protection. Its wise to enable logging of packets that the firewall drops for troubleshooting applications. To do this, go to Control Panels -> Windows Firewall -> Advanced Tab -> Security Logging -> Settings. Enable Log Dropped Packets. The log file is located at C:\WINDOWS\pfirewall.log.

DC++ Changelog Related Entries:
0.4033: Added UPnP support (thanks mark gillespie)
0.305: Added support for $UserIP, %[ip] as user command parameter and server side IP detection (automatically used if the IP field in settings is blank)
0.242: Fixed problems with changing active port
0.21: Fixed port changing bug (DC++ would still listen to the old port until restarted)
0.20: A random free port between 1025 and 32000 is now used in active mode, unless a port specifically has been set.
0.16: Changed default port to 1412, should improve compatibility with a lot of firewalls
0.03: New settings, including passive mode and active port selection

Last update: 2006-08-24 19:43
Author: BSOD2600
Revision: 1.1

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 3.31 from 5 (131 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry