Hello mate, I'm new here..
I'd like to ask if it's possible to change firewall rules using script.
I'm on testing my security of my router, so just get to the point.
I made firewall rules to detect some basic attacks such as ssh brute force, ftp brute force, ICMP flood, etc.
what I'd like to ask is to change time interval to block the ip address of the attacker.
my default interval for blocking attacker's ip address is 1 minute, but after my script for sending email from router is running, I'd like to add a feature to change the interval to 7 days in my script. so, I don't need to bother myself to change the interval time manually.
or maybe there's a way to block the attacker's ip address manually that I need to know.
thanks for any help and I'm sorry for my bad english..