l sync-containers3: allow ctr0 in FORWARD
This commit is contained in:
parent
7bbcac3e5e
commit
a38c39424f
@ -296,6 +296,10 @@ in {
|
|||||||
krebs.iptables.tables.filter.INPUT.rules = [
|
krebs.iptables.tables.filter.INPUT.rules = [
|
||||||
{ predicate = "-i ctr0"; target = "ACCEPT"; }
|
{ predicate = "-i ctr0"; target = "ACCEPT"; }
|
||||||
];
|
];
|
||||||
|
krebs.iptables.tables.filter.FORWARD.rules = [
|
||||||
|
{ predicate = "-i ctr0"; target = "ACCEPT"; }
|
||||||
|
{ predicate = "-o ctr0"; target = "ACCEPT"; }
|
||||||
|
];
|
||||||
})
|
})
|
||||||
(lib.mkIf cfg.inContainer.enable {
|
(lib.mkIf cfg.inContainer.enable {
|
||||||
users.groups.container_sync = {};
|
users.groups.container_sync = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user