Dropping hhtp and https traffic at Specific times.

Hi,

I want to drop http and https traffic at specific times of the day. How do I go about this?

You can make a firewall rule to DROP TCP packets on ports 80 and 443 at specific time. But there will be the workaround of using other non default ports (but hardly ever websites allow this). That would be enough for 99% of the cases.

If you need “scientific precision” for this block, you might want to also add Layer 7 blocks (also supported by RouterOS) and also block VPN protocols to avoid the bypass of your firewall rules.

Hi Kurtkraut,

Thanks for your response. I’ve already created the rules in the firewall. Where do I define the time? When I created the rule and went to “Extra” to define the time I got this error. “Couldn’t change Firewall rule <192.168.0.0/24->0.0.0.0/0:80> - start time bigger than end time” I need the rule to be active between 20:00 - 05:00 the following morning.

You need two rules, first with time 20:00:00 - 23:59:59 and second with 00:00:00 - 05:00:00.

HTH,

Hi Ditonet,

Thanks for your advice. This has worked extremely well.