Fix NAT module

This commit is contained in:
Eelco Dolstra 2014-04-11 16:26:00 +02:00
parent b8a6eef6fa
commit b9281e6a2d

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