summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-25 14:24:32 +0100
committerlassulus <lassulus@lassul.us>2018-12-25 14:38:35 +0100
commit712ef03b7afce99f359cf1a5072b63f493ed461b (patch)
treeae8c62d6d96f03df755ccb44e7dd3bd23bcfe88b
parent48847ca8154fdc8db62ff151effdb3e39cae87f7 (diff)
l prism: fix MASQUERADING for externals
-rw-r--r--lass/1systems/prism/config.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index 034721660..dd8ab0dd9 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -309,7 +309,7 @@ with import <stockholm/lib>;
{ precedence = 1000; predicate = "-i retiolum -o wiregrill"; target = "ACCEPT"; }
];
krebs.iptables.tables.nat.POSTROUTING.rules = [
- { v4 = false; predicate = "-s 42:1:ce16::/48 ! -d 42:1:ce16::48"; target = "MASQUERADE"; }
+ { v4 = false; predicate = "-s 42:1::/32 ! -d 42:1::/48"; target = "MASQUERADE"; }
{ v6 = false; predicate = "-s 10.244.1.0/24 ! -d 10.244.1.0/24"; target = "MASQUERADE"; }
];
services.dnsmasq = {