Help:Contents

From twofo wiki
Revision as of 01:43, 13 February 2006 by 84.51.159.169 (talk)
Jump to navigation Jump to search

The Panmasters Guide To Setting Your Connection Up - written by Smelly_Kat


Whether you are on or off campus, you will need to make sure that any firewalls you may have are set to allow connections to and from DC++. To add an exception for DC++ on the Windows Firewall, go to Control Panel, Network Connections. Next right click on the connection you use to access the internet (Local Area Connection or Wireless Network Connection) and choose properties. Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear. Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. This should have added DC++ as an exception to the firewall so it will allow connections to and from it. Other firewalls should have manuals on the internet for settings up exceptions for programs.


Note: Versions of DC++ after 0.674 (e.g. 0.68) are not compatable with Open DC Hub, this is the hub software twofo is run on. Hence you will only be able to connect with version 0.674 and below.


1. For ON-CAMPUS people: First go to http://checkip.dyndns.org/ and copy you IP. Next go into DC++ and under File -> Settings -> Connection Settings select 'Active' and paste your IP into the IP box. Leave the port boxes blank.

Warning: If you are on campus and use the proxy to connect to the internet, many IP checkers online will give the proxy IP rather than your own. This will not work in DC++. If you notice that your IP is 137.205.192.27, go to the above link to find your actual network IP and use this instead.

If you are connecting via SOCKS5 form on campus, to get full LAN speeds, you will most likely need to change back into active mode once connected to the hub. You can do this without reconnecting to the hub, just go into settings and change into active mode and put your IP in the IP box. You are unlikely to be able to connect to off campus people once this is done however. Again, do not puit your socks5 proxy IP into DC++ as this will not work.


2. For OFF-CAMPUS people: Firstly you need to log into your router, you can do this by opening your Internet browser and typing your 'default gateway' address into the address bar then press enter. (You can find your default gateway address by going to Start -> Run then type 'cmd' and press enter. When the command window is open type 'ipconfig/all'. This will display all the information you need about your network including your default gateway address). Next you will need your routers user name and password (the default values can be found in your router manual). After entering the correct user name and password into your router you should be logged into you router.

Now for the port forwarding part.....every router is different so I can't give explicit instructions. Basically what you want to do is direct a port (You can forward any port that you like. A good idea is to forward a high numbered port, e.g. 15000 as this is unlikely to be used for anything else; you will need to forward both TCP and UDP) to your computers network IP (for example 192.168.1.2). You can get detailed information on how to do this for your specific router at http://www.portforward.com/routers.htm

Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connection Settings) and select 'Active' and enter your external IP address into the box (you can find this at http://checkip.dyndns.org/). In the port boxes fill in the port(s) you've forwarded to your computer (for example 1411 TCP and 1411 UDP).

Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. Once you've done this go into DC++ advanced settings (File -> Settings -> Advanced) and tick the 'Enable UPnP control' box. Next go into connection settings (File -> Settings -> Connection Settings) and select 'Active' and enter your external IP address (you can find this at http://checkip.dyndns.org/ ). Note: UPnP control is only available on the latest versions of DC++, you can get the latest version from http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.674.exe?download

If you have any problems have a look at http://www.twofo.co.uk/problems.php. If none of the above works for you then you will have to use 'Passive' mode which will work but you will be limited in the number of people you can connect to so only use passive mode as a last resort!

Note for Off-Campus users, sharing a connection: If you are sharing an Internet connection with other computer users you may want more than one person to connect to DC++ at the same time. If you all use UPnP, as above, this should just work automatically. If you use manual port forwarding you need to have a different port (e.g. 45551,45552,45553 ) forwarded to each internal IP address (e.g. 192.168.1.2, 192.168.1.3, 192.168.1.4 ), and configure each DC++ client with the external IP address (http://checkip.dyndns.org/) and the matching port. You must forward both TCP and UDP on each port, as mentioned above. You may find you encounter a problem with internal IP addresses changing on a wireless network - if you consult your wireless router manual it might be possible to fix this by binding certain internal IP addresses to certain MAC addresses.

P.S TMA is the win and I (Smelly_Kat) fancy him a lot.