mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
10 lines
329 B
Bash
10 lines
329 B
Bash
#!/bin/sh
|
|
|
|
# this is a sample unblock script for guardian. This should work with ipchains.
|
|
# This command gets called by guardian as such:
|
|
# unblock.sh <source_ip>
|
|
# and the script will issue a command to remove the block that was created with # block.sh address.
|
|
source=$1
|
|
|
|
/sbin/iptables -D GUARDIANINPUT -s $source -j DROP
|