Stray quote in advanced blocking
parent
8840c3c630
commit
d2b5f82942
|
@ -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} ${SRCIF} ${SRCIP} ${SRCPORT} ${DSTIF} ${DSTIP} ${DSTPORT} ${PROTO} -j DROP
|
||||
else
|
||||
$IPTABLES -A INPUT -s $i -j DROP
|
||||
$IPTABLES -A OUTPUT -d $i -j DROP
|
||||
|
|
Loading…
Reference in New Issue