Author Topic: uTorrent Port Forwarding  (Read 20028 times)

Offline ghaznichi

  • Newbie
  • *
  • Posts: 8
uTorrent Port Forwarding
« on: December 04, 2007, 09:40:17 AM »
How do I do that? I added a rule in version 2.4 for utorrent but I don't know with this one, partly because I am not good with firewall rules etc.

Also if you can would you mind including information for port forwarding for mIRC and Limewire? thanks
« Last Edit: December 04, 2007, 09:53:24 AM by ghaznichi »

Offline MaratR

  • Computer Security Testing Group
  • Comodo's Hero
  • *****
  • Posts: 245
Re: uTorrent Port Forwarding
« Reply #1 on: December 04, 2007, 12:58:08 PM »
The general rule for any p2p application is:

1. Allow outgoing TCP/UDP connections to any destination hosts, any destination ports.

2. Allow incoming TCP connections to the destination port that matches the one specified in your applications settings (I think they're randomly selected from some range upon installation). Check the Options - Preferences - Connection to see what TCP port your uTorrent uses.

3. Same as above for UDP. Allow incoming UDP connections to the destination port that your application specifies. It may be the same port number as with TCP (I think this is the case with uTorrent), or a different port number (e.g. eMule allows different port numbers for TCP and UDP).

The important things is: you should allow that both in Global Rules AND in Applications Rules for your application's executable.
XP Pro SP2 / CFP 3.0.18.309 / AntiVir PersonalEdition Classic  ~  Vista SP1 / CFP 3.0.18.309 / AntiVir PersonalEdition Classic

Offline JolietJake

  • Comodo's Hero
  • *****
  • Posts: 240
Re: uTorrent Port Forwarding
« Reply #2 on: December 04, 2007, 07:22:46 PM »
The 5 rule set posted by Pandalouk (sp)? ...

µTorrent

How to configure Comodo firewall 3 for µTorrent.

1. Go to : Firewall -> Advanced -> Attack Detection Settings -> Miscellanous and disable Do Protocol analysis

2. Go to : Firewall -> Advanced -> Predifined Firewall Policies and select Add...

Give a name at the new Predifined Policy for example: µTorrent

Add the following rules:

Rule 1

Action = Allow
Protocol = TCP or UDP
Direction = In
Description = Rule for incoming TCP and UDP connections
Source Address = Any
Destination Address = Any
Source port = A port range = (start port = 1025 / end port = 65535)
Destination port = the port of utorrent


Rule 2

Action = Allow
Protocol = TCP
Direction = Out
Description = Rule for outgoing TCP connections
Source Address = Any
Destination Address = Any
Source port = A port range = (start port = 1025 / end port = 65535)
Destination port = A port range = (start port = 1025 / end port = 65535)

Rule 3

Action = Allow
Protocol = UDP
Direction = Out
Description = Rule for outgoing UDP connections
Source Address = Any
Destination Address = Any
Source port = the port of utorrent
Destination port = A port range = (start port = 1025 / end port = 65535)

Rule 4

Action = Allow
Protocol = TCP
Direction = Out
Description = Rule for HTTP requests
Source Address = Any
Destination Address = Any
Source port = A port range = (start port = 1025 / end port = 65535)
Destination port = 80

Rule 5

Action = Block (enable Log as a firewall event if this rule is fired)
Protocol = IP
Direction = In/OUT
Description = Block and Log All Unmatching Requests
Source Address = Any
Destination Address = Any
IP Details = Any

3. Start utorrent. When Comodo asks you with a popup, choose 'Treat this application as' select utorrent and enable Remember my answer.

If you have connectivity problems:
Go at Firewall -> Common Tasks -> Stealth ports wizard and select
Alert me to incoming connections- stealth my ports on a per-case basis

Offline Holden Mad

  • Newbie
  • *
  • Posts: 2
Re: uTorrent Port Forwarding
« Reply #3 on: December 11, 2007, 12:48:21 AM »
The 5 rule set posted by Pandalouk (sp)? ...

µTorrent

How to configure Comodo firewall 3 for µTorrent.



I have followed those instructions but I still get a orange triangle which then after about 5mins it turns into a red circle with an exclamation mark in the middle. What can i do to stop this?

Cheers,
Holden Mad

Offline lobster

  • Comodo Family Member
  • ***
  • Posts: 63
Re: uTorrent Port Forwarding
« Reply #4 on: December 11, 2007, 01:49:55 AM »
The 5 rule set doesn't include a Global Rule for incoming TCP/UDP connections to your uTorrent port - have you added a global rule as well? (You may or may not need to set up a global rule, depending on how you have CPF set up).
Also check that your router also has it's ports forwarded correctly - you can use uTorrents built in port checker to make sure you are set up correctly.
Also make sure you are not set up to use a random port in uTorrent - set one yourself + make sure UPnP is turned off!
Oh and one last thing - have you set up a static IP for your computer? If not you may have to redo everthing after a reboot!
« Last Edit: December 11, 2007, 01:53:14 AM by lobster »
Windows XP Home 32x SP2
Celeron 2.66Ghz 768MB Ram
Comodo Firewall Pro 3.0.18.309
avast! AntiVirus 4.7 Home Edition

Offline Holden Mad

  • Newbie
  • *
  • Posts: 2
Re: uTorrent Port Forwarding
« Reply #5 on: December 11, 2007, 03:10:39 AM »
The 5 rule set doesn't include a Global Rule for incoming TCP/UDP connections to your uTorrent port - have you added a global rule as well? (You may or may not need to set up a global rule, depending on how you have CPF set up).
Also check that your router also has it's ports forwarded correctly - you can use uTorrents built in port checker to make sure you are set up correctly.
Also make sure you are not set up to use a random port in uTorrent - set one yourself + make sure UPnP is turned off!
Oh and one last thing - have you set up a static IP for your computer? If not you may have to redo everthing after a reboot!

OK. Thanks i will try that and report back. How come it didnt take this much work with V2?  I think i may and up just going back to V2.

Cheers,
Holden Mad 

Offline ~Daniel~

  • I used to be indecisive, but now I'm not so sure.
  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 857
Re: uTorrent Port Forwarding
« Reply #6 on: December 11, 2007, 08:25:12 AM »
Don't get confused by all the new stuff... v3 and v2 aren't totally apart... just some layout and verbiage changes are confusing you.

Whatever you did in v2 to allow uTorrent in "Network rules", is the same core addition that you need to  add in v3 to "Global rules".  Realistically this is the only critical part. 

You could run uTorrent and answer the firewall popups and train it on the fly... or you could use one of the new features to define a common rule set that you can use to apply to any other application (like what was posted above... creating a rule set).  A fantastic new feature, but not uber important to getting your uTorrent up and running like you are expecting.

Just remember that Global rules in v3 = Network rules in V2, and you should be fine. 

You can always learn the fancy stuff later (:WIN)

P.S. a couple other settings I might choose to keep things running generally as expected...
1) set firewall to "Custom Policy"
2) set Defense+ to "Train with Safe mode"
« Last Edit: December 11, 2007, 08:28:50 AM by m0ng0d »
OS: Win8.1 Pro x64 RTM
Comodo: CIS 7.X (always the latest version), Dragon
Backup/Imaging: Macrium Reflect Pro v5.2
Android: Comodo Mobile Security & Battery Saver
Personal Website: Comodo SSL

Offline cheber

  • Newbie
  • *
  • Posts: 22
Re: uTorrent Port Forwarding
« Reply #7 on: December 11, 2007, 04:07:26 PM »
I tried the stuff that's written in this post. It didn't help. I still had tons of blocks to the port I had opened in Comodo. It was mostly TCP but a also a few UDP blocks.
But it seems the FW didn't block everything as I could download/upload as normal. Maybe it blocked a few peers randomly or something...

The most strange thing was that even with CFP _not_ running it seemed to keep blocking. Utorrent said the port was closed. As soon as I uninstalled CFP the port was open and the icon became green again.
Back to 2.4 I guess.
« Last Edit: December 11, 2007, 04:40:00 PM by cheber »

Offline ~Daniel~

  • I used to be indecisive, but now I'm not so sure.
  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 857
Re: uTorrent Port Forwarding
« Reply #8 on: December 11, 2007, 09:13:26 PM »
I tried the stuff that's written in this post. It didn't help. I still had tons of blocks to the port I had opened in Comodo. It was mostly TCP but a also a few UDP blocks.
But it seems the FW didn't block everything as I could download/upload as normal. Maybe it blocked a few peers randomly or something...

The most strange thing was that even with CFP _not_ running it seemed to keep blocking. Utorrent said the port was closed. As soon as I uninstalled CFP the port was open and the icon became green again.
Back to 2.4 I guess.
Then I would suspect any Global rules you added were probably below the block rule... therefore never reached... the block rule need to be on the bottom.

Downloading and uploading are all events that occur FROM you PC... hence OUTBOUND communications... so no inbound rules would interfere with those communications.
OS: Win8.1 Pro x64 RTM
Comodo: CIS 7.X (always the latest version), Dragon
Backup/Imaging: Macrium Reflect Pro v5.2
Android: Comodo Mobile Security & Battery Saver
Personal Website: Comodo SSL

Offline cheber

  • Newbie
  • *
  • Posts: 22
Re: uTorrent Port Forwarding
« Reply #9 on: December 15, 2007, 08:38:42 AM »
Maybe so, I can't be bothered to try again. I haven't even installed 2.4 again. How's 3.0 an improvement if it requires 6 rules to make 1 program function correctly when it before only required 1 rule...


Offline ~Daniel~

  • I used to be indecisive, but now I'm not so sure.
  • Global Moderator
  • Comodo's Hero
  • *****
  • Posts: 857
Re: uTorrent Port Forwarding
« Reply #10 on: December 15, 2007, 09:37:12 AM »
Maybe so, I can't be bothered to try again. I haven't even installed 2.4 again. How's 3.0 an improvement if it requires 6 rules to make 1 program function correctly when it before only required 1 rule...



You should reread my reply 4 posts up... one "global rule" to replace the "old network rule"
OS: Win8.1 Pro x64 RTM
Comodo: CIS 7.X (always the latest version), Dragon
Backup/Imaging: Macrium Reflect Pro v5.2
Android: Comodo Mobile Security & Battery Saver
Personal Website: Comodo SSL

Offline ronaldakm

  • Newbie
  • *
  • Posts: 20
Re: uTorrent Port Forwarding
« Reply #11 on: December 15, 2007, 01:38:18 PM »

If you have connectivity problems:
Go at Firewall -> Common Tasks -> Stealth ports wizard and select
Alert me to incoming connections- stealth my ports on a per-case basis


Have you done this step ?
It should be fine if your rules is set as above.

Offline Fuzzfas

  • Comodo Member
  • **
  • Posts: 27
Re: uTorrent Port Forwarding
« Reply #12 on: December 15, 2007, 03:14:18 PM »
I am behind a router, so i simply put UTorrent as trusted application and didn't even bother to make specific rules. Works like a charm.

If you don't have a router, you should consider buying one. It solves many problems.

Offline Fuzzfas

  • Comodo Member
  • **
  • Posts: 27
Re: uTorrent Port Forwarding
« Reply #13 on: December 15, 2007, 04:56:28 PM »
Ok, just for fun, i made specific UTorrent rules, they work fine with UTorren 1610.

Under Predefined Network Policies, make a new Utorrent Rule.

Then rules:

1) Allow TCP and UDP IN
The only setting you must change is destination port (you put the port number your UTorrent uses).

2) Allow TCP and UDP out
Any in all tabs for both protocols.

3)Allow ICMP IN and OUT
Any in all fields (not sure if it serves, but with Emule if they can ping you, you get better results, so i put it there too).

4) Allow UDP from Router IN (In case you have a router)
In my case i did allow UDP in from "IP Mask" 192.168.1.1 - 255.255.255.0 , any port.

I added this last one, because with only the first 3, i still got an inbound UDP request from my router's IP to port 1900 if i remember correctly. Your router should be safe anyway, so why restrain ports...

After this, i have full green icon and torrenting is fine.

I hope this will help you.

Offline Izzzatso

  • Newbie
  • *
  • Posts: 8
Re: uTorrent Port Forwarding
« Reply #14 on: December 15, 2007, 09:50:06 PM »
I had problems until I created a Global Rule. In that rule I allow UDP/TCP out and enter 2 ports. Port 53 and port 80 (I named the rule DNS). It fixed the problem of not being able to find the tracker.

As for uTorrent rules I used the set that JolietJake posted (Thanks BTW :) ). Working like a charm.

I've noticed that some people allow their torrent client to use what ever port it wants. When they use 'privileged ports' CFP blocks them because I don't allow uTorrent to access those ports.

 

Seo4Smf 2.0 © SmfMod.Com | Smf Destek