portsentry - KILL_ROUTE question
Hello,
my portsentry`s default dropping rule is
KILL_ROUTE="iptables -I INPUT -s $TARGET$ -j DROP"
and it works fine but...
Since I dont use iptables-save/restore options (iptables rules are loaded from file) I would like to save portsenty`s dropping rules into a txt file.
I thougt it might be something like:
KILL_ROUTE="iptables -I INPUT -s $TARGET$ -j DROP >> /etc/rc.d/rc.masq_denied"
but the new rule is not being added into the file.
Any hints?
|