I want to allow specific bridges to talk with each other and so I created ACL to allow ingress from the bridge’s subnet but I am still unable to configure that.
For example, I have firewallbr0 with range 10.10.10.1/24 and I have two other bridges internalbr0 on 10.10.60.1/24 and authbr0 on 10.10.50.1/24. I want inter-communication of firewallbr0 with internalbr0 and authbr0 but I want to not allow any communication between internalbr0 and authbr0.
So I created 3 ACL, firewall, internal, public.
[arch@server ~]$ sudo incus network acl show firewall
name: firewall
description: ""
egress:
- action: allow
state: enabled
ingress:
- action: allow
source: 10.10.50.1/24
state: enabled
- action: allow
source: 10.10.40.1/24
state: enabled
- action: reject
state: enabled
config: {}
used_by:
- /1.0/networks/firewallbr0
project: default
[arch@server ~]$ sudo incus network acl show internal
name: internal
description: ""
egress:
- action: allow
state: enabled
ingress:
- action: allow
source: 10.10.10.1/24
state: enabled
- action: reject
state: enabled
config: {}
used_by:
- /1.0/networks/internal0
project: default
[arch@server ~]$ sudo incus network acl show auth
name: auth
description: ""
egress:
- action: allow
state: enabled
ingress:
- action: allow
source: 10.10.10.1/24
state: enabled
- action: reject
state: enabled
config: {}
used_by:
- /1.0/networks/authbr0
project: default
When I attach ACL, create instance, I am unable to even reach from firewallbr0 to internalbr0 or authbr0.