Difference between revisions of "Help:Contents"

From twofo wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The Panmasters Guide To Setting Your Connection Up - written by Smelly_Kat & various assorted others
#REDIRECT [[Client_Help]]
 
 
General help and instructions from the main twofo website can be found on this wiki on the [[Problems]] page
 
There is an excellent guide for 1st time users of DC++ at http://www.b.ali.btinternet.co.uk/DCPlusPlus/gettingStarted.html.  The guide below gives instructions on setting up your internet connection and DC++ client to connect best to other users.
Or else you can use the Duefo guide from 2 years ago, http://www.tma.dsl.pipex.com/dc/newbies.html [Under discussion, see main page discussion area].  Both give excellent helps for those new to DC++.
 
We also strongly advise the use of the latest version of standard DC++ as found at sourceforge (http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.698.exe?use_mirror=kent).  Earlier versions of DC often have security issues or problems downloading and mods of DC++ are often very unstable.
 
 
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.
 
 
 
==1. For ON-CAMPUS people:==
 
We recommend the use of s-tunnel for connecting to twofo from on campus.  Details on how to use and where to find it can be found on the homepage of this wiki - http://www.twofo.co.uk/wiki. If you are having problems searching and downloading once connected to the hub, please try the following:
 
'''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.'''
 
'''If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!'''
 
If this doesn't work, check your firewall settings.  Many firewalls will not allow connections to be made to or from DC++ for transfers or searches if there is no exception rule. There are instructions above for setting up the Windows Firewall to allow DC++.
 
SOCKS5 connections are now no longer permitted on the hub.  You will not be able to connect using it.  On campus people should be using stunnel to connect to the hub (instructions can be found on the homepage of this wiki).
 
NB.  On the newer versions of DC++ (>0.674), there is no option for active connection.  Instead use the "Direct Connection" option with your IP in the "External/WAN IP" box.
 
=== Firewalling out Off Campus Connections ===
 
 
Due to the restrictions and threats of disconnections by ITS on campus, it is worthy thinking about blocking all external connections to DC++ on campus.  This does NOT guarantee safety from ITS on campus, but it will stop you using any external bandwidth and hopefully keep you a bit more under the radar.
Almost all the time, connections between on campus and off campus people are impossible due to the traffic shaper, so even without any kind of firewall rules in place you should not be transferring to or from somebody off campus. However, the connection attempts will be detected and blocked by the traffic shaper even if you do not see any transfers in DC++ (although a connection may rarely slip through the traffic shaper). Firewalling off campus out is only intended as an extra layer of security, and does not guarantee you safety from ITS.
 
If you want to do this from scratch, you need to find how to get your firewall to only allow Resnet IPs (137.205.0.0 - 137.205.254.254) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection.  Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254 and 137.206.0.0 - 254.254.254.254 specifically.
 
Guides for blocking blocking external connections to DC++ in various firewalls are below
 
1. '''Norton Personal Firewall''':  http://manyhappy.members.beeb.net/Norton.pdf  (produced by astropoint)
 
2. '''ZoneAlarm''': http://manyhappy.members.beeb.net/ZoneAlarm2.pdf (thanks to Huck)
 
Feedback would be appreciated.  New guide that ought to avoid the old one's flaw of opening you up completely to resnet (and associated viruses) :)
 
3. '''Mcafee''': http://manyhappy.members.beeb.net/Mcafee.pdf (produced by 2448-1111)
 
''Warning:'' Again, this puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole.  So again, if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.
 
4. '''Tiny''': http://manyhappy.members.beeb.net/Tiny.pdf (produced by Rampage).
 
5. '''Linux''': A guide for setting up the Linux personal firewall, iptables, to block external connections, is available here http://www.dcs.warwick.ac.uk/~csucda/iptables.html (produced by xyzzy)
 
6. '''Sunbelt (Kerio)''': http://manyhappy.members.beeb.net/Kerio2.pdf (produced by astropoint)
 
7. '''Sygate Personal Firewall''': http://manyhappy.members.beeb.net/SPF.htm (produced by fallingmagpie)
 
8. '''Jetico Personal Firewall''': http://manyhappy.members.beeb.net/jeticoguide.rar (produced by itsmonktastic)
 
 
9. '''Windows''': From what we can see, external connections ''cannot'' be blocked using only the windows firewall.  If you do manage it, tell an op and this space will be updated.  Use one of the above if you want to block externals
 
Both Sygate Personal Firewall 5.6 (NB. Now owned by Symantec so you would have to use a version equal to or below this) and Sunbelt Personal Firewall works for free doing this job even after the trial license runs out. ''NB. This is NOT the Kerio WinRoute Firewall''  Tiny is also good, but this is shareware.
One of this is probably the best choices if you need a new firewall specifically for blocking external connections as they are reasonably light on system resources.
 
 
 
If there are any other problems any of the guides themselves, please contact astropoint/astro on the hub or on the forums and I shall try to correct them.
Or, if you feel you can produce a guide for any other firewall, please do so and pass it onto me and I shall upload it onto here
 
==2. For OFF-CAMPUS people:==
 
IF YOU DO NOT HAVE ACCESS TO YOUR ROUTER, YOU CAN'T PORT FORWARD, SO DON'T BOTHER ASKING HOW!  This is the case for ALL PLU house routers.  If you are in this situation, you will have to use passive mode.
 
'''WARNING: PASSIVE MODE IS A LAST RESORT. USING IT WILL CAUSE PAIN, SUFFERING, AND PREVENT YOU DOWNLOADING FROM ALOT OF PEOPLE'''. If you are using passive mode because you don't understand how to set up port forwarding, DON'T!  Follow the guide below or ask on the hub if there are bits of it you don't understand.  We will try to help where we can
 
 
NB.  You will '''NOT''' get anything like the transfer speeds you got when you were on campus.  Between 10kb/s and 30kb/s is a normal download speed off campus. So please try not to be so surprised when you only get these speeds.
 
 
'''Port Forwarding'''
 
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.  If you do not know your router's User Name and Password, then try the default settings.  Find your router's make and model and see if it is on the list at http://www.portforward.com/english/routers/port_forwarding/routerindex.htm  If not, then try combinations of "admin", "administrator", "password" and leaving the boxes blank.  These are the standard login details for most routers
 
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 to your network IP address. Once you're logged into your router look for 'Port Forwarding', 'Virtual Servers' or 'Port Redirection'. 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). Again, you can get detailed information on how to do this for your specific router at http://www.portforward.com/english/routers/port_forwarding/routerindex.htm
 
Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connection Settings) and select 'Active' or 'Direct Connection', and enter your external IP address into the IP or External/WAN IP box (This should be your internet IP and can be found by visiting http://checkip.dyndns.org/). In the port boxes fill in the port(s) you've forwarded to your computer (for example 15000 TCP and 15001 UDP).
 
It might also be a good idea to assign your computer a static IP address on your network.  The port forwarding will only work if your computer has the correct network IP. IP addresses can be assigned to the various computers located on the network fairly randomly and there is no guarantee that you will be assigned the same IP as before.  For instructions on setting up your computer to have a static network IP address, go to http://www.portforward.com/networking/static-xp.htm .
 
 
'''UPnP'''
 
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding.
 
''For DC++ versions 0.674 and below''
 
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/ ).
 
Choose some random port numbers to use.  If you have already tried normal port forwarding, I would suggest using different port numbers as the port forwarding may interfere with it.
 
Finally, restart DC++.  If you receive no error messages, then UPnP has worked.  If you receive a "Failed to create port mappings Please set up NAT yourself" message, then the UPnP has failed and you need to have another go at proper port forwarding.
 
''For DC++ versions above 0.674''
 
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP
 
Choose some random port numbers to use.  If you have already tried normal port forwarding, I would suggest using different port numbers as the port forwarding may interfere with it.
 
Finally, restart DC++.  If you receive no error messages, then UPnP has worked.  If you receive a "Failed to create port mappings Please set up NAT yourself" message, then the UPnP has failed and you need to have another go at proper port forwarding.
 
 
 
'''For Off-Campus users, sharing a connection with other people wanting to use DC++'''
 
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.

Latest revision as of 21:05, 29 October 2008

Redirect to: