Fixing more of my errors

master
bbruns 2010-08-21 17:07:07 +00:00
parent b753104617
commit 65f8ae4f31
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ if [ $NAT ]; then
display_c YELLOW "Adding NAT rule: " N
for i in $NAT_RANGE; do
NAT_RULE=( ${i//:/ } )
case $NAT_RULE[0] in
case ${NAT_RULE[0]} in
SNAT)
$IPTABLES -A POSTROUTING -t nat -i ${NAT_RULE[1]} -s ${NAT_RULE[2]} -j SNAT \
-o ${NAT_RULE[3]} --to-source ${NAT_RULE[4]}