diff --git a/nixos/modules/services/networking/nat.nix b/nixos/modules/services/networking/nat.nix index d684d8e31222..3d3899a5c41a 100644 --- a/nixos/modules/services/networking/nat.nix +++ b/nixos/modules/services/networking/nat.nix @@ -115,7 +115,7 @@ in # NAT packets coming from the internal IPs. ${concatMapStrings (range: '' iptables -t nat -A POSTROUTING \ - -s '${range}' -o ${cfg.externalInterface} ${dest}} + -s '${range}' -o ${cfg.externalInterface} ${dest} '') cfg.internalIPs} echo 1 > /proc/sys/net/ipv4/ip_forward