Endpoint Protection

Expand all | Collapse all

Firewall rules "host" logic

  • 1.  Firewall rules "host" logic

    Posted 11-08-2019 07:54 AM

    Hello.

     

    I've already found https://support.symantec.com/us/en/article.howto80715.html , but still have small question left.

    I want to create firewall rule, which will allow specific traffic only if (local IP) and (local MAC) will match specific values.

    Following mentioned article, "The hosts that you define on either side of the connection (between the source and the destination)" use OR condition, and "Selected hosts" use AND condition.

    That's fine to understand if we are talking about matching only IP-addresses, for example (we take any IP from "Local" block, any IP from "Remote" block, and connect them with AND statement).

     

    But, in my case, both my conditions (local IP and local MAC) are on the same side - does it mean, that only "OR" is possible? Any way I can connect both this rules with "AND"?



  • 2.  RE: Firewall rules "host" logic

     
    Posted 11-11-2019 07:15 AM

    I would have thought the OR statement would be better, but I can't see any reasons for AND statement to work as well. I would recommend that you test it on a few machines before depoying fully.



  • 3.  RE: Firewall rules "host" logic

    Posted 11-20-2019 07:59 AM

    Thanks for the reply, and sorry for taking a long break before answering.

     

    I would have thought the OR statement would be better, but I can't see any reasons for AND statement to work as well.

    I want AND statement because I want to avoid situations, if same MAC will be using different IP, or, vice versa, same IP will be used by different MAC.

     

    I would recommend that you test it on a few machines before depoying fully.

    Yep, that's my plan.