About the author
One of the issues I have, running a blog site I own, is that there are certain automated entities on the Internet that likes to poll my website every half an hour, every hour, for updates.The problem I have with this, is that I've never updated my blog every half an hour, for 24 hours, every day.
So, recently, I came across a firewall setting that allows me to specify the start and stop time of the rule. It seems to me then, it's possible to block specific IPs, or IP ranges, for nearly 24 hours, and allow these traffic to go through only for an hour every day.
So, here's the rules I've written. The first rule, drops traffic from midnight to 3pm, and the second rule, drops traffic from 4pm to midnight. This essentially allows the given IPs to connect during 3-4pm.
config rule option src 'wan' option dest 'lan' option proto 'tcp' option family 'ipv4' option src_ip 'xx.xx.xx.xx' option dest_port '80 443' option target 'DROP' option name 'Block xx.xx.xx.xx-1' option enabled '1' option start_time '00:00:00' option stop_time '15:00:00'config rule option src 'wan' option dest 'lan' option proto 'tcp' option family 'ipv4' option src_ip 'xx.xx.xx.xx' option dest_port '80 443' option target 'DROP' option name 'Block xx.xx.xx.xx-2' option enabled '1' option start_time '16:00:00' option stop_time '00:00:00'
Hello,
I tried to find out how your config rules apply by firewall settings but could not succeed (Although I discovered several interesting things with firewall settings :) so can you please explain more?
Hi Tran,
Unfortunately, I have no idea what you're trying to do, so I can't help.If you need further information, you should let me know what you're trying to do.
How to free more space on your home drive by redirecting the location for SDKs in RAD Studio
Learn the command line used to compile System.pas in Delphi
A method to design records so that they're allocated on a specific byte boundary, such as 16 bytes, 512 bytes, 4096 bytes, etc.
Learn why the map is cool in Go!