X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config%2Fguardian%2Fguardian_unblock.sh;h=315d77195117084e535d365936f4a69f3ca902d0;hb=7bcfd0dd83873ac476cb49caceb753abb64dfc7f;hp=5e0b379037d82ff7b060d9ee1ff4d95c648d3496;hpb=fb30e20c5bfa9388269bf24b81b2da7f880792c5;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/config/guardian/guardian_unblock.sh b/config/guardian/guardian_unblock.sh index 5e0b37903..315d77195 100644 --- a/config/guardian/guardian_unblock.sh +++ b/config/guardian/guardian_unblock.sh @@ -2,8 +2,9 @@ # this is a sample unblock script for guardian. This should work with ipchains. # This command gets called by guardian as such: -# unblock.sh +# unblock.sh # and the script will issue a command to remove the block that was created with # block.sh address. source=$1 +interface=$2 -/sbin/iptables -D INPUT -s $source -j DROP +/sbin/iptables -D GUARDIAN -s $source -i $interface -j DROP