Marking support
parent
486594fdd0
commit
a730cda543
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue