mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Restore podman iptable rules after nftable restart on omen
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
97d1ff5896
commit
53e7c51b94
|
@ -17,6 +17,13 @@
|
|||
# pkgs.writeText "nftables.json" (builtins.toJSON (with notnft.dsl; with payload; ruleset
|
||||
with notnft.dsl; with payload; ruleset {
|
||||
filter = add table { family = f: f.inet; } {
|
||||
networking.notnft.postStop = ''
|
||||
${lib.getExe pkgs.podman} network reload -a
|
||||
'';
|
||||
|
||||
networking.notnft.postStart = ''
|
||||
${lib.getExe pkgs.podman} network reload -a
|
||||
'';
|
||||
trace = traceChain;
|
||||
|
||||
### lo
|
||||
|
|
Loading…
Reference in a new issue