Oops, wrong order of options

master
bbruns 2010-10-06 19:37:04 +00:00
parent 87f9cb929c
commit bb17458fb4
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ if [ $BLOCKEDIP ]; then
FWD) DIRECTION="FORWARD" ;;
*) DIRECTION="INPUT" ;;
esac
${IPTABLES} -A ${DIRECTION} ${SRCIF} ${SRCIP} ${SRCPORT} ${DSTIF} ${DSTIP} ${DSTPORT} ${PROTO} -j DROP
${IPTABLES} -A ${DIRECTION} ${PROTO} ${SRCIF} ${SRCIP} ${SRCPORT} ${DSTIF} ${DSTIP} ${DSTPORT} -j DROP
else
$IPTABLES -A INPUT -s $i -j DROP
$IPTABLES -A OUTPUT -d $i -j DROP