diff options
author | makefu <github@syntax-fehler.de> | 2023-01-10 13:20:04 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-01-10 13:20:04 +0100 |
commit | c691e94c45e6c5bdac531186374b185ea1790311 (patch) | |
tree | 024f2e5b8aed015687f03b31b6e7c1ce743f009c /lass/2configs/libvirt.nix | |
parent | 1929733c03dbff92f830cb81b57cf4ccf859d364 (diff) | |
parent | 2818476f710410f1c752ce12becce10be0a8a293 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/libvirt.nix')
-rw-r--r-- | lass/2configs/libvirt.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/2configs/libvirt.nix b/lass/2configs/libvirt.nix index d391e0d7b..6d07c7a77 100644 --- a/lass/2configs/libvirt.nix +++ b/lass/2configs/libvirt.nix @@ -20,8 +20,8 @@ krebs.iptables.tables.filter.OUTPUT.rules = [ { v6 = false; predicate = "-o virbr0 -p udp -m udp --dport 68"; target = "ACCEPT"; } ]; - krebs.iptables.tables.nat.PREROUTING.rules = [ - { v6 = false; predicate = "-s 192.168.122.0/24"; target = "ACCEPT"; precedence = 1000; } + krebs.iptables.tables.nat.PREROUTING.rules = lib.mkBefore [ + { v6 = false; predicate = "-s 192.168.122.0/24"; target = "ACCEPT"; } ]; krebs.iptables.tables.nat.POSTROUTING.rules = [ { v6 = false; predicate = "-s 192.168.122.0/24 -d 224.0.0.0/24"; target = "RETURN"; } |