master
parent
316002fc2d
commit
0985afeb87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue