From 65f8ae4f31953ba41d46aaaa74fae3f11a4ebb05 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sat, 21 Aug 2010 17:07:07 +0000 Subject: [PATCH] Fixing more of my errors --- rc.firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.firewall b/rc.firewall index de8621d..d29bf3f 100755 --- a/rc.firewall +++ b/rc.firewall @@ -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]}