https://twofo.co.uk//wiki/api.php?action=feedcontributions&user=Astropoint&feedformat=atomtwofo wiki - User contributions [en]2024-03-29T15:51:18ZUser contributionsMediaWiki 1.37.2https://twofo.co.uk//wiki/index.php?title=Comodo3&diff=2950Comodo32013-09-30T17:15:04Z<p>Astropoint: </p>
<hr />
<div>Comodo is a bit tricky to configure properly, as it had a nasty habit of removing old firewall rules when adding new ones. So you may need to repeat some of these steps if you find it is being a pain.<br />
<br />
<ol><li>First close DC++. Configuring the rules with it open may mean they get over written when you do next close it.</li><br><br />
<br />
<li>Open the main Comodo window and go to “Network Security Policy” under 'Advanced tasks of the Firewall'.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/1.JPG<br><br><br />
This will bring up the ‘Application Rules’. Scroll down to any existing DC++ rules and<br />
remove them.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/2.JPG<br><br><br />
</li><br />
<br />
<li>Click on ‘Add’ and select the path to the DC++ application on your computer.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/3.JPG<br><br><br />
</li><br />
<br />
<li>Now click 'Add' to add a custom policy for this application. Configure it to Allow all TCP or UDP connections (In/Out) naming it as 'Localhost Allow'. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow 127.0.0.1 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/4.JPG<br><br><br />
</li><br />
<br />
<li>Add another rule and configure it to Allow all TCP or UDP connections (In/Out) naming it as 'Resnet Allow'. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 137.205.0.0 – 137.205.254.254 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/5.JPG<br><br><br />
</li><br />
<br />
<li>Repeat the previous step, but this time allow the IP range 172.16.0.0 -- 172.31.255.255 (call it 'Resnet Allow 2' or something equally imaginative).</li><br />
<br />
<li>Add another rule and configure it to Block all TCP or UDP connections (In/Out) naming it as Block 1. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 0.0.0.1 – 127.0.0.0 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/6.JPG<br><br><br />
</li><br />
<br />
<li>Add another rule and configure it to Block all TCP or UDP connections (In/Out) naming it as Block 2. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 127.0.0.2 – 137.205.0.0 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/7.JPG<br><br><br />
</li><br />
<br />
<li>You now need two more blocks, similar to the first two you added, named Block 3 and Block 4.<br />
The IP range for Block 3 should be 137.206.0.1-172.15.255.255<br />
The IP Range for Block 4 should be 172.32.0.0-255.255.255.<br><br />
<br><br><br />
<br />
Now Click apply and you are done! You can now start DC++.<br />
</li><br />
<br />
<br />
<li>(Not always necessary) **One thing I noticed while configuring Comodo was its Global rules setup. This will override all Application rules. Now you may not have to do this, but in case you can not download for any reason, do check the Global Rules. If you see something you are not familiar with do ask the Ops for assistance. But if you see something along the lines of “Block IP In From IP Any To IP Any Where Protocol Is Any" or "Block TCP In From IP Any To IP Any Where Protocol Is Any" then select and delete this rule.** <br />
http://www.twofo.co.uk/resources/comodo3-images/9.JPG<br><br><br />
</li></div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2949Firewalling2013-09-30T15:52:33Z<p>Astropoint: </p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
=Windows=<br />
<br />
==[[Vista_7_Firewall | Windows Firewall]]==<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
<!--<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
--><br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/12 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2948Firewalling2013-09-30T15:49:18Z<p>Astropoint: </p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
=Windows=<br />
<br />
==[[Vista_7_Firewall | Windows Firewall]]==<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
<!--<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
--><br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/8 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/12 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2947Firewalling2013-09-30T14:36:52Z<p>Astropoint: </p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
=Windows=<br />
<br />
==[[Vista_7_Firewall | Windows Firewall]]==<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
<!--<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
--><br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/20 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=McAfee&diff=2946McAfee2013-09-30T13:26:46Z<p>Astropoint: </p>
<hr />
<div>McAfee should, by default, be blocking all external entries. The following steps show how you can<br />
set McAfee to allow other DC++ users to access and search your files.<br />
<br />
<ol><li>Start up the SecurityCentre.<br><br />
http://www.twofo.co.uk/resources/mcafee-images/1.JPG<br><br></li><br />
<br />
<li>Click on personal firewall plus.<br><br />
http://www.twofo.co.uk/resources/mcafee-images/2.JPG<br><br></li><br />
<br />
<li>Click on Options.<br><br />
http://www.twofo.co.uk/resources/mcafee-images/3.JPG<br><br></li><br />
<br />
<li>Click on Trusted & Banned Ips.<br><br />
http://www.twofo.co.uk/resources/mcafee-images/4.JPG<br><br></li><br />
<br />
<li>Click on Add.<br></li><br />
<li>Select the An IP Address Range.<br></li><br />
<li>In the From IP Address box: 137.205.0.0<br></li><br />
<li>In the To IP Address box: 137.205.254.254<br></li><br />
<li>In the Description: DC++.<br></li><br />
<li>Click OK to accept changes.<br></li><br><br />
http://www.twofo.co.uk/resources/mcafee-images/5.JPG<br />
<br />
<li>Repeat steps 5-10 using the range 172.16.0.0-172.31.255.255</li></div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Norton&diff=2945Norton2013-09-30T13:25:55Z<p>Astropoint: </p>
<hr />
<div>A Guide to blocking external connections to DC++ from on campus using Norton Personal Firewall<br />
<br />
<ol><br />
<li>Open the main Norton Screen and go to "Configure" in the Personal Firewall settings<br><br />
http://www.twofo.co.uk/resources/norton-images/1.jpg<br><br />
</li><br />
<br />
<br />
<li>Go to the Programs Tab at the top, and then scroll down to DC++ in the programs list<br><br />
http://www.twofo.co.uk/resources/norton-images/2.jpg<br><br />
</li><br />
<br />
<br />
<li>Select DC++ and click on Modify underneath it. A box should pop up in which you should choose Manually Configure Internet Access<br><br />
http://www.twofo.co.uk/resources/norton-images/3.jpg<br><br />
</li><br />
<br />
<br />
<li>First of all, remove any rules already in there. Next, you want to create a rule to always permit connections to DC from on campus. To do this, click add rule.<br />
A box will pop up and you should leave the option set to Permit<br><br />
http://www.twofo.co.uk/resources/norton-images/4.jpg<br><br />
</li><br />
<br />
<br />
<li>On the next window, select "Connections to and from other computers"<br><br />
http://www.twofo.co.uk/resources/norton-images/5.jpg<br><br />
</li><br />
<br />
<br />
<li>On the next screen, select 'Only the computers and sites listed below', then click add. Select 'Using a range' and put in 137.205.0.0 as the starting address and 137.205.254.254 as the end address.<br><br />
http://www.twofo.co.uk/resources/norton-images/6.jpg<br><br />
</li><br />
<br />
<li>Repeat the above step, but using the range 172.16.0.0-172.31.255.255</li><br />
<br />
<br />
<li>The next few sections can be left as they were originally mostly. You only need to choose a name for this rule and what Location/Zone the rule is for (Home, Work, Away etc)<br><br />
http://www.twofo.co.uk/resources/norton-images/7.jpg<br><br><br />
http://www.twofo.co.uk/resources/norton-images/8.jpg<br><br><br />
http://www.twofo.co.uk/resources/norton-images/9.jpg<br><br />
</li><br />
<br />
<br />
<li>Once those are done, the rules window should look like below.<br><br />
http://www.twofo.co.uk/resources/norton-images/10.jpg<br />
</li><br />
<br />
<br />
<li>Next you need to create a rule to block connections from everywhere else. Click 'Add' again. Then choose block from the list<br><br />
http://www.twofo.co.uk/resources/norton-images/11.jpg<br><br />
</li><br />
<br />
<br />
<li>Next screen, again you have to select "Connections to and from other computers"<br><br />
http://www.twofo.co.uk/resources/norton-images/12.jpg<br><br />
</li><br />
<br />
<br />
<li>Again, from this point on, the options can be left mostly as what they are by default. Ie. Block connections from any computer, All types of communication etc.<br />
And you need to choose a name for this rule.<br><br />
http://www.twofo.co.uk/resources/norton-images/13.jpg<br><br><br />
http://www.twofo.co.uk/resources/norton-images/14.jpg<br><br><br />
http://www.twofo.co.uk/resources/norton-images/15.jpg<br><br />
</li> <br />
</ol><br />
<br />
You should now be set up to only allow connections to dc from on campus people.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2944Firewalling2013-09-30T13:24:40Z<p>Astropoint: /* Windows 7/Vista */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
<!--<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
--><br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/20 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2943Firewalling2013-09-30T13:24:22Z<p>Astropoint: /* CA Personal Firewall */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
<!--<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
--><br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/20 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Kaspersky7&diff=2942Kaspersky72013-09-30T13:23:59Z<p>Astropoint: </p>
<hr />
<div>Blocking external connections to DC++ using the Kaspersky Firewall<br />
<br />
<ol><br />
<li>Open up the main Kaspersky window. In the list of items under Protection on the left, click on “Firewall”. Then in the window that has appeared on the right, click on configure.<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/1.jpg<br><br><br />
</li><br />
<br />
<li>In the window that shows up, click on Settings in the “Filtration System” section as shown.<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/2.jpg<br><br><br />
</li><br />
<br />
<li>If you can find DC++ on the list of Applications, then click on it and remove it from the list. Then click Add to the right. Otherwise, just click Add straight away, Choose Browse navigate to the DC++ program (normally in C:\Program Files\DC++)<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/3.jpg<br><br><br />
</li><br />
<br />
<li>Click on DCPlusPlus.exe and click Open<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/4.jpg<br><br><br />
</li><br />
<br />
<li>A new window should appear in which you can specify the rules for DC++ itself. First give the rule a name (this can be anything you like). Next tick the box for Remote IP Address ONLY.<br />
Next, click on where it says “Enter IP Address” in bold.<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/5.jpg<br><br><br />
</li><br />
<br />
<li>Select “Range of IP addresses” at the top, and enter the 3 ranges one at a time, clicking add after each one to add it to the list at the bottom. <br />
0.0.0.0-126.254.254.254, 127.0.0.2-136.254.254.254, <br />
138.0.0.0-172.15.254.254 and 172.32.0.0-254.254.254 The order you add them in is unimportant<br />
http://www.twofo.co.uk/resources/kaspersky-images/6.jpg<br><br />
NB. The screenshot here is out of date (and nobody has Kaspersky to update it) and you now need 4 entries in this list.<br><br />
Then click OK to close the window<br><br><br />
</li><br />
<br />
<li>Finally you should be presented with a summary of the rule you just created. By default this is an “Allow” rule, so to change it to a block rule, just click on where it says “Allow” in blue underlined in the Rule description section. The text should change to Block and the icon next to the rule should change to an exclamation mark on a red circle as shown below.<br><br />
http://www.twofo.co.uk/resources/kaspersky-images/7.jpg<br><br />
NB. Again, the screenshot here is out of date.<br><br><br />
</li><br />
<br />
<li>Finally Click on Template, and click “Allow All” to allow everything except the blocked ranges you have just inputted.<br />
</li></ol><br />
<br><br><br />
Now just OK out of all of the settings, and everything should be set up.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Comodo3&diff=2941Comodo32013-09-30T13:21:18Z<p>Astropoint: </p>
<hr />
<div>Comodo is a bit tricky to configure properly, as it had a nasty habit of removing old firewall rules when adding new ones. So you may need to repeat some of these steps if you find it is being a pain.<br />
<br />
<ol><li>First close DC++. Configuring the rules with it open may mean they get over written when you do next close it.</li><br><br />
<br />
<li>Open the main Comodo window and go to “Network Security Policy” under 'Advanced tasks of the Firewall'.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/1.JPG<br><br><br />
This will bring up the ‘Application Rules’. Scroll down to any existing DC++ rules and<br />
remove them.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/2.JPG<br><br><br />
</li><br />
<br />
<li>Click on ‘Add’ and select the path to the DC++ application on your computer.<br><br />
http://www.twofo.co.uk/resources/comodo3-images/3.JPG<br><br><br />
</li><br />
<br />
<li>Now click 'Add' to add a custom policy for this application. Configure it to Allow all TCP or UDP connections (In/Out) naming it as 'Localhost Allow'. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow 127.0.0.1 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/4.JPG<br><br><br />
</li><br />
<br />
<li>Add another rule and configure it to Allow all TCP or UDP connections (In/Out) naming it as 'Resnet Allow'. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 137.205.0.0 – 137.205.254.254 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/5.JPG<br><br><br />
</li><br />
<br />
<li>Add another rule and configure it to Block all TCP or UDP connections (In/Out) naming it as Block 1. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 0.0.0.1 – 127.0.0.0 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/6.JPG<br><br><br />
</li><br />
<br />
<li>Add another rule and configure it to Block all TCP or UDP connections (In/Out) naming it as Block 2. Then leaving the Source Address, Source Port and Destination Port as is, set it to allow the range 127.0.0.2 – 137.205.0.0 under 'Destination Address' and click Apply. (This is shown in the figure below).<br><br />
http://www.twofo.co.uk/resources/comodo3-images/7.JPG<br><br><br />
</li><br />
<br />
<li>You now need two more blocks, similar to the first two you added, named Block 3 and Block 4.<br />
The IP range for Block 3 should be 137.206.0.1-172.15.255.255<br />
The IP Range for Block 4 should be 172.32.0.0-255.255.255.<br><br />
<br><br><br />
<br />
Now Click apply and you are done! You can now start DC++.<br />
</li><br />
<br />
<br />
<li>(Not always necessary) **One thing I noticed while configuring Comodo was its Global rules setup. This will override all Application rules. Now you may not have to do this, but in case you can not download for any reason, do check the Global Rules. If you see something you are not familiar with do ask the Ops for assistance. But if you see something along the lines of “Block IP In From IP Any To IP Any Where Protocol Is Any" or "Block TCP In From IP Any To IP Any Where Protocol Is Any" then select and delete this rule.** <br />
http://www.twofo.co.uk/resources/comodo3-images/9.JPG<br><br><br />
</li></div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Iptables&diff=2940Iptables2013-09-30T13:18:17Z<p>Astropoint: </p>
<hr />
<div>The first thing we need to do is create a user to run your DC++ client under. We do this because iptables doesn't currently support filtering by program, but it does support filtering by user, so we can create iptables rules that apply only to a specific user and run your DC++ client as that user. I'm using "dc" as my user, you can use whatever you want.<br />
<br />
<br />
Make sure you specify a UID for your user, you will need this later on. I've chosen 1000 as my UID, you should use a number over 1000, that hasn't already been taken (check the /etc/passwd file for this).<br />
<br />
<span style="color:red">adduser dc --uid 1000</span><br />
<br />
<br />
Next we need to create the iptables rules.<br><br />
Run the commands listed below, remembering to use the right UID.<br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 0.0.0.0-126.254.254.254 -j DROP</span><br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 127.0.0.2-137.204.254.254 -j DROP</span><br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 137.206.0.0-172.15.254.254 -j DROP</span><br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 172.32.0.0-254.254.254.254 -j DROP</span><br />
<br />
<br />
For these filters to work you have to run your client as your DC++ user, to do this run the command shown below. Replace valknut with whichever DC++ client you use<br><br />
<span style="color:red">su -c valknut dc</span><br />
<br />
<br />
You should now have DC++ running as user dc and with external connections blocked.<br />
You may find you need to run<br><br />
<span style="color:red">xhost +si:localuser:dc</span><br><br />
in order to get the GUI stuff running properly from your normal user account (eg.<br><br />
<span style="color:lightblue">Xlib: connection to ":0.0" refused by server</span><br><br />
or<br><br />
<span style="color:lightblue">Xlib: No protocol specified</span><br><br />
type errors) If the problem persists try<br><br />
<span style="color:red">xhost +</span><br><br />
instead<br />
<br />
<br />
NB. These rules will reset whenever you restart your computer, so it is probably wise to create a script with the actual iptables rules and set it to run on startup.<br />
<br />
We can do this by using the iptables-save and iptables-restore commands. Once you have your iptables set up correctly, use the following command to save your configuration to a hidden file in your home directory<br><br />
<span style="color:red">sudo iptables-save > ~/.iptables</span><br />
<br />
And add the following command to your /etc/rc.local above the exit 0 line (or somewhere that will be run at startup)<br><br />
<span style="color:red">sudo iptables-restore ~/.iptables</span></div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Iptables&diff=2939Iptables2013-09-30T13:18:08Z<p>Astropoint: </p>
<hr />
<div>The first thing we need to do is create a user to run your DC++ client under. We do this because iptables doesn't currently support filtering by program, but it does support filtering by user, so we can create iptables rules that apply only to a specific user and run your DC++ client as that user. I'm using "dc" as my user, you can use whatever you want.<br />
<br />
<br />
Make sure you specify a UID for your user, you will need this later on. I've chosen 1000 as my UID, you should use a number over 1000, that hasn't already been taken (check the /etc/passwd file for this).<br />
<br />
<span style="color:red">adduser dc --uid 1000</span><br />
<br />
<br />
Next we need to create the iptables rules.<br><br />
Run the commands listed below, remembering to use the right UID.<br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 0.0.0.0-126.254.254.254 -j DROP</span><br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 127.0.0.2-137.204.254.254 -j DROP</span><br><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 137.206.0.0-172.15.254.254 -j DROP</span><br />
<span style="color:red">sudo iptables -A OUTPUT -m owner --uid-owner 1000 -m iprange --dst-range 172.32.0.0-254.254.254.254 -j DROP</span><br />
<br />
<br />
For these filters to work you have to run your client as your DC++ user, to do this run the command shown below. Replace valknut with whichever DC++ client you use<br><br />
<span style="color:red">su -c valknut dc</span><br />
<br />
<br />
You should now have DC++ running as user dc and with external connections blocked.<br />
You may find you need to run<br><br />
<span style="color:red">xhost +si:localuser:dc</span><br><br />
in order to get the GUI stuff running properly from your normal user account (eg.<br><br />
<span style="color:lightblue">Xlib: connection to ":0.0" refused by server</span><br><br />
or<br><br />
<span style="color:lightblue">Xlib: No protocol specified</span><br><br />
type errors) If the problem persists try<br><br />
<span style="color:red">xhost +</span><br><br />
instead<br />
<br />
<br />
NB. These rules will reset whenever you restart your computer, so it is probably wise to create a script with the actual iptables rules and set it to run on startup.<br />
<br />
We can do this by using the iptables-save and iptables-restore commands. Once you have your iptables set up correctly, use the following command to save your configuration to a hidden file in your home directory<br><br />
<span style="color:red">sudo iptables-save > ~/.iptables</span><br />
<br />
And add the following command to your /etc/rc.local above the exit 0 line (or somewhere that will be run at startup)<br><br />
<span style="color:red">sudo iptables-restore ~/.iptables</span></div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2938Firewalling2013-09-30T13:17:01Z<p>Astropoint: </p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Due to the coming discontinuation of support for Windows XP, firewall options for this are no longer listed. If you are really desperate then ask and somebody will help you through setting it up (and advise you to upgrade to something else ASAP).<br />
<!--<br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
--><br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/20 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2937Firewalling2013-09-30T13:14:38Z<p>Astropoint: /* Starting from scratch */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
<br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 (137.205.0.0/16 or 137.205.0.0/255.255.0.0) and 172.16.0.0 - 172.31.255.255 (172.16.0.0/20 or 172.16.0.0/255.240.0.0)) and the loopback address for stunnel (127.0.0.1) and blocking all other IPs from connection. <br />
<br />
Conversely you could allow all IPs then block 0.0.0.0 - 126.254.254.254, 127.0.0.2 - 137.204.254.254, 137.206.0.0 - 172.15.255.255 and 172.32.0.0 - 255.255.255.255 specifically.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2936Downloading Help2013-09-30T13:09:43Z<p>Astropoint: /* Routers */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connectivity as shown below. You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'.</li><br />
<li>In the list of your network connections, click on 'Local Area Connection' to the right of the entry (next to Connections: ) to bring up the connection status.</li><br />
<li>Click Details.</li></ol><br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs & Virtual Machines==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
As a side note here, you will need your router's IP address on the network, the 172.x.x.x one, to put into DC++. You will have to find this from the router's configuration pages as well as setting up port forwarding.<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2935Firewalling2013-09-30T13:08:14Z<p>Astropoint: /* Windows 7 Firewall */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
These have been recently modified to allow for changes to the Warwick network. Feedback would be appreciated as to whether they work or not, just ask on the hub if they don't and we'll try to figure it out.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
<br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 or 137.205.0.0/16 or 137.205.0.0/255.255.0.0) 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.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2934Firewalling2013-09-30T13:03:30Z<p>Astropoint: /* Windows 7 */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 and Windows 8 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
<br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 or 137.205.0.0/16 or 137.205.0.0/255.255.0.0) 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.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2933Downloading Help2013-09-30T13:02:31Z<p>Astropoint: /* IP */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connectivity as shown below. You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'.</li><br />
<li>In the list of your network connections, click on 'Local Area Connection' to the right of the entry (next to Connections: ) to bring up the connection status.</li><br />
<li>Click Details.</li></ol><br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs & Virtual Machines==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2932On Campus2013-09-30T13:02:26Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'.</li><br />
<li>In the list of your network connections, click on 'Local Area Connection' to the right of the entry (next to Connections: ) to bring up the connection status.</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<p>A video of this process can be found at http://windows.microsoft.com/en-gb/windows7/find-your-computers-ip-address</p><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2931Downloading Help2013-09-30T13:01:29Z<p>Astropoint: /* IP */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connectivity as shown below. You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'.</li><br />
<li>In the list of your network connections, click on 'Local Area Connection' to the right of the entry to bring up the connection status.</li><br />
<li>Click Details.</li></ol><br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs & Virtual Machines==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2930On Campus2013-09-30T13:01:19Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'.</li><br />
<li>In the list of your network connections, click on 'Local Area Connection' to the right of the entry to bring up the connection status.</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<p>A video of this process can be found at http://windows.microsoft.com/en-gb/windows7/find-your-computers-ip-address</p><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2929Downloading Help2013-09-30T12:57:42Z<p>Astropoint: /* IP */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connectivity as shown below. You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'. On the list on the top left, click on 'Change Adapter Settings'.</li><br />
<li>Select an active network connection, and then, in the toolbar, click View status of this connection. (You might need to click the chevron Picture of the chevron icon to find this command.)</li><br />
<li>Click Details.</li></ol><br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs & Virtual Machines==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2928On Campus2013-09-30T12:56:33Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'. On the list on the top left, click on 'Change Adapter Settings'.</li><br />
<li>Select an active network connection, and then, in the toolbar, click View status of this connection. (You might need to click the chevron Picture of the chevron icon to find this command.)</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<p>A video of this process can be found at http://windows.microsoft.com/en-gb/windows7/find-your-computers-ip-address</p><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2927On Campus2013-09-30T12:56:20Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Go to Control Panel -> and click on the 'Network and Internet' option, and go into the 'Network and Sharing Center'. On the list on the top left, click on 'Change Adapter Settings'.</li><br />
<li>Select an active network connection, and then, in the toolbar, click View status of this connection. (You might need to click the chevron Picture of the chevron icon to find this command.)</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<p>A video of this process can be found at http://windows.microsoft.com/en-gb/windows7/find-your-computers-ip-address</p><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2926On Campus2013-09-30T12:51:50Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Open Network Connections by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, type adapter, and then, under Network and Sharing Center, click View network connections.</li><br />
<li>Select an active network connection, and then, in the toolbar, click View status of this connection. (You might need to click the chevron Picture of the chevron icon to find this command.)</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<p>A video of this process can be found at http://windows.microsoft.com/en-gb/windows7/find-your-computers-ip-address</p><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-830.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2925On Campus2013-09-30T12:47:54Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<div style="color:red;font-weight: bold">You will need your INTERNAL network IP (IPv4) for this. It will be of the form 172.xxx.xxx.xxx.<br />
<ol><li>Open Network Connections by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, type adapter, and then, under Network and Sharing Center, click View network connections.</li><br />
<li>Select an active network connection, and then, in the toolbar, click View status of this connection. (You might need to click the chevron Picture of the chevron icon to find this command.)</li><br />
<li>Click Details.</li></ol><br />
<br />
Once you have this IP, go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</div><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Connect&diff=2924Connect2013-05-29T23:53:31Z<p>Astropoint: /* Connecting from the Campus Residential Network (Resnet) */</p>
<hr />
<div>If you are new to DC++ then there is a preconfigured file providing all the files and information you need to connect to the hub, from either on or off campus, available from http://www.twofo.co.uk/resources/twofoDC++.exe This file has the optimum settings for people using twofo. Obviously if you are running Linux or MacOS that won't work so you will have to follow the guides below.<br><br />
<span style="font-weight:bold">If you are already connected to the hub but can't connect to any of the people online then check the [[Client_Help | Client Help]] page for details on correctly setting up your client.</span><br><br />
<br />
If you still can't connect to the hub after following these instructions ask on the forums at [http://www.twofo.co.uk/forum http://www.twofo.co.uk/forum], but do try to be specific about where the connection is going wrong, or any error message you are getting as this makes it alot easier for us to diagnose.<br />
<br />
==Getting Started==<br />
<br />
twofo is a [http://dcplusplus.sourceforge.net/ Direct Connect] hub. This means that you will need a suitable Direct Connect client for you computer in order to connect. These clients are available for many operating systems, including Windows, Linux and MacOS.<br />
<br />
A basic guide to using DC++ can be found at http://www.b.ali.btinternet.co.uk/DCPlusPlus/gettingStarted.html<br />
<br />
Available Clients:<br />
<br />
'''Windows''' - [http://dcplusplus.sourceforge.net/ DC++] - There is now a preconfigured DC++ client for those wishing to use twofo, either on or off campus, available at http://www.twofo.co.uk/resources/twofoDC++.exe Simply download the file to a directory you will remember and run; instructions are provided on how to connect within the file.<br><br />
Should you wish to install the standard version, the recommended versions are [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.800.exe?download DC++ v0.800] or [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.699.exe?download DC++ v0.699]<br />
<br />
If you download v0.761 from the DC++ website, be aware that it comes with a feature called segmented downloads, for more information click [http://www.twofo.co.uk/wiki/index.php/FAQ#What_is_Multi_Sourcing here], or to see how to disable it, please click [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F here]. The preconfigured client has this turned off by default.<br />
<br />
'''Linux''' - [http://wxdcgui.sourceforge.net/ Valknut] , [http://linuxdcpp.berlios.de/articles.php?um=index LinuxDC++], [http://code.google.com/p/eiskaltdc/ EiskaltDC++] , [http://sourceforge.net/projects/nanodc/ nanodc], [http://corsair626.no-ip.org/microdc/ microdc2]<br />
<br />
'''MacOS''' - [http://shakespeer.bzero.se/ Shakespeer], [http://snaggledworks.com/software/valknut/ Valknut] , [http://code.google.com/p/eiskaltdc/ EiskaltDC++] - Scroll down for instructions on how to use stunnel with these clients.<br />
<br />
==Connecting from the Campus Residential Network (Resnet)==<br />
<br />
Note: To use twofo on campus you must be physically wired into the network. The resnet wireless counts as a separate network and so simply will not work for downloading no matter what you do, sorry.<br />
<br />
===Windows Users===<br />
<br />
The traffic shaper on resnet prevents a normal connection from DC++, so in order to connect you will have to use a program called stunnel<br />
<br />
The easiest way to do this is to download the preconfigured client from http://www.twofo.co.uk/resources/twofoDC++.exe This contains both stunnel and DC++ and a set of instructions on how to set it up to connect to the hub.<br />
<br />
<br />
However, if you already have DC++ installed and just require stunnel then please follow the steps below:<br />
<br />
# Download the rar file from http://www.twofo.co.uk/resources/stunnel.rar (or http://www.twofo.co.uk/resources/stunnel.zip for if you don't have winrar installed) <br />
# Extract ALL the files into a folder. <br />
# Then run the stunnel.exe. <br />
# Once the icon is in the tray, just set DC++ to connect to localhost:8000 (File -> Quick Connect) and it takes you straight onto twofo.<br />
Once connected you can type /fav in the main chat window to add twofo to your favourite hubs.<br />
<br />
<br />
If you wish, you can of course download stunnel yourself from http://www.stunnel.org/ , but you would have to configure it yourself to connect to the SSL server hub.twofo.co.uk:4146<br />
<br />
If you are getting the message '*** Connection refused by target machine' when trying to connect to the hub then make sure that stunnel is running. You will need to restart stunnel each time your restart your computer, and without it running in the background you will not be able to connect to the hub. The above message is almost always caused by the lack of stunnel. When stunnel is running it should put an icon in your system tray (next to the clock). If you still can't connect then ask on the [http://www.twofo.co.uk/forum forums].<br />
<br />
<br />
'''YOU WILL HAVE TO BE IN ACTIVE MODE (on the latest versions of DC++, this is called "Direct Connection") AND HAVE THE CORRECT IP IN DC++ IN ORDER TO SEARCH AND DOWNLOAD.''' You can find your IP at http://checkip.dyndns.org/ <br />
<br />
There is an extensive guide to any other problems you may have downloading [[On_Campus | here]]<br />
<br />
It is a very good idea to consider setting up your firewall to block Off Campus connections to DC++ when on campus. Guides to doing this can be found [[Firewalling | here]]<br />
<br />
<br />
===Mac Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
<br />
====Shakespeer====<br />
<br />
It would be worth attempting both of the methods listed below if the first one you try doesn't work. Feedback on the instructions would be appreciated if you have any when completed (either successfully or unsuccessfully)<br />
<br />
=====Recommended Method=====<br />
<br />
NB. Installing stunnel (required for shakespeer) requires the Developer Tools application to be installed from your original Mac CD/DVD. If you are not sure whether or not you have this installed, then it is worth just trying the install in case you do, but if you reach an error about C compilers then you will have to find your DVD.<br><br />
If you do not have this then skip to the valknut section and use that. For what appears to be a nice guide on installing the Developer Tools from the DVD please have a look at http://www.askdavetaylor.com/how_to_install_apple_developer_tools_cc_gcc_mac_os_x.html<br />
<br />
The recommended method method (as Valknut isn't a very user friendly program for novice users) is to use Shakespeer. If you are off campus you can just download Shakespeer and connect directly to hub.twofo.co.uk:4144 and not have to worry about stunnel, SSLEnabler etc.<br />
<br />
1) Make sure you have Developer Tools installed. They can be installed on the OS X install Disc under Optional Installs/Xcode Tools/XcodeTools.mpkg ...<br />
<br />
2) Download, extract and compile stunnel from stunnel.org - should compile just fine. To do this follow the steps below:<br><br />
2a) Download the latest stunnel source package from http://www.stunnel.org/download/source.html (the tar.gz version). By default this will go to your 'Downloads' folder.<br><br />
2b) Extract the files by double clicking on the file.<br><br />
2c) Open a Terminal: Applications > Utilities > Terminal.app<br><br />
2d) Navigate to the extracted files (if on the desktop still, cd desktop/stunnel-4.26 (or whatever version you have downloaded)).<br><br />
2e) Run 'sudo ./configure' entering the password if/when asked.<br><br />
NB. If you get an error at this stage saying 'Error: No acceptable C compiler found in $PATH' then have a look at the note above about develop tools on the mac.<br><br />
2f) Run 'sudo make'<br><br />
2g) Run 'sudo make install' <br><br />
<br />
3) Download and install SSL Enabler, hosted at http://www.twofo.co.uk/resources/SSLEnabler.dmg<br><br />
<br />
4) Download Shakespeer from http://shakespeer.googlecode.com/files/shakespeer-0.9.11.dmg<br />
<br />
5) Start Shakespeer, share some files and folders in order to get it hashing while you complete the rest of the setup<br />
<br />
6) Start SSL Enabler. It will ask to install Stunnel. Click yes, the install happens in the background, but doesn't work very well in reality (so yes, that's why we need step 2), but at least it wont ask you again. Then, configure followingly:<br />
<br />
Localport: any of your choosing. eg. 8000.<br />
Remote Server IP: hub.twofo.co.uk<br />
Remote Port: 4146<br />
<br />
--> Press Save<br />
<br />
7) Go to Shakespeer settings, set network mode to Active, and enter your ip-address manually in the settings (it wont work with automatic mode). Port can be anything really (eg. 9176).<br />
<br />
8 ) Go to bookmarks: Add a bookmark.<br />
<br />
Name: twofo<br />
Address: 127.0.0.1:8000 (or the port you chose earlier, obviously)<br />
<br />
9) Connect and enjoy a healthier (??) Valknut-free life at twofo.<br />
<br />
10) FINALLY, AND IMPORTANTLY : Make sure your firewall is set up correctly. Go to System Preferences --> Security --> firewall. Make sure it is '''not''' set on "Allow only essential services", but rather on "Set Access For specific services and applications". Press the + button in the bottom left and add Shakespeer. Then set it to allow incoming connections. Now, you should be good to go !<br />
<br />
=====Alternate Method=====<br />
<br />
Requirements: [http://shakespeer.bzero.se/ Shakespeer], Wine (included with Winebottle), [http://winebottler.kronenberg.org/ Winbottle], [http://www.twofo.co.uk/resources/stunnel.zip twofo stunnel zip]<br />
<br />
1) Install Wine & Winebottler as normal applications.<br><br />
2) Open winebottler, and create a custom prefix by doing the following:<br><br />
2a) Unpack Stunnel.zip and move the folder into Applications.<br><br />
2b) Go onto winebottler and create a "custom prefix"<br><br />
2c) When it says install file, choose the stunnel file named stunnel.exe in the applications folder and click open<br><br />
2d) Check the box underneath where it says "install file" named "copy only, ….", and click save<br><br />
3) This may take a while, so be patient.<br><br><br />
4) In winebottler again, go to Existing Prefixes<br><br />
5) Choose 'Add Empty Prefix' and choose the prefix you just created. This should come up with the name of the prefix, and 'Working Copy'<br><br />
6) Navigate to stunnel.exe in the folder you extracted (or using finder)<br><br />
7) Open stunnel.exe using wine (Right click -> Open With -> Wine), and choose the prefix you just created.<br><br />
8) Now the wine glass in the top bar should have the prefix you have just made. and in task manager stunnel.exe should be there amongst others <br><br />
9) Finally install Shakespeer, and connect to localhost:8000 and you ought to be online<br><br />
<br />
====Valknut====<br />
<br />
The other method is to download Valknut for Mac OS X, http://snaggledworks.com/software/valknut/. Users of Intel Macs will need to download and install Fink in order to be able to install valknut.<br />
<br />
Next, customise your settings, making sure you share at least 5GB of data. Add a bookmark with a profile and tick the "Secure Socket Layer" option: this will save you from installing stunnel , set the host as: hub.twofo.co.uk:4146 by doing the following:<br />
<br />
1. Open the hub list (Action menu -> Hub list), if it's not already open<br />
<br />
2. Click the "Bookmarks" tab<br />
<br />
3. Right click anywhere in the bookmarks list and choose "Add" to bring up the add bookmark dialog<br />
<br />
4. Put "hub.twofo.co.uk:4146" in the "Host" box<br />
<br />
5. Tick the box next to "Profile", so that the Profile button gets enabled<br />
<br />
6. Press the Profile button. The dialog gets bigger, and a "Secure Socket Layer" checkbox appears<br />
<br />
7. Tick the "Secure Socket Layer" box, and just connect to the hub.<br />
<br />
8. Put your IP from http://checkip.dyndns.org into the IP box in settings.<br />
<br />
9. Go to File --> Quick Options --> Download Mode: Single to disable multi source downloading if on campus. See the FAQ for a detailed explanation as to why this should be done.<br />
<br />
10. Valknut may need to be allowed in the Mac firewall. A guide to this can be found at http://www.umnp2p.com/mac/ Although this is aimed at Shakespeer users, the basic steps ought to be the same. You just have to choose Valknut instead of Shakespeer and set the TCP and UDP ports Valknut uses by default. Otherwise the firewall may need to be switched off in order to download.<br />
<br />
This works for sure on Panther Mac OS 10.3.9 and Intel 10.4<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the Shakespeer section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
===Linux Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
====LinuxDC++====<br />
<br />
To use LinuxDC++ on twofo, you will need to run stunnel separatly. You can get Stunnel from http://www.stunnel.org/ or your package manager/repositories depending on your distro . For Debian based distro's use the command "sudo aptitude install stunnel4". <br />
<br />
Once installed make the following changes to /etc/stunnel/stunnel.conf (or replace it with the preconfigured one from http://www.twofo.co.uk/resources/stunnel.conf)<br />
<br />
<br />
Under 'Service-level configuration' add the following lines:<br />
<br />
[twofo]<br />
<br />
accept = 8000<br />
<br />
connect = hub.twofo.co.uk:4146<br />
<br />
<br />
Now you need to modify these existing lines:<br />
<br />
"cert = /etc/stunnel/mail.pem" should be changed to ";cert = /etc/stunnel/mail.pem"<br />
<br />
";client = yes" should be changed to "client = yes"<br />
<br />
(You can pick any high numbered port you like instead of 8000)<br />
<br />
<br />
Next open a root terminal and type the command (stunnel has to be run as root):<br />
<br />
'''stunnel4'''<br />
<br />
Or you could type the following command (should ideally work without modifying the configuration in the stunnel.conf file)<br />
<br />
'''stunnel -c -d 8000 -r hub.twofo.co.uk:4146''' <br />
<br />
<br />
Finally, open your Direct Connect client, set yourself to Active mode and put in your IP from http://checkip.dyndns.org/ , and connect to 'localhost:8000'<br />
<br />
====Valknut====<br />
<br />
Those wishing to use valknut will need to download and compile from the source as describe at http://wxdcgui.sourceforge.net/compile.html '''The valknut in your repositories is too old and thus cannot download from modern DC++ clients (ie. everybody else)'''<br><br />
In Valknut you can simply add a Bookmark to your Hub List for twofo - Address: hub.twofo.co.uk:4146 and then under 'Profile' make sure you've ticked the 'Secure Socket Layer' (SSL) box. (Same as the guide for Valknut for mac users below) This avoids the need to install stunnel completely.<br />
<br />
====CrZDC++====<br />
<br />
CrZDC++ is based on a more recent version of DC++ and is available from http://www.crzdc.net/ To use it on campus you will however need to compile both it and stunnel. As such the instructions for stunnel and what address to connect to are the same as for LinuxDC above.<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the LinuxDC++ section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
Packages are available for various distro's, links for these are available on their [http://code.google.com/p/eiskaltdc/ homepage].<br />
<br />
====Command Line Clients====<br />
<br />
For any users wishing to use a command line client on linux there are two options available to you, [http://sourceforge.net/projects/nanodc/ nanodc] and [http://corsair626.no-ip.org/microdc/ microdc2]. Neither of these clients are still in development but both have been shown to allow users to chat and share on DC++ successfully.<br />
<br />
The latest version of nanodc can be downloaded from http://sourceforge.net/projects/nanodc/ and there is a guide to using http://nanodc.sourceforge.net/nanodc2.html. NB. The download links off the guide are for a slightly older version of nanodc so you are recommended to get the latest from souceforge, however the guide is still accurate<br />
<br />
The original microdc2 site has been down now for some time, but for the purposes of here there is a copy of the page with the build instructions at http://astropointy.kicks-ass.net/~james/microdc2.htm The tar.gz source file can be found at http://astropointy.kicks-ass.net/~james/microdc2-0.15.6.tar.gz<br />
<br />
The original microdc2 site was hosted at http://corsair626.no-ip.org/microdc/<br />
<br />
You WILL need port forwarding set up to use DC++ from off campus and behind a router. Please see [[Off_Campus | this guide]]<br />
<br />
==Connecting from anywhere else on campus==<br />
<br />
Unfortunately, due to the way the network is set up, <span style="font-weight:bold">it is impossible to connect to twofo to download from anywhere on campus other than RESNET</span> (ie. somewhere in halls). You might be able to connect to twofo, but you won't be able to connect to anybody else online to download.<br />
<br />
Other places on campus include, but are not exclusive to, any wireless, the library, learning grid and any departmental computers. The best thing you can do in these cases is to find a friend on campus and 'borrow' their network port for a small amount of time.<br />
<br />
==Connecting from Off Campus==<br />
<br />
Using a client off campus is much the same as using one on campus, except for the lack of necessity for using stunnel. Windows users can again use the preconfigured client at http://www.twofo.co.uk/resources/twofoDC++.exe and just connect to the off campus option in favourite hubs as displayed, however many of the options set are optimised for a campus connection rather than a broadband one so ask on the hub if you need advice about disabling some of them.<br />
<br />
Connect to hub.twofo.co.uk:4144 (Please do not use stunnel, it confuses other users into thinking you are on campus). This connects on the standard port which typically is not blocked by ISPs.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Connect&diff=2923Connect2013-05-29T23:52:24Z<p>Astropoint: /* Connecting from the Campus Residential Network (Resnet) */</p>
<hr />
<div>If you are new to DC++ then there is a preconfigured file providing all the files and information you need to connect to the hub, from either on or off campus, available from http://www.twofo.co.uk/resources/twofoDC++.exe This file has the optimum settings for people using twofo. Obviously if you are running Linux or MacOS that won't work so you will have to follow the guides below.<br><br />
<span style="font-weight:bold">If you are already connected to the hub but can't connect to any of the people online then check the [[Client_Help | Client Help]] page for details on correctly setting up your client.</span><br><br />
<br />
If you still can't connect to the hub after following these instructions ask on the forums at [http://www.twofo.co.uk/forum http://www.twofo.co.uk/forum], but do try to be specific about where the connection is going wrong, or any error message you are getting as this makes it alot easier for us to diagnose.<br />
<br />
==Getting Started==<br />
<br />
twofo is a [http://dcplusplus.sourceforge.net/ Direct Connect] hub. This means that you will need a suitable Direct Connect client for you computer in order to connect. These clients are available for many operating systems, including Windows, Linux and MacOS.<br />
<br />
A basic guide to using DC++ can be found at http://www.b.ali.btinternet.co.uk/DCPlusPlus/gettingStarted.html<br />
<br />
Available Clients:<br />
<br />
'''Windows''' - [http://dcplusplus.sourceforge.net/ DC++] - There is now a preconfigured DC++ client for those wishing to use twofo, either on or off campus, available at http://www.twofo.co.uk/resources/twofoDC++.exe Simply download the file to a directory you will remember and run; instructions are provided on how to connect within the file.<br><br />
Should you wish to install the standard version, the recommended versions are [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.800.exe?download DC++ v0.800] or [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.699.exe?download DC++ v0.699]<br />
<br />
If you download v0.761 from the DC++ website, be aware that it comes with a feature called segmented downloads, for more information click [http://www.twofo.co.uk/wiki/index.php/FAQ#What_is_Multi_Sourcing here], or to see how to disable it, please click [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F here]. The preconfigured client has this turned off by default.<br />
<br />
'''Linux''' - [http://wxdcgui.sourceforge.net/ Valknut] , [http://linuxdcpp.berlios.de/articles.php?um=index LinuxDC++], [http://code.google.com/p/eiskaltdc/ EiskaltDC++] , [http://sourceforge.net/projects/nanodc/ nanodc], [http://corsair626.no-ip.org/microdc/ microdc2]<br />
<br />
'''MacOS''' - [http://shakespeer.bzero.se/ Shakespeer], [http://snaggledworks.com/software/valknut/ Valknut] , [http://code.google.com/p/eiskaltdc/ EiskaltDC++] - Scroll down for instructions on how to use stunnel with these clients.<br />
<br />
==Connecting from the Campus Residential Network (Resnet)==<br />
<br />
Note: To use twofo on campus you must be physically wired into the network. The resnet wireless counts as a separate network and so simply will not work no matter what you do, sorry.<br />
<br />
===Windows Users===<br />
<br />
The traffic shaper on resnet prevents a normal connection from DC++, so in order to connect you will have to use a program called stunnel<br />
<br />
The easiest way to do this is to download the preconfigured client from http://www.twofo.co.uk/resources/twofoDC++.exe This contains both stunnel and DC++ and a set of instructions on how to set it up to connect to the hub.<br />
<br />
<br />
However, if you already have DC++ installed and just require stunnel then please follow the steps below:<br />
<br />
# Download the rar file from http://www.twofo.co.uk/resources/stunnel.rar (or http://www.twofo.co.uk/resources/stunnel.zip for if you don't have winrar installed) <br />
# Extract ALL the files into a folder. <br />
# Then run the stunnel.exe. <br />
# Once the icon is in the tray, just set DC++ to connect to localhost:8000 (File -> Quick Connect) and it takes you straight onto twofo.<br />
Once connected you can type /fav in the main chat window to add twofo to your favourite hubs.<br />
<br />
<br />
If you wish, you can of course download stunnel yourself from http://www.stunnel.org/ , but you would have to configure it yourself to connect to the SSL server hub.twofo.co.uk:4146<br />
<br />
If you are getting the message '*** Connection refused by target machine' when trying to connect to the hub then make sure that stunnel is running. You will need to restart stunnel each time your restart your computer, and without it running in the background you will not be able to connect to the hub. The above message is almost always caused by the lack of stunnel. When stunnel is running it should put an icon in your system tray (next to the clock). If you still can't connect then ask on the [http://www.twofo.co.uk/forum forums].<br />
<br />
<br />
'''YOU WILL HAVE TO BE IN ACTIVE MODE (on the latest versions of DC++, this is called "Direct Connection") AND HAVE THE CORRECT IP IN DC++ IN ORDER TO SEARCH AND DOWNLOAD.''' You can find your IP at http://checkip.dyndns.org/ <br />
<br />
There is an extensive guide to any other problems you may have downloading [[On_Campus | here]]<br />
<br />
It is a very good idea to consider setting up your firewall to block Off Campus connections to DC++ when on campus. Guides to doing this can be found [[Firewalling | here]]<br />
<br />
<br />
===Mac Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
<br />
====Shakespeer====<br />
<br />
It would be worth attempting both of the methods listed below if the first one you try doesn't work. Feedback on the instructions would be appreciated if you have any when completed (either successfully or unsuccessfully)<br />
<br />
=====Recommended Method=====<br />
<br />
NB. Installing stunnel (required for shakespeer) requires the Developer Tools application to be installed from your original Mac CD/DVD. If you are not sure whether or not you have this installed, then it is worth just trying the install in case you do, but if you reach an error about C compilers then you will have to find your DVD.<br><br />
If you do not have this then skip to the valknut section and use that. For what appears to be a nice guide on installing the Developer Tools from the DVD please have a look at http://www.askdavetaylor.com/how_to_install_apple_developer_tools_cc_gcc_mac_os_x.html<br />
<br />
The recommended method method (as Valknut isn't a very user friendly program for novice users) is to use Shakespeer. If you are off campus you can just download Shakespeer and connect directly to hub.twofo.co.uk:4144 and not have to worry about stunnel, SSLEnabler etc.<br />
<br />
1) Make sure you have Developer Tools installed. They can be installed on the OS X install Disc under Optional Installs/Xcode Tools/XcodeTools.mpkg ...<br />
<br />
2) Download, extract and compile stunnel from stunnel.org - should compile just fine. To do this follow the steps below:<br><br />
2a) Download the latest stunnel source package from http://www.stunnel.org/download/source.html (the tar.gz version). By default this will go to your 'Downloads' folder.<br><br />
2b) Extract the files by double clicking on the file.<br><br />
2c) Open a Terminal: Applications > Utilities > Terminal.app<br><br />
2d) Navigate to the extracted files (if on the desktop still, cd desktop/stunnel-4.26 (or whatever version you have downloaded)).<br><br />
2e) Run 'sudo ./configure' entering the password if/when asked.<br><br />
NB. If you get an error at this stage saying 'Error: No acceptable C compiler found in $PATH' then have a look at the note above about develop tools on the mac.<br><br />
2f) Run 'sudo make'<br><br />
2g) Run 'sudo make install' <br><br />
<br />
3) Download and install SSL Enabler, hosted at http://www.twofo.co.uk/resources/SSLEnabler.dmg<br><br />
<br />
4) Download Shakespeer from http://shakespeer.googlecode.com/files/shakespeer-0.9.11.dmg<br />
<br />
5) Start Shakespeer, share some files and folders in order to get it hashing while you complete the rest of the setup<br />
<br />
6) Start SSL Enabler. It will ask to install Stunnel. Click yes, the install happens in the background, but doesn't work very well in reality (so yes, that's why we need step 2), but at least it wont ask you again. Then, configure followingly:<br />
<br />
Localport: any of your choosing. eg. 8000.<br />
Remote Server IP: hub.twofo.co.uk<br />
Remote Port: 4146<br />
<br />
--> Press Save<br />
<br />
7) Go to Shakespeer settings, set network mode to Active, and enter your ip-address manually in the settings (it wont work with automatic mode). Port can be anything really (eg. 9176).<br />
<br />
8 ) Go to bookmarks: Add a bookmark.<br />
<br />
Name: twofo<br />
Address: 127.0.0.1:8000 (or the port you chose earlier, obviously)<br />
<br />
9) Connect and enjoy a healthier (??) Valknut-free life at twofo.<br />
<br />
10) FINALLY, AND IMPORTANTLY : Make sure your firewall is set up correctly. Go to System Preferences --> Security --> firewall. Make sure it is '''not''' set on "Allow only essential services", but rather on "Set Access For specific services and applications". Press the + button in the bottom left and add Shakespeer. Then set it to allow incoming connections. Now, you should be good to go !<br />
<br />
=====Alternate Method=====<br />
<br />
Requirements: [http://shakespeer.bzero.se/ Shakespeer], Wine (included with Winebottle), [http://winebottler.kronenberg.org/ Winbottle], [http://www.twofo.co.uk/resources/stunnel.zip twofo stunnel zip]<br />
<br />
1) Install Wine & Winebottler as normal applications.<br><br />
2) Open winebottler, and create a custom prefix by doing the following:<br><br />
2a) Unpack Stunnel.zip and move the folder into Applications.<br><br />
2b) Go onto winebottler and create a "custom prefix"<br><br />
2c) When it says install file, choose the stunnel file named stunnel.exe in the applications folder and click open<br><br />
2d) Check the box underneath where it says "install file" named "copy only, ….", and click save<br><br />
3) This may take a while, so be patient.<br><br><br />
4) In winebottler again, go to Existing Prefixes<br><br />
5) Choose 'Add Empty Prefix' and choose the prefix you just created. This should come up with the name of the prefix, and 'Working Copy'<br><br />
6) Navigate to stunnel.exe in the folder you extracted (or using finder)<br><br />
7) Open stunnel.exe using wine (Right click -> Open With -> Wine), and choose the prefix you just created.<br><br />
8) Now the wine glass in the top bar should have the prefix you have just made. and in task manager stunnel.exe should be there amongst others <br><br />
9) Finally install Shakespeer, and connect to localhost:8000 and you ought to be online<br><br />
<br />
====Valknut====<br />
<br />
The other method is to download Valknut for Mac OS X, http://snaggledworks.com/software/valknut/. Users of Intel Macs will need to download and install Fink in order to be able to install valknut.<br />
<br />
Next, customise your settings, making sure you share at least 5GB of data. Add a bookmark with a profile and tick the "Secure Socket Layer" option: this will save you from installing stunnel , set the host as: hub.twofo.co.uk:4146 by doing the following:<br />
<br />
1. Open the hub list (Action menu -> Hub list), if it's not already open<br />
<br />
2. Click the "Bookmarks" tab<br />
<br />
3. Right click anywhere in the bookmarks list and choose "Add" to bring up the add bookmark dialog<br />
<br />
4. Put "hub.twofo.co.uk:4146" in the "Host" box<br />
<br />
5. Tick the box next to "Profile", so that the Profile button gets enabled<br />
<br />
6. Press the Profile button. The dialog gets bigger, and a "Secure Socket Layer" checkbox appears<br />
<br />
7. Tick the "Secure Socket Layer" box, and just connect to the hub.<br />
<br />
8. Put your IP from http://checkip.dyndns.org into the IP box in settings.<br />
<br />
9. Go to File --> Quick Options --> Download Mode: Single to disable multi source downloading if on campus. See the FAQ for a detailed explanation as to why this should be done.<br />
<br />
10. Valknut may need to be allowed in the Mac firewall. A guide to this can be found at http://www.umnp2p.com/mac/ Although this is aimed at Shakespeer users, the basic steps ought to be the same. You just have to choose Valknut instead of Shakespeer and set the TCP and UDP ports Valknut uses by default. Otherwise the firewall may need to be switched off in order to download.<br />
<br />
This works for sure on Panther Mac OS 10.3.9 and Intel 10.4<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the Shakespeer section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
===Linux Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
====LinuxDC++====<br />
<br />
To use LinuxDC++ on twofo, you will need to run stunnel separatly. You can get Stunnel from http://www.stunnel.org/ or your package manager/repositories depending on your distro . For Debian based distro's use the command "sudo aptitude install stunnel4". <br />
<br />
Once installed make the following changes to /etc/stunnel/stunnel.conf (or replace it with the preconfigured one from http://www.twofo.co.uk/resources/stunnel.conf)<br />
<br />
<br />
Under 'Service-level configuration' add the following lines:<br />
<br />
[twofo]<br />
<br />
accept = 8000<br />
<br />
connect = hub.twofo.co.uk:4146<br />
<br />
<br />
Now you need to modify these existing lines:<br />
<br />
"cert = /etc/stunnel/mail.pem" should be changed to ";cert = /etc/stunnel/mail.pem"<br />
<br />
";client = yes" should be changed to "client = yes"<br />
<br />
(You can pick any high numbered port you like instead of 8000)<br />
<br />
<br />
Next open a root terminal and type the command (stunnel has to be run as root):<br />
<br />
'''stunnel4'''<br />
<br />
Or you could type the following command (should ideally work without modifying the configuration in the stunnel.conf file)<br />
<br />
'''stunnel -c -d 8000 -r hub.twofo.co.uk:4146''' <br />
<br />
<br />
Finally, open your Direct Connect client, set yourself to Active mode and put in your IP from http://checkip.dyndns.org/ , and connect to 'localhost:8000'<br />
<br />
====Valknut====<br />
<br />
Those wishing to use valknut will need to download and compile from the source as describe at http://wxdcgui.sourceforge.net/compile.html '''The valknut in your repositories is too old and thus cannot download from modern DC++ clients (ie. everybody else)'''<br><br />
In Valknut you can simply add a Bookmark to your Hub List for twofo - Address: hub.twofo.co.uk:4146 and then under 'Profile' make sure you've ticked the 'Secure Socket Layer' (SSL) box. (Same as the guide for Valknut for mac users below) This avoids the need to install stunnel completely.<br />
<br />
====CrZDC++====<br />
<br />
CrZDC++ is based on a more recent version of DC++ and is available from http://www.crzdc.net/ To use it on campus you will however need to compile both it and stunnel. As such the instructions for stunnel and what address to connect to are the same as for LinuxDC above.<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the LinuxDC++ section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
Packages are available for various distro's, links for these are available on their [http://code.google.com/p/eiskaltdc/ homepage].<br />
<br />
====Command Line Clients====<br />
<br />
For any users wishing to use a command line client on linux there are two options available to you, [http://sourceforge.net/projects/nanodc/ nanodc] and [http://corsair626.no-ip.org/microdc/ microdc2]. Neither of these clients are still in development but both have been shown to allow users to chat and share on DC++ successfully.<br />
<br />
The latest version of nanodc can be downloaded from http://sourceforge.net/projects/nanodc/ and there is a guide to using http://nanodc.sourceforge.net/nanodc2.html. NB. The download links off the guide are for a slightly older version of nanodc so you are recommended to get the latest from souceforge, however the guide is still accurate<br />
<br />
The original microdc2 site has been down now for some time, but for the purposes of here there is a copy of the page with the build instructions at http://astropointy.kicks-ass.net/~james/microdc2.htm The tar.gz source file can be found at http://astropointy.kicks-ass.net/~james/microdc2-0.15.6.tar.gz<br />
<br />
The original microdc2 site was hosted at http://corsair626.no-ip.org/microdc/<br />
<br />
You WILL need port forwarding set up to use DC++ from off campus and behind a router. Please see [[Off_Campus | this guide]]<br />
<br />
==Connecting from anywhere else on campus==<br />
<br />
Unfortunately, due to the way the network is set up, <span style="font-weight:bold">it is impossible to connect to twofo to download from anywhere on campus other than RESNET</span> (ie. somewhere in halls). You might be able to connect to twofo, but you won't be able to connect to anybody else online to download.<br />
<br />
Other places on campus include, but are not exclusive to, any wireless, the library, learning grid and any departmental computers. The best thing you can do in these cases is to find a friend on campus and 'borrow' their network port for a small amount of time.<br />
<br />
==Connecting from Off Campus==<br />
<br />
Using a client off campus is much the same as using one on campus, except for the lack of necessity for using stunnel. Windows users can again use the preconfigured client at http://www.twofo.co.uk/resources/twofoDC++.exe and just connect to the off campus option in favourite hubs as displayed, however many of the options set are optimised for a campus connection rather than a broadband one so ask on the hub if you need advice about disabling some of them.<br />
<br />
Connect to hub.twofo.co.uk:4144 (Please do not use stunnel, it confuses other users into thinking you are on campus). This connects on the standard port which typically is not blocked by ISPs.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2922Downloading Help2013-05-29T23:50:13Z<p>Astropoint: /* Macs */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs & Virtual Machines==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2921Downloading Help2013-05-29T23:49:18Z<p>Astropoint: /* Location */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location (e.g. Wireless)== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2920Downloading Help2013-05-29T23:48:07Z<p>Astropoint: /* Ask */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your problem being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2919Downloading Help2013-05-29T23:47:53Z<p>Astropoint: /* Firewalls */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. On the following window, click 'Change Settings' and then click 'Allow another program' at the bottom of the screen and browse to the location of DC++.<br/><br />
b) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCFirewall-7.png<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your program being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2918Downloading Help2013-05-29T23:38:48Z<p>Astropoint: /* IP */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
b) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. Go to the Exceptions tab of the window that appears and add the DCPlusPlus.exe file as an exception.<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCfirewall.gif<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your program being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2917Off Campus2013-05-29T23:38:05Z<p>Astropoint: /* UPnP */</p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista/7/8 pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig-7.png<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
<br clear=all><br />
===Automatically Detect===<br />
<br />
Alternatively, you can try letting DC++ automatically work out the settings for you. This is not guaranteed to work all the time, but might be worth a try if you are struggling with manual port forwarding. To enable this, go to File -> Settings -> Connectivity and tick the box for 'let DC++ determine the best connectivity settings'.<br />
<br />
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.<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2916Off Campus2013-05-29T23:34:34Z<p>Astropoint: </p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista/7/8 pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig-7.png<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
<br clear=all><br />
===UPnP===<br />
<br />
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. This is not the recommended way as at best this UPnP implementation in DC++ is temperamental and liable to just stop working at random times, and UPnP has some fairly major security flaws that you would be exposing your router to.<br />
<br />
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP<br />
<br />
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. <br />
<br />
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.<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2915Off Campus2013-05-29T23:21:15Z<p>Astropoint: /* Port Forwarding */</p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista/7/8 pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig-7.png<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
===UPnP===<br />
<br />
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. This is not the recommended way as at best this UPnP implementation in DC++ is temperamental and liable to just stop working at random times, and UPnP has some fairly major security flaws that you would be exposing your router to.<br />
<br />
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP<br />
<br />
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. <br />
<br />
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.<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2914Off Campus2013-05-29T23:17:12Z<p>Astropoint: /* Port Forwarding */</p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista/7/8 pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig.PNG<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
===UPnP===<br />
<br />
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. This is not the recommended way as at best this UPnP implementation in DC++ is temperamental and liable to just stop working at random times, and UPnP has some fairly major security flaws that you would be exposing your router to.<br />
<br />
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP<br />
<br />
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. <br />
<br />
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.<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2913Off Campus2013-05-29T23:09:48Z<p>Astropoint: /* UPnP */</p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig.PNG<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===UPnP===<br />
<br />
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. This is not the recommended way as at best this UPnP implementation in DC++ is temperamental and liable to just stop working at random times, and UPnP has some fairly major security flaws that you would be exposing your router to.<br />
<br />
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP<br />
<br />
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. <br />
<br />
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.<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Off_Campus&diff=2912Off Campus2013-05-29T23:07:54Z<p>Astropoint: /* Port Forwarding */</p>
<hr />
<div>__NOTOC__<br />
<center><p><font size="+2">For OFF-CAMPUS people</font></p><br />
__TOC__<br />
</center><br />
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.<br />
<br />
'''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<br />
<br />
<br />
NB. You will '''NOT''' get anything like the transfer speeds you got when you were on campus. Around 30kb/s is about normal download speed off campus. So please try not to be so surprised when you only get these speeds. Torrents are a far better bet for regular TV Shows/films etc. There is a guide to using BitTorrent on the FAQ at http://www.twofo.co.uk/wiki/index.php/FAQ#BitTorrent<br />
<br />
<br />
NB. Port forwarding is extremely useful for torrenting as it allows you to connect to many more people. The steps in these guides will be exactly the same as setting up port forwarding for torrents, you just have to find where to set the port to use in your client.<br />
<br />
<br />
===Port Forwarding===<br />
<br />
Firstly you need to log into your router, you can do this by opening your Internet browser and typing your router's IP into the address bar then press enter. You can find this IP by going to Start -> Run on XP/2000, or on Vista pressing the Windows Key + R) then typing 'cmd', and pressing enter. When the command window is open type 'ipconfig'. <br />
<br />
http://www.twofo.co.uk/resources/ipconfig.PNG<br />
<br />
This will display all the information you need about your network including your default gateway address which will be your router.<br />
<br />
<br />
Next you will need your routers user name and password (the default values can be found in your router <br />
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<br />
<br />
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<br />
<br />
{|align="left"<br />
|http://www.twofo.co.uk/resources/DCSettingsOff-811.png<br />
|}<br />
<br><br>Once you've forwarded your ports go into DC++ connection settings (File -> Settings -> Connectivity -> Manual configuration) and select 'Active Mode', 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).<br />
<br>'''Do not put your network IP in this box'''<br />
<br />
<br />
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 .<br />
<br>It is generally advisable to pick a high number for your, certainly greater than 10 for instance, but no more than 254. Routers will normally assign other people's IPs starting at .2 (assuming the IP of the router is .1) and working upwards. Static IPs are not recognised as being used by the router and so can be assigned again to a new computer connecting to the network (or old one switching on in the morning). This will generally cause one of the computers to not work at all on the network and the other to display alot of errors.<br />
<br />
===UPnP===<br />
<br />
Alternatively, you can enable UPnP (Universal Plug and Play) in your router instead of port forwarding. This is not the recommended way as at best this UPnP implementation in DC++ is temperamental and liable to just stop working at random times, and UPnP has some fairly major security flaws that you would be exposing your router to.<br />
<br />
Once UPnP is enabled in your router, go into File -> Settings -> Connection Settings and select "Firewall with UPnP<br />
<br />
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. <br />
<br />
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.<br />
<br />
<br />
===Firewalls===<br />
<br />
You will need to make sure that any firewalls you may have are set to allow connections to and from DC++.<br />
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.<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs.<br />
<br />
If you have recently gone off campus after having external connections to off campus blocked in your firewall these will obviously need to be removed.<br />
<br />
===Sharing a connection with other people wanting to use DC++===<br />
<br />
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.<br />
<br />
Remember though that having 2 or more people on one connection connected to the hub means that if both of you are being uploaded from at once, there are 2 uploads going off one, probably rather slow connection. It is usually better to have one person sat on the hub for downloading and getting other people to ask that person to provide things. This is even more true in the case of torrenting where each client can be making several hundred connections having a very large negative effect on the overall usability of your internet.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=On_Campus&diff=2911On Campus2013-05-29T23:02:07Z<p>Astropoint: /* Client Settings */</p>
<hr />
<div><center><p><font size="+2">For ON-CAMPUS people</font></p><br />
<br />
__TOC__<br />
</center><br />
<br />
===Client Settings===<br />
<br />
stunnel is required for connecting to twofo from the campus network. Details of how to use and where to find it can be found on the [[Connect | Connect page]]. If you are having problems searching and downloading once connected to the hub, please try the following:<br />
<br />
<span style="color:red;font-weight: bold">First go to http://checkip.dyndns.org/ and copy your IP. Next go into DC++ and under File -> Settings -> Connectivity -> Manual configuration select 'Active Mode' and paste your IP into the 'External/WAN IP box'. Leave the port boxes blank.</span><br />
<br />
<br />
http://www.twofo.co.uk/resources/DCSettings-811.png<br />
<br />
<span style="color:red;font-weight: bold">If it has worked previously, and no longer works now, PLEASE CHECK YOUR IP HAS NOT CHANGED!</span><br />
<br />
<br />
<br />
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++.<br />
<br />
<br />
NB. On the older versions of DC++ (<0.674), there are only two options, Active and Passive. You should be using Active mode.<br />
<br />
===Connection Type===<br />
<br />
We ask that everybody on campus goes into the Personal Information settings and changes their 'Connection Type' in the drop down box to 100. This acts as a quick and easy reference for others as to whether you are on or off campus. If you see somebody whose connection type isn't 100 then they should be off campus. Obviously this is not perfect as it relies on people actually setting it themselves, but the more people do it, the easier it will be for other users to distinguish on and off campus users.<br />
<br />
<br />
===Firewall Settings===<br />
<br />
You may also need to set any firewalls you have are set to allow connections to and from DC++.<br />
The most common firewall to block DC is the default windows one, which is usually enabled and running int he background unnoticed. To add an exception for DC++ on the Windows Firewall,thus allowing you to search, do the following:<br />
#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. <br />
#Go to the Advanced tab and choose settings in the Windows Firewall. The Windows Firewall menu should appear.<br />
#Finally, go to the Exceptions tab and choose add program; click browse and navigate to DC++ (C:\Program Files\DC++) and choose DCPlusPlus.exe. <br />
This should have added DC++ as an exception to the firewall so it will allow connections to and from it.<br />
<br />
<br />
Other firewalls should have manuals on the internet for settings up exceptions for programs. It is advisable however to block external connections to DC++ when on campus. For instructions on doing this on a variety of pages please see the [[Firewalling | Firewalls]] page.<br />
<br />
===Segmented Downloads===<br />
<br />
Although not strictly necessary to allow you to download, you should disable segmented downloading in your DC client. This causes a significant drain on the resources of both you and everybody else on the hub on campus. For details on how to disable it please see the [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F FAQ]</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2910Downloading Help2013-02-02T23:56:08Z<p>Astropoint: /* Location */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/dcipsettings.PNG<br />
<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
b) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. Go to the Exceptions tab of the window that appears and add the DCPlusPlus.exe file as an exception.<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCfirewall.gif<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/wireless hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your program being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=BCDC&diff=2907BCDC2013-01-09T07:40:25Z<p>Astropoint: /* Scripts for BCDC++ */</p>
<hr />
<div>==Scripts for BCDC++==<br />
<br />
To load up any of these scripts into BCDC, the lua file must in the the scripts folder. Then type /luafile file.lua to load it. If you want to autoload the script, append the following to the end of startup.lua in the scripts folder:<br />
<br />
dofile( DC():GetAppPath() .. "/scripts/script.lua" )<br />
<br />
<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/action.rar action.lua] is a script that converts /me and +me to the traditional IRC action form, on the client side. Only confirmed to work on NMDC type hubs (i.e. Twofo) but all current versions of DC++<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/debug2.rar debug.lua] is a script that checks messages you send for trigger words (that you define) and substitutes them with whatever you map them to. After loading the script just type "/help" into chat, and you should see an explanation. Can map words to whole sentences currently.<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/bsplayer.rar bsplayer.lua] spams now playing in BS player with a little assistance from the [http://www.twofo.co.uk/resources/bcdc-scripts/BStoTxt.rar BStoTxt plugin]. First you need to put the BStoTxt.dll file into the plugins directory of your BS Player install, then configure it to dump BStoTxt_out.txt into the BCDC scripts folder. Type /bs to spam :P.<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting.rar formatting.lua] edited by monke so that you can assign specific nicks specific colours. (It also allows you to have / characters in your timestamp, if you care :P). Just type /help and you should see what commands to use, and /color will list the available preset colours. You can define more preset colours by adding a line like so: formatting.color_conversion.emerald = {0,255,0} to formatting.lua, where the numbers represent RGB values. Confirmed to work for .698 client, but not any versions above 0.700. A version confirmed to work on BCDC++ v0.674 can be found [http://www.twofo.co.uk/resources/bcdc-scripts/monk_formatting-674.rar here]<br />
* [http://trmonks.me.uk/projects/bcdc-scripts/formatting.lua An alternative formatting.lua for BCDC++ version 0.7+ ]. Just replace the original formattting.lua with this one. Then you can use e.g. /nick monk red. /nick monk 256,0,0 to set a nick colour assignment to a particular nick.<br />
<br />
<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/vlc-0.699.rar vlc.lua] is a script to spam out the now playing track on VLC media player. Extract both vlc.lua and wget.exe to the scripts folder of BCDC++, and requires the Web Interface part of VLC to be enabled. This version will work with v0.699 to v0.75 of BCDC, for a version that works with 0.674 go [http://www.twofo.co.uk/resources/bcdc-scripts/vlc.rar here]. To enable the web interface in VLC:<br />
** Go to Tools -> Preferences<br />
** Section 'All Settings' at the bottom<br />
** Finally go to Interfaces -> Main Interfaces and tick the option for HTTP Remote Control Interface<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/mplayer-699.rar mplayer.lua] gets around the issue of the inbuilt /mplayerc command not working on Windows Vista and above. Based on the same idea as the vlc.lua script, so again includes wget.exe as well as the lua file, both of which need extracting to the scripts folder of BCDC. Type /mplayer to spam. Only confirmed to work on 0.699 of BCDC for now. Newer versions of MPC and MPC Home Cinema may require the newer script found at [http://www.twofo.co.uk/resources/bcdc-scripts/mplayer-699-new.rar mplayer-699-new.rar] To enable the web interface in Media Player Classic:<br />
** Go to View -> Options -> Web Interface<br />
** Tick the box for "Listen on Port" ensuring the box reads as 13579<br />
* [http://www.twofo.co.uk/resources/bcdc-scripts/wmp.lua.rar wmp.lua] is a now playing script for Windows Media Player; type /wmp to spam. Confirmed to work with 0.770 of BCDC<br />
** Install the windows media player output plugin included in the rar.<br />
** In the configuration menu for the plugin, if you choose a different output directory for the xml file, modify the spamfile variable in the wmp.lua file (remember to escape the backslashes in the file path).<br />
<br />
==Scripts for CrZDC++ (Linux)==<br />
<br />
*[http://www.twofo.co.uk/resources/crzdc-scripts/vlc-now-playing.sh vlc.sh] is a now playing script for CrZDC++ on linux to spam the currently playing file. Simply copy the script over the one in /usr/local/share/CrZDC/extensions/Script. Confirmed to work with GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) and perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2906Downloading Help2012-12-08T10:42:35Z<p>Astropoint: /* Location Again */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/dcipsettings.PNG<br />
<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
b) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. Go to the Exceptions tab of the window that appears and add the DCPlusPlus.exe file as an exception.<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCfirewall.gif<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
<br>http://www.twofo.co.uk/resources/its.png<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your program being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Downloading_Help&diff=2905Downloading Help2012-12-08T10:42:18Z<p>Astropoint: /* Location */</p>
<hr />
<div>There are many reasons why you may not be able to download once connected to the hub. Below are the majority of these in (mostly) likelihood order.<br />
<br />
==IP== <br />
<br />
Put your IP in the box. We cannot stress enough how important it is for your '''CURRENT''' IP to be in the box in File -> Settings -> Connection Settings as shown below. You can get your IP by going to http://checkip.dyndns.org. Also note that your IP on campus can and will change over the course of the term, so if DC++ suddenly stops being able to download, check to see if it has changed.<br />
<br />
http://www.twofo.co.uk/resources/dcipsettings.PNG<br />
<br />
<br />
==Port Forwarding== <br />
<br />
'''ONLY APPLIES TO OFF CAMPUS.''' Port Forwarding. You will need this off campus, and a guide can be found at the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==Firewalls== <br />
<br />
Firewalls at the best of times block applications from sending and receiving data for security purposes. This also means that they can block DC++ as it is an unknown program to them. To test whether this is the case, disable your firewall, and try searching/downloading. If DC starts to work again then you will need to add an Exception in the firewall for DC++.<br/><br />
a) On XP this can be done by going to Control Panel -> Windows Firewall and going to the Exceptions tab. Once here, choose Add Program and navigate to wherever the DCPlusPlus.exe file is on your computer (ie. the actual program you run).<br/><br />
b) On Vista/7 go to Control Panel, then in the Security section, choose 'Allow a program through the windows firewall'. Go to the Exceptions tab of the window that appears and add the DCPlusPlus.exe file as an exception.<br/><br />
c) Other firewalls will be similar(ish) but you may have to go looking for some form of Application or Program Control in them.<br />
<br />
http://www.twofo.co.uk/resources/DCfirewall.gif<br />
<br />
Doing this '''DOES NOT''' block external people from connecting to you if you are on campus. To learn how to do this, please see the [[Firewalling | firewall blocking pages]].<br />
<br />
<br />
P.S. We really do mean that you should disable '''ALL''' firewalls running in order to test. We don't want you to turn them off permanently, but for the sake of just seeing what is blocking downloads it is easier to tell when they are off rather than when you think you might have managed to add an exception. In windows this means that if Windows is not actively blinking at you to enable a firewall, then there will be one running in the background still.<br />
<br />
==Location== <br />
<br />
Are you actually on the residential network? You need to be using a network port inside one of the halls of residence for DC to work on campus. Library/Learning Grid/hotspots '''WILL NOT WORK UNDER ANY CIRCUMSTANCES'''.<br />
<br />
Unfortunately this now includes the resnet wireless, since this is technically on a different network, and so twofo will simply not work on there no matter what you do.<br />
<br />
==Location Again==<br />
<br />
Are you on campus and trying to download from somebody off campus? Are you off campus and trying to download from somebody on campus? If either of these are true then tough, it simply doesn't work. A connection or two a term might slip through ITS' traffic shapers but the rest of the time it simply will never connect no matter what you do.<br />
http://www.twofo.co.uk/resources/its.png<br />
<br />
<br />
==Macs==<br />
<br />
If you are running Windows in a VM on a Mac then there is nothing we know of that you can do to get DC++ working, sorry. You will have to set up one of the Mac clients as detailed at [[Connect#Mac_Users]].<br />
If somebody happens to know how to set up the Mac firewall to forward ports to the Windows VM then we would very much like to know about it so please pass the info along to one of the ops on the hub in as much detail as possible.<br />
<br />
==Routers== <br />
<br />
If you are using a router on campus to get wireless or whatever, you will need to set up port forwarding within the router in the same way you would if you were off campus. Again see the [[Off_Campus | Off Campus help page]].<br />
<br />
<br />
==PeerGuardian== <br />
<br />
If you use any IP blocking applications (PeerGuardian/IPBloquer etc) then these have a 'University Range' which includes Warwick. You will need to disable the use of this range within the program before DC will be able to download/search.<br />
<br />
<br />
==Other== <br />
<br />
If you have reached this point and still not found out why DC isn't working, then first check your IP '''AGAIN''', making sure there are no typos/commas/spaces before the IP. You would be amazed at how many people assure us their IP is correct before, 30 mins later, finding out they had mistyped it or something equally silly.<br />
<br />
==Ask== <br />
<br />
Failing that, ask on the hub. We may take you through these steps again to be sure though. Don't take it personally, it is just that the chances of your program being anything other than these are breathtakingly insignificant.<br />
<br />
http://www.twofo.co.uk/resources/comic-dogbert-tech-support.jpg</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Connect&diff=2904Connect2012-10-12T17:44:29Z<p>Astropoint: /* Getting Started */</p>
<hr />
<div>If you are new to DC++ then there is a preconfigured file providing all the files and information you need to connect to the hub, from either on or off campus, available from http://www.twofo.co.uk/resources/twofoDC++.exe This file has the optimum settings for people using twofo. Obviously if you are running Linux or MacOS that won't work so you will have to follow the guides below.<br><br />
<span style="font-weight:bold">If you are already connected to the hub but can't connect to any of the people online then check the [[Client_Help | Client Help]] page for details on correctly setting up your client.</span><br><br />
<br />
If you still can't connect to the hub after following these instructions ask on the forums at [http://www.twofo.co.uk/forum http://www.twofo.co.uk/forum], but do try to be specific about where the connection is going wrong, or any error message you are getting as this makes it alot easier for us to diagnose.<br />
<br />
==Getting Started==<br />
<br />
twofo is a [http://dcplusplus.sourceforge.net/ Direct Connect] hub. This means that you will need a suitable Direct Connect client for you computer in order to connect. These clients are available for many operating systems, including Windows, Linux and MacOS.<br />
<br />
A basic guide to using DC++ can be found at http://www.b.ali.btinternet.co.uk/DCPlusPlus/gettingStarted.html<br />
<br />
Available Clients:<br />
<br />
'''Windows''' - [http://dcplusplus.sourceforge.net/ DC++] - There is now a preconfigured DC++ client for those wishing to use twofo, either on or off campus, available at http://www.twofo.co.uk/resources/twofoDC++.exe Simply download the file to a directory you will remember and run; instructions are provided on how to connect within the file.<br><br />
Should you wish to install the standard version, the recommended versions are [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.800.exe?download DC++ v0.800] or [http://prdownloads.sourceforge.net/dcplusplus/DCPlusPlus-0.699.exe?download DC++ v0.699]<br />
<br />
If you download v0.761 from the DC++ website, be aware that it comes with a feature called segmented downloads, for more information click [http://www.twofo.co.uk/wiki/index.php/FAQ#What_is_Multi_Sourcing here], or to see how to disable it, please click [http://www.twofo.co.uk/wiki/index.php/FAQ#How_can_I_turn_off_segmented_downloading_in_the_new_versions_of_DC.2B.2B.3F here]. The preconfigured client has this turned off by default.<br />
<br />
'''Linux''' - [http://wxdcgui.sourceforge.net/ Valknut] , [http://linuxdcpp.berlios.de/articles.php?um=index LinuxDC++], [http://code.google.com/p/eiskaltdc/ EiskaltDC++] , [http://sourceforge.net/projects/nanodc/ nanodc], [http://corsair626.no-ip.org/microdc/ microdc2]<br />
<br />
'''MacOS''' - [http://shakespeer.bzero.se/ Shakespeer], [http://snaggledworks.com/software/valknut/ Valknut] , [http://code.google.com/p/eiskaltdc/ EiskaltDC++] - Scroll down for instructions on how to use stunnel with these clients.<br />
<br />
==Connecting from the Campus Residential Network (Resnet)==<br />
<br />
===Windows Users===<br />
<br />
The traffic shaper on resnet prevents a normal connection from DC++, so in order to connect you will have to use a program called stunnel<br />
<br />
The easiest way to do this is to download the preconfigured client from http://www.twofo.co.uk/resources/twofoDC++.exe This contains both stunnel and DC++ and a set of instructions on how to set it up to connect to the hub.<br />
<br />
<br />
However, if you already have DC++ installed and just require stunnel then please follow the steps below:<br />
<br />
# Download the rar file from http://www.twofo.co.uk/resources/stunnel.rar (or http://www.twofo.co.uk/resources/stunnel.zip for if you don't have winrar installed) <br />
# Extract ALL the files into a folder. <br />
# Then run the stunnel.exe. <br />
# Once the icon is in the tray, just set DC++ to connect to localhost:8000 (File -> Quick Connect) and it takes you straight onto twofo.<br />
Once connected you can type /fav in the main chat window to add twofo to your favourite hubs.<br />
<br />
<br />
If you wish, you can of course download stunnel yourself from http://www.stunnel.org/ , but you would have to configure it yourself to connect to the SSL server hub.twofo.co.uk:4146<br />
<br />
If you are getting the message '*** Connection refused by target machine' when trying to connect to the hub then make sure that stunnel is running. You will need to restart stunnel each time your restart your computer, and without it running in the background you will not be able to connect to the hub. The above message is almost always caused by the lack of stunnel. When stunnel is running it should put an icon in your system tray (next to the clock). If you still can't connect then ask on the [http://www.twofo.co.uk/forum forums].<br />
<br />
<br />
'''YOU WILL HAVE TO BE IN ACTIVE MODE (on the latest versions of DC++, this is called "Direct Connection") AND HAVE THE CORRECT IP IN DC++ IN ORDER TO SEARCH AND DOWNLOAD.''' You can find your IP at http://checkip.dyndns.org/ <br />
<br />
There is an extensive guide to any other problems you may have downloading [[On_Campus | here]]<br />
<br />
It is a very good idea to consider setting up your firewall to block Off Campus connections to DC++ when on campus. Guides to doing this can be found [[Firewalling | here]]<br />
<br />
<br />
===Mac Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
<br />
====Shakespeer====<br />
<br />
It would be worth attempting both of the methods listed below if the first one you try doesn't work. Feedback on the instructions would be appreciated if you have any when completed (either successfully or unsuccessfully)<br />
<br />
=====Recommended Method=====<br />
<br />
NB. Installing stunnel (required for shakespeer) requires the Developer Tools application to be installed from your original Mac CD/DVD. If you are not sure whether or not you have this installed, then it is worth just trying the install in case you do, but if you reach an error about C compilers then you will have to find your DVD.<br><br />
If you do not have this then skip to the valknut section and use that. For what appears to be a nice guide on installing the Developer Tools from the DVD please have a look at http://www.askdavetaylor.com/how_to_install_apple_developer_tools_cc_gcc_mac_os_x.html<br />
<br />
The recommended method method (as Valknut isn't a very user friendly program for novice users) is to use Shakespeer. If you are off campus you can just download Shakespeer and connect directly to hub.twofo.co.uk:4144 and not have to worry about stunnel, SSLEnabler etc.<br />
<br />
1) Make sure you have Developer Tools installed. They can be installed on the OS X install Disc under Optional Installs/Xcode Tools/XcodeTools.mpkg ...<br />
<br />
2) Download, extract and compile stunnel from stunnel.org - should compile just fine. To do this follow the steps below:<br><br />
2a) Download the latest stunnel source package from http://www.stunnel.org/download/source.html (the tar.gz version). By default this will go to your 'Downloads' folder.<br><br />
2b) Extract the files by double clicking on the file.<br><br />
2c) Open a Terminal: Applications > Utilities > Terminal.app<br><br />
2d) Navigate to the extracted files (if on the desktop still, cd desktop/stunnel-4.26 (or whatever version you have downloaded)).<br><br />
2e) Run 'sudo ./configure' entering the password if/when asked.<br><br />
NB. If you get an error at this stage saying 'Error: No acceptable C compiler found in $PATH' then have a look at the note above about develop tools on the mac.<br><br />
2f) Run 'sudo make'<br><br />
2g) Run 'sudo make install' <br><br />
<br />
3) Download and install SSL Enabler, hosted at http://www.twofo.co.uk/resources/SSLEnabler.dmg<br><br />
<br />
4) Download Shakespeer from http://shakespeer.googlecode.com/files/shakespeer-0.9.11.dmg<br />
<br />
5) Start Shakespeer, share some files and folders in order to get it hashing while you complete the rest of the setup<br />
<br />
6) Start SSL Enabler. It will ask to install Stunnel. Click yes, the install happens in the background, but doesn't work very well in reality (so yes, that's why we need step 2), but at least it wont ask you again. Then, configure followingly:<br />
<br />
Localport: any of your choosing. eg. 8000.<br />
Remote Server IP: hub.twofo.co.uk<br />
Remote Port: 4146<br />
<br />
--> Press Save<br />
<br />
7) Go to Shakespeer settings, set network mode to Active, and enter your ip-address manually in the settings (it wont work with automatic mode). Port can be anything really (eg. 9176).<br />
<br />
8 ) Go to bookmarks: Add a bookmark.<br />
<br />
Name: twofo<br />
Address: 127.0.0.1:8000 (or the port you chose earlier, obviously)<br />
<br />
9) Connect and enjoy a healthier (??) Valknut-free life at twofo.<br />
<br />
10) FINALLY, AND IMPORTANTLY : Make sure your firewall is set up correctly. Go to System Preferences --> Security --> firewall. Make sure it is '''not''' set on "Allow only essential services", but rather on "Set Access For specific services and applications". Press the + button in the bottom left and add Shakespeer. Then set it to allow incoming connections. Now, you should be good to go !<br />
<br />
=====Alternate Method=====<br />
<br />
Requirements: [http://shakespeer.bzero.se/ Shakespeer], Wine (included with Winebottle), [http://winebottler.kronenberg.org/ Winbottle], [http://www.twofo.co.uk/resources/stunnel.zip twofo stunnel zip]<br />
<br />
1) Install Wine & Winebottler as normal applications.<br><br />
2) Open winebottler, and create a custom prefix by doing the following:<br><br />
2a) Unpack Stunnel.zip and move the folder into Applications.<br><br />
2b) Go onto winebottler and create a "custom prefix"<br><br />
2c) When it says install file, choose the stunnel file named stunnel.exe in the applications folder and click open<br><br />
2d) Check the box underneath where it says "install file" named "copy only, ….", and click save<br><br />
3) This may take a while, so be patient.<br><br><br />
4) In winebottler again, go to Existing Prefixes<br><br />
5) Choose 'Add Empty Prefix' and choose the prefix you just created. This should come up with the name of the prefix, and 'Working Copy'<br><br />
6) Navigate to stunnel.exe in the folder you extracted (or using finder)<br><br />
7) Open stunnel.exe using wine (Right click -> Open With -> Wine), and choose the prefix you just created.<br><br />
8) Now the wine glass in the top bar should have the prefix you have just made. and in task manager stunnel.exe should be there amongst others <br><br />
9) Finally install Shakespeer, and connect to localhost:8000 and you ought to be online<br><br />
<br />
====Valknut====<br />
<br />
The other method is to download Valknut for Mac OS X, http://snaggledworks.com/software/valknut/. Users of Intel Macs will need to download and install Fink in order to be able to install valknut.<br />
<br />
Next, customise your settings, making sure you share at least 5GB of data. Add a bookmark with a profile and tick the "Secure Socket Layer" option: this will save you from installing stunnel , set the host as: hub.twofo.co.uk:4146 by doing the following:<br />
<br />
1. Open the hub list (Action menu -> Hub list), if it's not already open<br />
<br />
2. Click the "Bookmarks" tab<br />
<br />
3. Right click anywhere in the bookmarks list and choose "Add" to bring up the add bookmark dialog<br />
<br />
4. Put "hub.twofo.co.uk:4146" in the "Host" box<br />
<br />
5. Tick the box next to "Profile", so that the Profile button gets enabled<br />
<br />
6. Press the Profile button. The dialog gets bigger, and a "Secure Socket Layer" checkbox appears<br />
<br />
7. Tick the "Secure Socket Layer" box, and just connect to the hub.<br />
<br />
8. Put your IP from http://checkip.dyndns.org into the IP box in settings.<br />
<br />
9. Go to File --> Quick Options --> Download Mode: Single to disable multi source downloading if on campus. See the FAQ for a detailed explanation as to why this should be done.<br />
<br />
10. Valknut may need to be allowed in the Mac firewall. A guide to this can be found at http://www.umnp2p.com/mac/ Although this is aimed at Shakespeer users, the basic steps ought to be the same. You just have to choose Valknut instead of Shakespeer and set the TCP and UDP ports Valknut uses by default. Otherwise the firewall may need to be switched off in order to download.<br />
<br />
This works for sure on Panther Mac OS 10.3.9 and Intel 10.4<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the Shakespeer section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
===Linux Users===<br />
<br />
If you are an off campus user, you only need to download and install a relevant client, any of the stuff about using stunnel or SSL encryption can be ignored as you just need to connect to hub.twofo.co.uk:4144 and [[Off_Campus | set up port forwarding]].<br />
<br />
====LinuxDC++====<br />
<br />
To use LinuxDC++ on twofo, you will need to run stunnel separatly. You can get Stunnel from http://www.stunnel.org/ or your package manager/repositories depending on your distro . For Debian based distro's use the command "sudo aptitude install stunnel4". <br />
<br />
Once installed make the following changes to /etc/stunnel/stunnel.conf (or replace it with the preconfigured one from http://www.twofo.co.uk/resources/stunnel.conf)<br />
<br />
<br />
Under 'Service-level configuration' add the following lines:<br />
<br />
[twofo]<br />
<br />
accept = 8000<br />
<br />
connect = hub.twofo.co.uk:4146<br />
<br />
<br />
Now you need to modify these existing lines:<br />
<br />
"cert = /etc/stunnel/mail.pem" should be changed to ";cert = /etc/stunnel/mail.pem"<br />
<br />
";client = yes" should be changed to "client = yes"<br />
<br />
(You can pick any high numbered port you like instead of 8000)<br />
<br />
<br />
Next open a root terminal and type the command (stunnel has to be run as root):<br />
<br />
'''stunnel4'''<br />
<br />
Or you could type the following command (should ideally work without modifying the configuration in the stunnel.conf file)<br />
<br />
'''stunnel -c -d 8000 -r hub.twofo.co.uk:4146''' <br />
<br />
<br />
Finally, open your Direct Connect client, set yourself to Active mode and put in your IP from http://checkip.dyndns.org/ , and connect to 'localhost:8000'<br />
<br />
====Valknut====<br />
<br />
Those wishing to use valknut will need to download and compile from the source as describe at http://wxdcgui.sourceforge.net/compile.html '''The valknut in your repositories is too old and thus cannot download from modern DC++ clients (ie. everybody else)'''<br><br />
In Valknut you can simply add a Bookmark to your Hub List for twofo - Address: hub.twofo.co.uk:4146 and then under 'Profile' make sure you've ticked the 'Secure Socket Layer' (SSL) box. (Same as the guide for Valknut for mac users below) This avoids the need to install stunnel completely.<br />
<br />
====CrZDC++====<br />
<br />
CrZDC++ is based on a more recent version of DC++ and is available from http://www.crzdc.net/ To use it on campus you will however need to compile both it and stunnel. As such the instructions for stunnel and what address to connect to are the same as for LinuxDC above.<br />
<br />
====EiskaltDC++====<br />
<br />
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. To use it, you can either compile it or download packaged files (Linux/Windows/Mac). You will also need to have stunnel configured as per instructions under the LinuxDC++ section.<br />
<br />
You can download [http://code.google.com/p/eiskaltdc/ EiskaltDC++] from http://code.google.com/p/eiskaltdc/downloads/list<br />
<br />
Packages are available for various distro's, links for these are available on their [http://code.google.com/p/eiskaltdc/ homepage].<br />
<br />
====Command Line Clients====<br />
<br />
For any users wishing to use a command line client on linux there are two options available to you, [http://sourceforge.net/projects/nanodc/ nanodc] and [http://corsair626.no-ip.org/microdc/ microdc2]. Neither of these clients are still in development but both have been shown to allow users to chat and share on DC++ successfully.<br />
<br />
The latest version of nanodc can be downloaded from http://sourceforge.net/projects/nanodc/ and there is a guide to using http://nanodc.sourceforge.net/nanodc2.html. NB. The download links off the guide are for a slightly older version of nanodc so you are recommended to get the latest from souceforge, however the guide is still accurate<br />
<br />
The original microdc2 site has been down now for some time, but for the purposes of here there is a copy of the page with the build instructions at http://astropointy.kicks-ass.net/~james/microdc2.htm The tar.gz source file can be found at http://astropointy.kicks-ass.net/~james/microdc2-0.15.6.tar.gz<br />
<br />
The original microdc2 site was hosted at http://corsair626.no-ip.org/microdc/<br />
<br />
You WILL need port forwarding set up to use DC++ from off campus and behind a router. Please see [[Off_Campus | this guide]]<br />
<br />
==Connecting from anywhere else on campus==<br />
<br />
Unfortunately, due to the way the network is set up, <span style="font-weight:bold">it is impossible to connect to twofo to download from anywhere on campus other than RESNET</span> (ie. somewhere in halls). You might be able to connect to twofo, but you won't be able to connect to anybody else online to download.<br />
<br />
Other places on campus include, but are not exclusive to, any wireless, the library, learning grid and any departmental computers. The best thing you can do in these cases is to find a friend on campus and 'borrow' their network port for a small amount of time.<br />
<br />
==Connecting from Off Campus==<br />
<br />
Using a client off campus is much the same as using one on campus, except for the lack of necessity for using stunnel. Windows users can again use the preconfigured client at http://www.twofo.co.uk/resources/twofoDC++.exe and just connect to the off campus option in favourite hubs as displayed, however many of the options set are optimised for a campus connection rather than a broadband one so ask on the hub if you need advice about disabling some of them.<br />
<br />
Connect to hub.twofo.co.uk:4144 (Please do not use stunnel, it confuses other users into thinking you are on campus). This connects on the standard port which typically is not blocked by ISPs.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Main_Page&diff=2903Main Page2012-10-01T20:48:21Z<p>Astropoint: /* No Minimum Share */</p>
<hr />
<div>__NOTOC__<br />
==Welcome to the Twofo Wiki==<br />
{|align="right"<br />
| http://sites.google.com/site/astropointier/twofo.png<br />
|}<br />
<br />
twofo represents the state of online discussion and filesharing for students at the University of Warwick. At present, it consists of a Direct Connect ('DC++') hub which is situated off campus, allowing us to share files and discuss stuff (and penguins). <br />
<br />
Due to Warwick ITS's current stance on filesharing, there will be no hub situated on campus. New users are advised to download the pre-configured version of DC++ and stunnel from http://www.twofo.co.uk/resources/twofoDC++.exe and follow the instructions found when running it to connect. Otherwise to connect to twofo, please see the [[Connect | How to Connect]] page.<br />
<br />
<br />
This wiki is intended to give information about the hub and how to use it.<br />
<br>Please see the [http://www.twofo.co.uk Twofo Homepage] for up to date information about the hub or join us the [http://www.twofo.co.uk/forum Twofo Forums] for discussion about a wide variety of topics.<br />
<br />
<br />
<br />
<br />
<br />
=== <nowiki>No Minimum Share</nowiki> ===<br />
<br />
For the beginning of the year the minimum share for the hub has been removed to allow new fresh faced bright eyed people to join twofo for the first time. Obviously though the hub can only be as good as the people willing to share on it, so if you have anything to share then please do so (ask on the hub if you don't know how). Failing that then I expect that pretty soon you will have something worth sharing. A few weeks into term the minimum share will be increased a bit so it is generally a good idea to sort this out beforehand. As a tip, sharing your default download folder is a good place to start, that way anything you download will automatically be hashed and shared back with everybody else :)<br />
<br />
''To share more folders, you can go to File -> Settings -> Share and simply Add as many folders as you want from in there.''<br />
<br />
<br />
This wiki is best viewed in [http://www.mozilla-europe.org/en/products/firefox/ Firefox] <br />
<br />
<br />
<br />
Feel free to edit these pages (including this one!). if you muck things up, we can always revert back to the previous version. This is a MediaWiki, so look this up for information on how to do funky stuff with the text and graphics.<br />
<br />
''Cocodude''</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Main_Page&diff=2902Main Page2012-10-01T07:43:13Z<p>Astropoint: /* 5GB Minimum Share */</p>
<hr />
<div>__NOTOC__<br />
==Welcome to the Twofo Wiki==<br />
{|align="right"<br />
| http://sites.google.com/site/astropointier/twofo.png<br />
|}<br />
<br />
twofo represents the state of online discussion and filesharing for students at the University of Warwick. At present, it consists of a Direct Connect ('DC++') hub which is situated off campus, allowing us to share files and discuss stuff (and penguins). <br />
<br />
Due to Warwick ITS's current stance on filesharing, there will be no hub situated on campus. New users are advised to download the pre-configured version of DC++ and stunnel from http://www.twofo.co.uk/resources/twofoDC++.exe and follow the instructions found when running it to connect. Otherwise to connect to twofo, please see the [[Connect | How to Connect]] page.<br />
<br />
<br />
This wiki is intended to give information about the hub and how to use it.<br />
<br>Please see the [http://www.twofo.co.uk Twofo Homepage] for up to date information about the hub or join us the [http://www.twofo.co.uk/forum Twofo Forums] for discussion about a wide variety of topics.<br />
<br />
<br />
<br />
<br />
<br />
=== <nowiki>No Minimum Share</nowiki> ===<br />
<br />
For the beginning of the year the minimum share for the hub has been removed to allow new fresh faced bright eyed people to join twofo for the first time. Obviously though the hub can only be as good as the people willing to share on it, so if you have anything to share then please do so (ask on the hub if you don't know how). Failing that then I expect that pretty soon you will have something worth sharing. A few weeks into term the minimum share will be increased a bit so it is generally a good idea to sort this out beforehand. As a tip, sharing your default download folder is a good place to start, that way anything you download will automatically be hashed and shared back with everybody else :)<br />
<br />
<br />
This wiki is best viewed in [http://www.mozilla-europe.org/en/products/firefox/ Firefox] <br />
<br />
<br />
<br />
Feel free to edit these pages (including this one!). if you muck things up, we can always revert back to the previous version. This is a MediaWiki, so look this up for information on how to do funky stuff with the text and graphics.<br />
<br />
''Cocodude''</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2901Firewalling2012-04-29T17:04:13Z<p>Astropoint: /* Windows (7/Vista) Firewall */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DC++ and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
<br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 or 137.205.0.0/16 or 137.205.0.0/255.255.0.0) 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.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Firewalling&diff=2900Firewalling2012-04-29T17:03:36Z<p>Astropoint: /* Windows Vista */</p>
<hr />
<div>'''Firewalling out Off Campus Connections'''<br />
<br />
Due to the restrictions and threats of disconnections by ITS on campus, it is worth 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.<br />
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, logged and subsequently blocked by the traffic shaper even if you do not see any transfers in DC++ (although sometimes connections slip through the traffic shaper causing even more problems for you). <br />
<br />
<br />
Firewalling off campus out is intended as an extra layer of security, and doesn't guarantee your safety from ITS. We do believe that is is by far the best thing you can do though and recommend it to everybody.<br />
<br />
<br />
Guides for blocking blocking external connections to DC++ in various firewalls and operating systems are below. If you are looking for a quick and easy firewall to block connections, then we recommend one of Comodo, Sygate or Kerio as these are light on system resources and are unlikely to interfere with your computer as a whole.<br />
<br />
<br />
NB. Firewalls listed under Windows Vista will work for Windows XP as well with the exception of the Vista firewall itself.<br />
<br />
= Windows 7 =<br />
<br />
As far as is known so far, all the firewalls and scripts that work for Windows Vista ought to work on Windows 7 in much the same manner. If anybody tries this and finds it not to be the case could you leave a message on the hub and (if feeling particularly inquisitive) any solutions you may have found.<br />
<br />
<br />
==[[Windows 7 | Windows 7 Firewall]]==<br />
[[Windows 7 | (guide produced by Rampage, software courtesy of Zizzi)]]<br />
<br />
The scripts used to configure the Vista firewall also work perfectly on Windows 7, and is the fastest and easiest way to get the firewall configured to block On Campus - Off Campus connections. If you want to do it manually in the Windows 7 firewall though follow the guide here.<br />
<br />
= Windows 7/Vista = <br />
Unless otherwise stated, the following firewalls will work on Windows XP, Vista and 7<br />
<br />
==[[Vista_7_Firewall | Windows (7/Vista) Firewall]]==<br />
<br />
This only applies to the '''7 & Vista''' firewall, and '''DOES NOT''' work on XP.<br />
<br />
First you will most likely need to disable any DC++ rules in the firewall, then you can either run the commands above, or get the install.bat file below which will run them all at once. So all you need to do is download the scripts right click on the appropriate one and 'run as Administrator'.<br />
<br />
Also ensure that the DC++ executable file is located at '''"C:\Users\YourName\DC++\DCPlusPlus.exe"'''. If this is not the case the commands/scripts have to be modified accordingly. If you are using the preconfigured client from this wiki then you will either need to extract it to Program Files or change the rules to reflect the new location of the DCPlusPlus.exe file. If you go to '''C:\Users\YourName\DC++''' you should see the list of files for DC itself (DCPlusPlus.exe, favourites.xml etc etc) and '''NOT''' the DCPlsuPlus and stunnel folders.<br />
<br />
<span style="color:red;font-weight: bold"><span style="font-size:large">READ THIS: </span>Really, you cannot just run these scripts and expect it to work, you have to read the above and make the necessary changes!</span><br />
<br />
[http://www.twofo.co.uk/resources/vista_7_install.bat Install Firewall Rules]<br />
<br />
[http://www.twofo.co.uk/resources/vista_7_uninstall.bat Uninstall Firewall Rules]<br />
<br />
You can test whether this is working in DC++ itself by going to Help -> About DC++. At the bottom of the window that shows up is a section saying latest version. If this shows some form of error then the external blocking is correctly set up. If it shows a DC++ version number then it is not.<br />
<br />
==[[Comodo3 | Comodo Personal Firewall 3]]==<br />
[[Comodo3 | (guide produced by Rampage)]]<br />
<br />
'''Free firewall'''<br><br />
Version 3 is Windows Vista compatible<br />
<br />
There is also a guide available for Comodo Personal Firewall Version 2.4 [[Comodo | here]].<br><br />
You can download Comodo Personal firewall from http://personalfirewall.comodo.com.<br />
<br />
==[[ESET | Eset Smart Security (NOD32)]]==<br />
[[ESET | (guide produced by Rampage)]]<br />
<br />
Windows Vista compatible, please ask on the hub for someone to test it for you. Guide Needs testing, if you find it is up to scratch please contact astropoint or Rampage and this will be finalised. If something needs editing please contact Rampage.<br />
<br />
==[[Kaspersky7 | Kaspersky v7]]==<br />
[[Kaspersky7 | (guide produced by astropoint)]]<br />
<br />
Kaspersky v8 (2009) seem to have removed alot of the functionality of v7 in regards to specific blocking of applications to certain IP ranges as is required on campus. If anybody can work out how to do it on the newer versions please tell an op and we can try to knock together a guide.<br />
<br />
==[[CA | CA Personal Firewall]]==<br />
[[CA | (guide produced by Rampage)]]<br />
<br />
Some people seem to have trouble running this firewall on vista even though it is technically compatible. Try Comodo if you experience issues<br />
<br />
==[http://www.twofo.co.uk/resources/jeticoguide.rar Jetico Personal Firewall]==<br />
[http://www.twofo.co.uk/resources/jeticoguide.rar (guide produced by itsmonktastic)]<br />
<br />
Expert firewall<br />
<br />
==[[Norton | Norton Personal Firewall]]==<br />
[[Norton | (guide produced by astropoint)]]<br />
<br />
Guide was produced for Norton 2005, but the basic structure of the rules etc hasn't changed so should be applicable to more recent versions. However if somebody is willing to help update it somewhat it would be appreciated; contact astropoint.<br />
<br />
==[[McAfee | McAfee]]==<br />
[[McAfee | (guide produced by 2448-1111)]]<br />
<br />
''Warning:'' This puts the whole of the Resnet into the firewall's "Trusted Zone" which is a really bad idea on the whole. So if somebody comes up with a way of allowing IPs JUST to DC++, pm astro/astropoint and I'll try to update the guide.<br />
<br />
=Windows XP= <br />
Unless otherwise stated, the following firewalls will work on Windows XP/2000. Note that almost all Vista compatible firewalls also work on XP so check above in case your firewall is listed there<br />
<br />
==[[Sygate | Sygate Personal Firewall]]==<br />
[[Sygate | (guide produced by fallingmagpie)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
Works on Windows XP or below only. Free shareware, continues to work after license runs out. Downloadable from http://www.download.com/Sygate-Personal-Firewall/3000-2092_4-10049526.html.<br />
(NB. Now owned by Symantec so this is the latest version now available)<br />
<br />
==[http://www.twofo.co.uk/resources/tdifw.zip TDIFW]==<br />
[http://www.twofo.co.uk/resources/tdifw.zip (guide produced by astropoint & Rampage)]<br />
<br />
'''Free Firewall'''<br />
<br />
This is a quick and easy way to get a foolproof firewall set up.<br />
<br />
To block connections to Off campus users you must ensure the following:<br />
<br />
Your DC++ application should be '''C:\Program Files\DC++\DCPlusPlus.exe'''. This is the default location when you install DC++.<br />
<br />
Now download the preconfigured TDIFW from the http://www.twofo.co.uk/resources/tdifw.zip , unzip the contents onto your '''C:''' drive, run the file ''''install'''' and restart your computer. That is all you need! Please check with an Operator to confirm whether the firewall is working. (When Off Campus you can just uninstall the firewall from the unzipped folder in C drive or disable the service.)<br />
<br />
==[[Kerio | Sunbelt (Kerio)]]==<br />
[[Kerio | (guide produced by astropoint)]]<br />
<br />
'''Free (ish) Firewall''' Is shareware, but the required components continue to work after the trial license expires.<br />
<br />
This is '''NOT''' the Kerio WinRoute Firewall<br><br />
Windows XP and below only<br><br />
Download from http://www.vnunet.com/vnunet/downloads/2128767/kerio-personal-firewall<br />
<br />
==[[ZoneAlarm | ZoneAlarm]]==<br />
[[ZoneAlarm | (guide produced by Huck)]]<br />
<br />
This is '''NOT''' the free version of the firewall. As far as we know the free version of the firewall cannot block external connections properly. However this is as yet untested on the vista compatible version (7.1)<br />
<br />
==[[Tiny | Tiny]]==<br />
[[Tiny | (guide produced by Rampage)]]<br />
<br />
==XP Firewall==<br />
<br />
It is not possible to use the Windows XP firewall to properly block external connections to DC++ as far as we know. Please choose one of the above firewalls instead.<br />
<br />
<br />
=Linux=<br />
<br />
==[[Iptables | IPTables]]==<br />
[[Iptables | New guide]] (courtesy of mooo, improved by Rampage)<br><br />
[http://www.twofo.co.uk/resources/iptables-xyzzy.htm Original guide] (courtesy of xyzzy) This is the original version of the guide. Might be worth reading if the newer one isn't working, or you need some extra help configuring Fedora specific settings.<br />
<br />
A guide for setting up the Linux firewall, iptables, to block external connections. (produced by xyzzy originally. Resurrected by mooo)<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
=Mac=<br />
<br />
==[[Littlesnitch | Little Snitch]]==<br />
[[Littlesnitch | (guide produced by nish81)]]<br />
<br />
A GUI firewall for MACs that can be used to block external connections. Confirmation this works on other Macs would be useful if somebody wishes to try it.<br />
<br />
==[[IPFW| IPFW]]==<br />
[[IPFW| (guide produced by Rampage)]]<br />
<br />
A simple and fast guide for setting up the Mac OS Firewall, ipfw, to block external connections.<br />
<br />
==[[EiskaltDCpp | EiskaltDC++ ipfilter]]==<br />
(Courtesy of Rampage)<br><br />
EiskaltDC++ is a cross platform client which has an 'ipfilter' module built into the client. This module can be used to block off campus connections or vice versa. This has not been extensively checked so please do report back your findings.<br />
<br />
Confirm with an Operator to check that the firewall rules are working.<br />
<br />
=Starting from scratch=<br />
<br />
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 or 137.205.0.0/16 or 137.205.0.0/255.255.0.0) 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.<br />
<br />
Also, if you do this on a firewall not listed here then please contact an op with at least a basic set of instructions to be uploaded here.<br />
<br />
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.<br />
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.</div>Astropointhttps://twofo.co.uk//wiki/index.php?title=Vista_7_Firewall&diff=2899Vista 7 Firewall2012-04-29T17:03:21Z<p>Astropoint: Created page with "Firstly open a Command Prompt as Administrator by right clicking on 'Command Prompt' from the Start Menu (Start -> Accessories) and selecting 'run as Administrator'. It's probabl..."</p>
<hr />
<div>Firstly open a Command Prompt as Administrator by right clicking on 'Command Prompt' from the Start Menu (Start -> Accessories) and selecting 'run as Administrator'. It's probably best to remove any existing DC++ rules in the firewall by going Control Panel -> Windows Firewall and removing any rules or exemptions relating to DC++ already there.<br />
<br />
Next we need to create the firewall rules.<br><br />
<ul><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++1" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=allow enable=yes remoteip=137.205.0.0/16</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++2" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=allow enable=yes remoteip=137.205.0.0/16</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++3" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=allow enable=yes remoteip=127.0.0.1</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++4" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=0.0.0.1-127.0.0.0</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++5" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=0.0.0.1-127.0.0.0</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++6" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=127.0.0.2-137.205.0.0</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++7" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=127.0.0.2-137.205.0.0</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++8" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=137.205.255.255-255.255.255.255</span></li><br />
<li><span style="color:red">netsh advfirewall firewall add rule name="DC++9" protocol=any dir=in program="c%HOMEPATH%\dc++\DCPlusPlus.exe" action=block enable=yes remoteip=137.205.255.255-255.255.255.255</span></li></ul><br />
<br />
You should now have DC++ configured to block Off Campus connections. To remove these rules you can do so from command line by running the following commands or you can do it via the GUI from Control Panel (by going to Control Panel -> Windows Firewall<br />
<ul><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++1" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++2" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++3" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++4" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++5" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++6" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++7" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++8" protocol=any dir=out program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li><br />
<li><span style="color:red">netsh advfirewall firewall delete rule name="DC++9" protocol=any dir=in program="%HOMEPATH%\dc++\DCPlusPlus.exe"</span></li></ul></div>Astropoint