How can I set up active mode?
If you are NOT behind a router:
- Click on File and then Settings. Click on Connection Settings.
- 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.
- Leave the TCP/UDP/TLS ports blank also. This will make DC++ randomize the port it uses each time.
- Leave the Outgoing Connection settings set to Direct Connection. Click ok.
- You may need to allow DC++ in your software firewall. Consult its documentation on how to do this.
- 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.
- 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 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.
- When you have mapped a port on the router, in DC++ click on File and then Settings. Click on Connection Settings.
- Select Firewall with manual port forwarding.
- In the port fields, enter the port number that you are forwarding on the router.
- In the External / WAN IP field, you need to enter the external IP address of your router. This can easily be checked on here.
- Leave the Outgoing Connection settings on Direct Connection. Click ok.
- 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.
- 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.
- Alcatel SpeedTouch 510
- D-Link DI-604 / DI-704
- D-Link DI-804
- D-Link (all other models)
- Linksys (many models)
- Netgear DG814, RP614, RP614v2, MR814, MR814v2, WGT624
- Netgear RM356, RH340, RH348, RT388, RT311, RT314
- Netgear (all other models)
- ZyXEL Prestige 310 / 314
- All other models not listed here
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.
- Service Pack 1: Its strongly recommended that you do not use the
firewall and instead use a third party one. Make sure to disable
firewall if you do choose this option. If you really must use it, then
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
You cannot comment on this entry