This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"negated" FW rules/definition

Hello,
i have a very simple question that i haven't found a way in Astaro but that i can do with extreme ease in Mikrotik products:
How do i do a "negated" rulke or definition?, like "everything BUT...."

for example:
i have networkt A and B behind my ASG each with their own NIC in ASG.

I want a rule that allows A to access internet irrestricted, so i make a FW rule like:
src:A dest:any serv:any allow
I also want to make A access B but only on certain services(smb in this example), so i make the rule:
src:A dest: B serv:netbios allow

but the first rule takes precedence allowing ALL [:S], in mikrotik this is easy, as i only need to mark a checkbox that negates an entity, so i can make the first rule dst: !B and then the second allow rule.

If i had a "internet" entity(like sonicwall has) instead of any this could also work

As far as i can tell, this basic thing as "everything but" or "internet" is not present in ASG, care to enlighten me on how to do this?, since AFAIK rules execute in order, even if i put the A to B rule first, it will get overriden.


This thread was automatically locked due to age.
Parents
  • If you feel that this would be useful, you can always add it as a feature request at Astaro Gateway Feature Requests.

    Ordering is all important when making Firewall (formerly Packet Filter) rules in Astaro.  Packets are processed against rules in order (Rule#1, Rule#2, etc.) until one matches.  If a matching rule is found, then no further processing takes place.  E.G. If a packet matches on Rule#3, Rules#4+ will not be checked for that packet.
Reply
  • If you feel that this would be useful, you can always add it as a feature request at Astaro Gateway Feature Requests.

    Ordering is all important when making Firewall (formerly Packet Filter) rules in Astaro.  Packets are processed against rules in order (Rule#1, Rule#2, etc.) until one matches.  If a matching rule is found, then no further processing takes place.  E.G. If a packet matches on Rule#3, Rules#4+ will not be checked for that packet.
Children
No Data