Hey Friends
i Wanna Block a Port for 1 Minute for each 10 Minute …
Mean : users can Use That Port 9 Minute if 10 Minute … Blocking 1min of 10 Min.
for Adding That Should Add a Thousands of Filter rule time with Specified of time
Rule 1 , Block Port time=00:01-00:02
Rule 2 , Block Port time=00:11-00:12
Rule 3 , Block Port time=00:21-00:22
Rule 4 , Block Port time=00:31-00:32
Rule N …
How Can i work it with an a Easy Way , Like a Script Run a 1 Rule for 1 min of 10 min .
Write a script that will enable a filter rule that will enable a firewall rule that will drop connection for that port, put in a delay of 60 and disable the rule with the next line. Run the script every 10 minutes.
Set up a scheduler to run this every 10 minutes. It will look in the firewall filter for any rules with the comment of “block” and enable them. It will then wait 60 seconds and run the final command of disabling anything with the comment of “block”
but The Scheduler don’t Run The Script , Scheduler Run in That Interval Times , but Don’t Run The Script
~Thats Run Count on The Script Section is Manual Run by me .
but The Scheduler don’t Run The Script , Scheduler Run in That Interval Times , but Don’t Run The Script
~Thats Run Count on The Script Section is Manual Run by me .