More minor changes
parent
8f78bb6fb2
commit
ae8cce9320
|
@ -314,11 +314,11 @@ if [ $ROUTING ]; then
|
|||
$IPTABLES -A FORWARD -i $FWINT1 -o $FWINT2 \
|
||||
-s $FWIP1 -d $FWIP2 -j ACCEPT
|
||||
if [ ${ROUTE[4]} == "1" ]; then
|
||||
display_c DEFAULT "\t${PURPLE}$FWINT1:$FWIP1${AQUA}<->${BLUE}$FWINT2:$FWIP2"
|
||||
display_c DEFAULT "\t${GREEN}$FWINT1:${PURPLE}$FWIP1${AQUA}<->${BLUE}$FWINT2:$FWIP2"
|
||||
$IPTABLES -A FORWARD -o $FWINT1 -i $FWINT2 \
|
||||
-d $FWIP1 -s $FWIP2 -j ACCEPT
|
||||
else
|
||||
display_c DEFAULT "\t${PURPLE}$FWINT1:$FWIP1${AQUA}->${BLUE}$FWINT2:$FWIP2"
|
||||
display_c DEFAULT "\t${GREEN}$FWINT1:${PURPLE}$FWIP1${AQUA}->${BLUE}$FWINT2:$FWIP2"
|
||||
fi
|
||||
done
|
||||
echo -ne "\n"
|
||||
|
|
Loading…
Reference in New Issue