Setting up active mode
For DC++ to work properly in active mode, it requires access on TCP and UDP listening ports, as well
as outgoing access on all ports for both TCP and UDP.
You can simplify the process of setting up active mode if your
router and operating system is UPnP
compatible. If so, please read the How to set up UPnP FAQ instead, for more information.
- 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.
- You need to forward two ports, with either the same port number
or different ones. Select one or two numbers between 1024 -
65535, they should mostly all be free. Make sure both UDP and TCP is
being forwarded on the port(s) you chose.
- The IP that you are forwarding to should be the internal IP address of your DC++
computer. It usually begins with "192.168",
"172.16." or "10.x.". Go to the command prompt and type: ipconfig (Start Menu -> Run
-> cmd /k ipconfig)
- When you have mapped the port(s) on the router, open up DC++ and
go to Settings. Select active mode. In the port fields, enter the port
number(s) that you forwarded on the router.
- In the IP field, you need to enter the external IP address of your router.
Your external IP can be checked against DSLReport's
IP page .
- It 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, you can set
yourself up with a dynamic name (i.e. hub.example.com).
Such as Dynip or DynDns
and put that name into the IP field. Make sure to use a
program that updates the dynamic name service with your latest IP.
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.
- 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.