How to setup DC++ for Active Mode behind a router
Posted: Wed Aug 06, 2003 7:48 am
Some folks are still having some trouble with this, so I neatened up my instructions:
HOW TO SETUP DC++ FOR ACTIVE NETWORKING MODE BEHIND A LINKSYS ROUTER (should work for any router):
If you don't use active networking mode, you can't download files from some computers on the hub. YOU DO NOT WANT TO USE PASSIVE NETWORKING MODE! Passive can't download from other passives and some actives. Active can download from anyone.
Don't use DC, use DC++. We had a lot of problems with DC. Get it here: http://dcplusplus.sourceforge.net/
Unlike DC, DC++ has some nice features like automatic reconnect to the hub (so if you lose the connection it just logs back on automatically when the connection is resotored) and it also automatically resumes any downloads that were in progress when the source computer comes back on the hub.
Following are instructions for setting up DC++ with a virtual IP and from behind a Linksys router:
- You need to configure your DC++ computer to use a static IP address on your LAN (local network) instead of automatically obtaining an IP from the router (this is so you can setup port forwarding on the router). If you're using a Linksys router with factory default IP address of 192.168.1.1 then you can set the IP address of the DC++ computer to 192.168.1.2, set the mask to 255.255.255.0, set the gateway to 192.168.1.1 and set the Preferred DNS to to the DNS address(es) of your ISP.
- You need to find out your WAN IP address. Easiest way is to get into your router's control panel, go to the Status page and make a note of the WAN IP address there.
- While you're in the router control panel, click on the Advanced tab, then click on the Forwarding tab. In the first line of port settings set the port range to 412 ~ 412, leave protocal on Both (or check UDP and TCP - depending on your firmware), and set the IP address to the LAN IP address of the computer running DC++ (in the above example 192.168.1.2)
- In DC++ settings, General tab, select ACTIVE, enter your WAN IP address and specify the port as 412.
NOTE: Unless you're paying for a static IP your WAN IP address will change occasionally - usually only when your modem is reset, but your ISP could change it anytime. In my experience my IP has stayed the same for months on end. However when it does change, DC++ will stop working until you change the WAN IP address in DC++ accordingly.
One workaround for this is to go to http://dynu.com and setup a Dynamic DNS domain address. It's free, just select a domain name and a password (don't bother filling out the rest of the form, they don't need your mailing address). Download the Basic Client (small app that sits on your taskbar).
Then in DC++ you change the IP address to your dynu domain name. For instance mine is flyingpenguin.dynu.com
HOW TO SETUP DC++ FOR ACTIVE NETWORKING MODE BEHIND A LINKSYS ROUTER (should work for any router):
If you don't use active networking mode, you can't download files from some computers on the hub. YOU DO NOT WANT TO USE PASSIVE NETWORKING MODE! Passive can't download from other passives and some actives. Active can download from anyone.
Don't use DC, use DC++. We had a lot of problems with DC. Get it here: http://dcplusplus.sourceforge.net/
Unlike DC, DC++ has some nice features like automatic reconnect to the hub (so if you lose the connection it just logs back on automatically when the connection is resotored) and it also automatically resumes any downloads that were in progress when the source computer comes back on the hub.
Following are instructions for setting up DC++ with a virtual IP and from behind a Linksys router:
- You need to configure your DC++ computer to use a static IP address on your LAN (local network) instead of automatically obtaining an IP from the router (this is so you can setup port forwarding on the router). If you're using a Linksys router with factory default IP address of 192.168.1.1 then you can set the IP address of the DC++ computer to 192.168.1.2, set the mask to 255.255.255.0, set the gateway to 192.168.1.1 and set the Preferred DNS to to the DNS address(es) of your ISP.
- You need to find out your WAN IP address. Easiest way is to get into your router's control panel, go to the Status page and make a note of the WAN IP address there.
- While you're in the router control panel, click on the Advanced tab, then click on the Forwarding tab. In the first line of port settings set the port range to 412 ~ 412, leave protocal on Both (or check UDP and TCP - depending on your firmware), and set the IP address to the LAN IP address of the computer running DC++ (in the above example 192.168.1.2)
- In DC++ settings, General tab, select ACTIVE, enter your WAN IP address and specify the port as 412.
NOTE: Unless you're paying for a static IP your WAN IP address will change occasionally - usually only when your modem is reset, but your ISP could change it anytime. In my experience my IP has stayed the same for months on end. However when it does change, DC++ will stop working until you change the WAN IP address in DC++ accordingly.
One workaround for this is to go to http://dynu.com and setup a Dynamic DNS domain address. It's free, just select a domain name and a password (don't bother filling out the rest of the form, they don't need your mailing address). Download the Basic Client (small app that sits on your taskbar).
Then in DC++ you change the IP address to your dynu domain name. For instance mine is flyingpenguin.dynu.com