bruns@2mbit.com 2009-11-16 20:36:37 +00:00
parent 316002fc2d
commit 0985afeb87
1 changed files with 2 additions and 2 deletions

View File

@ -122,11 +122,11 @@ if [ $ROUTING ]; then
$IPTABLES -A FORWARD -i $FWINT1 -o $FWINT2 \
-s $FWIP1 -d $FWIP2 -j ACCEPT
if [ ${ROUTE[4]} == "1" ]; then
echo -n "$FWINT1:$FWIP1<->$FWINT2:$FWIP2} "
echo -n "$FWINT1:$FWIP1<->$FWINT2:$FWIP2 "
$IPTABLES -A FORWARD -o $FWINT1 -i $FWINT2 \
-d $FWIP1 -s $FWIP2 -j ACCEPT
else
echo -n "$FWINT1:$FWIP1->$FWINT2:$FWIP2} "
echo -n "$FWINT1:$FWIP1->$FWINT2:$FWIP2 "
fi
done
fi