Welcome, Guest. Please login or register.
December 11, 2009, 04:27:46 AM

Login with username, password and session length

341638 Posts
37759 Topics
85723 Members

Latest Member: giovannibgr

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Desktop Security Products
| |-+  Comodo Internet Security - CIS
| | |-+  Help - CIS
| | | |-+  Firewall Help
| | | | |-+  Global vs Application rules
« previous next »
Pages: [1] Go Down Print
Author Topic: Global vs Application rules  (Read 493 times)
catscratch
Newbie
*
Offline Offline

Posts: 1


« on: July 07, 2009, 06:58:13 AM »

Global Rule: "Allow IP IN/OUT from IN [LAN] to In [LAN]  Where Protocol Is ANY"

Isn't that allowing anything from defined LAN ips to my computer ? How come port 445 request is not processed from an ip in LAN because i have set System not to get anything from any ip ?

If something matches a global, it shouldnt look to application rules right ?

I simply want "System" not to get anything from internet but everything from LAN.
Logged
Quill
Volunteer
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 2731


Follow the White Rabbit...


« Reply #1 on: July 07, 2009, 07:07:55 AM »

For something to work correctly it requires both global and application rules.

Outside ---> global rule ---> application rule ---> connection
Connection ---> application rule ---> global rule --- outside

Both have to allow or it won't happen
« Last Edit: July 07, 2009, 06:25:12 PM by Toggie » Logged

"Well, I've wrestled with reality for 35 years, Doctor, and I'm happy to state I finally won out over it."

Forum Policy
Matty_R
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 1935


Nice to see you,to see you nice!


« Reply #2 on: July 07, 2009, 09:38:04 AM »

You will need to create an "Application Rule" for "System" or alternatively use the "Stealth Ports Wizard" to trust the LAN IP`s and it will create application rules for system and global rules.

Matt
Logged

I HAD A DREAM----But i can`t remember it......
LovethatHIPHOP
Newbie
*
Offline Offline

Posts: 11


« Reply #3 on: November 10, 2009, 12:01:29 PM »

For something to work correctly it requires both global and application rules.

Outside ---> global rule ---> application rule ---> connection
Connection ---> application rule ---> global rule --- outside

Both have to allow or it won't happen
Could someone explain this a little deeper if possible? I'm currently very confused because I constantly setup my application rules only for them to be ignored completely with the firewall only following global rules.

For example, I'm trying to open a port for Soulseek. Since I've grown not to like selecting "allow all" access all the time, I wanted to set the rules for the application specifically so that ONLY the ports and IP's utilized would be allowed and not just everything under the sun. I'm however running into to trouble because there's a global rule for "Block and log IP in from IP any to IP any where protocol is any." It's overpowering the application rule and effectively blocking all ports that I know I configured open for the program under application rules.
« Last Edit: November 10, 2009, 12:03:31 PM by LovethatHIPHOP » Logged
Matty_R
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 1935


Nice to see you,to see you nice!


« Reply #4 on: November 11, 2009, 03:19:11 PM »

Basically you need to set up a Global rule which allows traffic past to the port/s for which it is required. Global rules are read top down.

For example say you have program A which needs to accept connections on a certain port (TCP-5555 for example). You set up your application rule for Program A so that you have a rule:-

Allow TCP IN (your description) Source Address=Any(you can set the IP/Range if you wan`t/know them)/Destination Address=Your IP/Source Port=Any/Destination Port=5555

This rule will allow the program to accept connection on port 5555

But this doesn`t take into account the fact that when receiving a connection from another computer Global Rules is the first thing that is hit. Therefore you must also make a Global Rule allowing traffic to pass to port 5555 which Program A is set up to receive connections on.

Therefore you must make a Global rule the same as the rule above and place it above any Block rule.

So we should end up with Program A receiving a request from another computer. The other computer sends the data to port 5555, the Global rules are read top down, okay the top rule says Allow TCP through if it`s destined for Port 5555 so the data is allowed to pass.
Now Program A which is listening on port 5555 recieves the data and acts accordingly.

Hope this helps a tad,
Matt
 
Logged

I HAD A DREAM----But i can`t remember it......
Tags:
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Certificate Free Virus Removal Firewall
Page created in 0.036 seconds with 20 queries.
Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by 7dana.com