From 5f0566f17c1c963b33b0958aa2123ae3be60bd8f Mon Sep 17 00:00:00 2001 From: "bruns@2mbit.com" Date: Tue, 22 Jun 2010 04:37:48 +0000 Subject: [PATCH] --- rc.firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.firewall b/rc.firewall index 3a071c4..d5c0111 100755 --- a/rc.firewall +++ b/rc.firewall @@ -174,7 +174,7 @@ fi if [ $PORTFW ] && [ $NAT ]; then echo -en "\E[33mAdding port forward for:\E[37m " for i in `grep -v "\#" $PORTFW`; do - echo -en "${PORTADD[0]}/${PORTADD[1]}-\>${PORTADD[2]}:${PORTADD[3]} " + echo -en "\E[32m${PORTADD[0]}\E[37m/\E[35m${PORTADD[1]}\E[37m->${PORTADD[2]}:${PORTADD[3]} " PORTADD=( ${i//:/ } ) $IPTABLES -A PREROUTING -t nat -i $NATEXTIF -p ${PORTADD[1]} \ --dport ${PORTADD[0]} -j DNAT --to \