Not sure if my rules are correct

Started by Christian Dev

Christian Dev

Not sure if my rules are correct   14 January 2006, 07:14

Hi, Ive a computer as gateway with Windows ICS (2 network cards, one to the switch and one to the cable modem), and 2 pcs with unlimited traffic

Protocol: TCP/UDP
Direction: Both
Rate: Unlimited
Interface: LAN
Source: MAC address of the machines (2 rules)
Destination: Any

and one limited machine

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: MAC address of the machine
Destination: Any

Now, I want any other computer that connects to this switch (this can also be wireless) to be limited...

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: Any
Destination: Any

Will this rule, which is at the bottom, limit my other machines? The program will stop searching for rules once one match or it will continue to the next one?

I also dont want speed limits between machines on my lan, so I placed a rule at the top:

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: Any
Destination: 192.168.0.1-192.168.0.255

Is this necessary?
Christian Dev

Re: Not shure if this is right..   14 January 2006, 07:37

sorry the last rule I posted really is

Protocol: TCP/UDP
Direction: Both
Rate: UNLIMITED*
Interface: LAN
Source: Any
Destination: 192.168.0.1-192.168.0.255

And by the way an extra question.. will the rule to the rest of computers (normally wireless laptops) apply "x bytes/sec" for each connected laptop or as a total bandwidth for all (wich is what I want)?
SoftPerfect Support forum - Andrew avatar image

Re: Not sure if this is right..   14 January 2006, 08:41

The program stops searching for rules when a matched rule found (rules apply in descending order in the rules list with highest priority rules at the top). This rule limiting any computer not listed above

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: Any
Destination: Any

I would place at the end of the rule set. The following one permitting unthrottled local communications I would made so:

Protocol: TCP/UDP
Direction: Both
Rate: Unlimited
Interface: LAN
Source: 192.168.0.1-192.168.0.255
Destination: 192.168.0.1-192.168.0.255

and place this rule just above the last one.

And as to your last question, the rule bandwidth will be shared. This means one laptop will get the specified rate, two laptops will get a half of the rate each, and so on. Exactly as you wish smile

So, finally your ruleset might be like this:

Protocol: TCP/UDP
Direction: Both
Rate: Unlimited
Interface: LAN
Source: MAC address of the machines (2 rules)
Destination: Any

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: MAC address of the machine
Destination: Any

Protocol: TCP/UDP
Direction: Both
Rate: Unlimited
Interface: LAN
Source: 192.168.0.1-192.168.0.255
Destination: 192.168.0.1-192.168.0.255

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: Any
Destination: Any
Christian Dev

Re: Not shure if this is right..   14 January 2006, 11:23

Thank you very much.. mmm.. just something.. are you sure with the "unthrottled local communications" rule to be placed one before the last one?

lets say that Pc with mac ABC and ip 192.168.0.3 is the one for the second (really 3rd) ruleset:

Protocol: TCP/UDP
Direction: Both
Rate: x bytes/sec
Interface: LAN
Source: ABC (MAC address of the machine)
Destination: Any

and it tries to share something with a local machine (192.168.0.2 for example).. then, because its rule is set as "Any" Destination and before the one for "unthrottled local communications" rule:

Protocol: TCP/UDP
Direction: Both
Rate: Unlimited
Interface: LAN
Source: 192.168.0.1-192.168.0.255
Destination: 192.168.0.1-192.168.0.255

it will limit to the x bytes/sec cause it will never reach the "unthrottled local communications" rule!.. I believe this rule must be at the top..

Please tell me if im wrong
Thanks again
SoftPerfect Support forum - Andrew avatar image

Re: Not sure if this is right..   15 January 2006, 04:14

Whoops... you are right, I was wrong ! smile The rule "unthrottled local communications" must be the first in the ruleset to handle the local traffic before any other rules apply.

Sometimes you can get the answer faster if you try the forum search and/or have a look at the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********   **    **   *******   **     **  **       
 **     **  ***   **  **     **  **     **  **       
 **     **  ****  **  **         **     **  **       
 **     **  ** ** **  ********   **     **  **       
 **     **  **  ****  **     **  **     **  **       
 **     **  **   ***  **     **  **     **  **       
 ********   **    **   *******    *******   ******** 

Message: