fbpx

When creating a time-based access list, does that apply for the same day for the time of that day that allows me the connection or for several days?

In the access list you can specify which days you want the user to have a connection and within that day at what specific time.

Creating a time-based access list on MikroTik devices, through RouterOS, allows you to restrict network access based on specific times.

This setting can be applied both for limitations within a single day and for restrictions that span multiple days. The flexibility of the system allows you to define rules that fit your specific needs, whether limiting access to certain times of the day or on specific days of the week.

For example, you can configure an access list to allow network access only during business hours Monday through Friday and restrict it during the weekend, or allow special access during certain hours on specific days for events or scheduled maintenance.

Configuration is done on the MikroTik RouterOS firewall and may involve using the features of time-based firewall rules. These rules are configured by specifying time parameters directly in the firewall rules, where you define the start and end of the allowed period. You can specify:

  • Start time and stop time: Defines a time range during which the rule is active.
  • Days of the week: Allows you to specify the days of the week on which the rule applies.
  • Date (date): For restrictions that apply to specific dates.

Here's a basic example of what a rule might look like in RouterOS to allow Internet access only during business hours Monday through Friday:

/ip firewall filter add action=accept chain=forward comment="Permitir acceso laboral" \
    time=8h-17h,mon,tue,wed,thu,fri place-before=0

This rule would allow traffic from Monday to Friday from 8:00 a.m. to 17:00 p.m. Outside of these hours, subsequent rules would determine traffic treatment, which would usually involve restrictions or denials based on your specific network configuration.

The time-based approach to firewall access lists and rules provides great versatility to manage network access and security based on operational needs and usage policies.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011