Comodo Firewall is blocking HFS(HTTP File Server)

Hi,
I have follow Firewall Tutorial for Utorrent with Comodo Internet Security and now utorrent is working.

Now when i started HFS(Http File Server) i was not getting any connection from outside.

I mean only i can see the web page using my IP, but when my friends try to open my web page they get “Connection Timeout” :frowning:

I already disabled windows Firewall when i started using Comodo COMODO Internet Security 4.0.135239.742 in Windows XP SP3.

But when i disable the Firewall they can open my web page.

How should i configure Comodo Firewall so that HFS will work when firewall is enabled?? ???

Did you open your HFS port?

I selected HFS as a trusted application but it didn’t work.

I don’t know how else to open HFS’s port, i mean port 80.

Change the rule for the HFS app from ALLOW to ASK. What kind of alerts do you get when somebody tries to access the web page? If you’re not getting any alerts, then its a different app that’s getting hit instead, OR some global rule is intercepting access attempts.

Global rules are implemented first inbound, then application specific. For outbound its by application first, then global rules.

I get this alert from Comodo when someone tries to access my web page:

http://i40.tinypic.com/14nclsx.jpg

But even after allowing it others cannot enter my web page.

What sort of Global Rules should i create?

In my first post i mentioned that i followed the utorrent guide from this forum, can you kindly take a look at that guide and tell me if that is blocking HFS?

There is no one who can solve this problem? (:SAD)

Can you show show me a screenshot of your Global Rules (Firewall → Advanced → Network Security Policy) as well as your Application Rules (Firewall → Advanced → Network Security Policy)?

Screenshot of my Global Rules (Firewall → Advanced → Network Security Policy)

http://i40.tinypic.com/15r0dxy.jpg

Application Rules (Firewall → Advanced → Network Security Policy)

http://i44.tinypic.com/9iz1mp.jpg

BTW i forgot to mention that Strong DC++ also doesn’t work when Comodo Firewall is enabled(Safe Mode).

I’m glad that somebody responded at least.

I appologize for the hiatus since my response (college final exams). O0

I’ll look at your stuff and see what I come up with.

Thanks for the screenies. Do your friends try to connect from the LAN or from the web?

I tried both. The screenshot was when my friend tried to enter from LAN. But i also asked my friends to access from the web and the weren’t able to enter my web page. :frowning:

BTW thanks WxMan1 for looking into it.

The application rule you made for HFS will only respond to traffic coming from the local network.

In conjunction with the application rule you made you need to make a Global Rule to have an open port for incoming traffic. Read the following tutorial I made. Substitute the port number and protocol for your situation.

To open the port TCP 1723 for example

First step is to determine the MAC or Physical address of you network connector. Go to Start → Run → cmd → enter → a black box will show up and enter the following → ipconfig /all (notice the space before /all) → enter → now look up the Physical address and write it down.

Notice that Physical address = MAC address

Firewall → Advanced → Network Security policy → Global Rules → Add → fill in the following:
Action: Allow
Protocol: TCP
Direction: In
Description: Incoming Port

Source address: Any
Destination Address: Choose MAC address and fill in the found MAC/Physical address
Source Port: Any
Destination Port: 1723

Then push Apply → Now make sure that the new rule is somewhere above the basic block rule(s) as the bottom (the block rules have red icons); you can drag and drop the rules → Ok.

Now the situation will work for the LAN. To be able to receive traffic from the web you need to change the HFS rule. You think you can handle that?

EricJH i followed your rule with LAN and for HFS Rule i am not sure.

I tried doing the same thing you mentioned with the HFS Rule from Firewall>Advanced>Network Security Policy>Application Rules>HFS>Edit>Add and added you rule with port 80 as Destination port.

But it didn’t work. Am i doing it wrong?

You could make the following rule for HFS application rule:

Action: Allow
Protocol: TCP
Direction: In
Description: Server port for incoming traffic

Source address: Any
Destination Address: Choose MAC address and fill in the found MAC/Physical address
Source Port: Any
Destination Port: 80

Let us know how things go. When it doesn’t work please post screenshots of your Global Rules and the HFS application rule.

:cry: It didn’t work again.
Here are the screenshots:

http://i41.tinypic.com/2sb4cbr.jpg

http://i40.tinypic.com/2ilzofb.jpg

http://i42.tinypic.com/k2e34x.jpg

But when Comodo Firewall is Disabled then:

http://i43.tinypic.com/fxcu2c.jpg

BTW did you guys also tried HFS yourself? I mean is this an isolated problem or everyone using Comodo Firewall is facing the same problem?

Odd. Everything looks like it should be. Is your port 80 open on your router?

Can you post a screesnhot of the firewall logs? They can be found under Firewall → Common Tasks → View Firewall Events.

Can you add at the bottom of the HFS rule a Log and Ask all incoming IP rule? This is to see if we are missing any traffic. Can you then post a screenshot of the firewall logs after you put this rule in motion.

OK, I’ve tried it myself. Works flawless. You see the rules and the result of it’s Self Test and a port checker found on net.

[attachment deleted by admin]

Ok EricJH i am gonna do that and post the screensot of my log. BTW i am not using any router. i have a broadband connection.
Thanks to burebista for testing HFS.

BTW is there a chance that these utorrent rules are interfering with the Global Rules:

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 = Ask (enable Log as a firewall event if this rule is fired)
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

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

Have a nice file sharing. Wink

Additional Notes
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

Because of a bug you must change the rule 4 (for HTTP requests) to allow. I hope this will be resolved with the next updates.

Let’s not divert attention to uTorrent at this point. I was wondering. I gave you a little tutorial on how to open a port with CIS which uses port number 1723. I just want to make sure you used port 80 instead of 1723.

Strange ??? After being fully frustrated i just uninstalled CIS and installed Comodo Firewall 4.0.141842.828

This time i didn’t follow Firewall Tutorial for Utorrent with Comodo Internet Security

I just followed
With CIS v4 my p2p client (uTorrent, e Mule…) is not working properly anymore

I allowed HFS just like any other application and it is working fine. ;D

Was it that utorrent guide or was it a bug with with the previous version of COMODO Internet Security 4.0.141842.7xx?