From twofo wiki
Jump to navigation Jump to search

I found Comodo 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.

  1. First close DC++. Configuring the rules with it open may mean they get overwritten when you do next close it.

  2. Open the main Comodo window and find your way to the Application Monitor Section (via Security at the top). Scroll down to any existing DC++ rules and remove them. You will be writing your own and those will just have the default settings. 1.jpg

  3. Next click Add at the top to start adding new rules. In the Application/Program Path box, put in the path to your DCPlusPlus.exe (usually found in C:\Program Files\DC++) and tick the box for ‘Skip Parent check’. You will have to do this for each of the DC++ rules you create. 8.jpg

  4. In the lower section, make sure that Allow is set for the action, TCP or UDP for the Protocol and In/Out for the Direction. 2.jpg

  5. Next go to the “Destination IP” tab. Make sure ‘Apply the following criteria’ is selected, and tick the box for Single IP and enter as the IP

    Click OK to save this rule and return to the Application Monitor window

  6. Click Add again to start adding another rule. Again set the DCplusPlus.exe in program Files as the application Path. Allow, TCP or UDP and In/Out as the General options, and go to the Destination IP tab. This time, select IP range as the option. Put as the first IP and as the last IP.
    The hit OK again to save the rule.

  7. One last rule needs adding, so click Add and set the Application Path as before. This time however, you want to select Block rather than Allow in the General options

  8. Go to the Destination IP tab and this time select IP Mask. Tick the box for Exclude (ie. Not this IP range). Then put the IP as and the Mask as

  9. This should have added 3 rules into the Application Monitor window in the correct order. The order of these rules is vital. The Block rule for non resnet IPs MUST be below the one to allow If this is not the case then it will block DC from connecting to stunnel and you will not be able to connect to the hub.

  10. Test it :P