Hello,
I’m playing a bit with ACLs but I must tell I find them difficult to grasp and configure compared to a nftables/iptables firewall.
I may be missing something obvious, hence my questions!
For example:
-
When adding a rule, there apparently is no “forward” equivalent, one has to play with ingress&egress, additionally it does not seem possible to specify a ‘source’ for a egress rule nor a ‘destination’ for an ingress one:
=> how does one add a rule specifically matching a given ‘source’ and ‘destination’ (only for traffic in the forward chain)?
-
The doc says that acl rules are ordered based on the action property like this:
-
=> I find this disturbing as we usually allow the traffic we want and deny everything else, this seems the other way around, is there a reason?
-
From the same documentation page: “If one of the rules in the ACLs matches, the action for that rule is taken and no other rules are considered.”
=> How to deny outgoing traffic to 10.11.12.0/24 while still allowing outgoing traffic to 10.11.12.13/32 ?
-
Are the ACLs converted to nftables rules at some point? How does it work? Can we see the ruleset? Or even edit it?
-
Am I missing something? Is there a better way to configure the firewall ruleset on incusOS than ACLs?
Thank you!
