Fix NAT module

This commit is contained in:
Eelco Dolstra
2014-04-11 17:16:44 +02:00
parent b8a6eef6fa
commit b9281e6a2d
+1 -1
View File
@@ -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