Marking support

master
bbruns@gmail.com 2010-09-23 02:22:53 +00:00
parent 486594fdd0
commit a730cda543
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ if [ -r "$IPv4_MARK" ]; then
$IPTABLES -t mangle -A PREROUTING -i ${INIF} ${INNEG} -s ${INIP} \ $IPTABLES -t mangle -A PREROUTING -i ${INIF} ${INNEG} -s ${INIP} \
${DSTNEG} -d ${DSTIP} -j MARK --set-mark=${IPMARK} ${DSTNEG} -d ${DSTIP} -j MARK --set-mark=${IPMARK}
display_c DEFAULT "\t${GREEN}${INNEG}${INIF}:${PURPLE}${INIP}${AQUA}->${BLUE}${DSTNEG}${DSTIP}:${RED}${IPMARK}" display_c DEFAULT "\t${GREEN}${INNEG}${INIF}:${PURPLE}${INIP}${AQUA}->${BLUE}${DSTNEG}${DSTIP}:${RED}${IPMARK}"
unset INNEG DSTNET unset INNEG DSTNEG
done done
echo -ne "\n" echo -ne "\n"
fi fi