Description | This article describes how to block the remote users from accessing the internal resource such as servers etc. out of office hours. |
Scope | FortiGate. |
Solution |
This article describes for restricting the remote users accessing the resources from the internal network out of office hours. It can beachieved in 2 ways.
In this example, SSL VPN will only be accessible from Monday to Friday from 09:00 AM to 06:00 PM every day and will be blocked during off business hours. Configure two recurring schedules. One will be for weekdays, and another will be for weekends. CLI: edit "DENY-OFF-BH-MON-FRI" set start 18:01 set end 08:59 set day monday tuesday wednesday thursday friday next edit "DENY-OFF-BH-SAT-SUN" set day sunday saturday next end config firewall schedule group edit "Schedule the Firewall Policy" set member "DENY-OFF-BH-MON-FRI" "DENY-OFF-BH-SAT-SUN" next end GUI:
Change the Schedule from 'Always' to 'Schedule the Firewall Policy'. That will block the FortiClient user from connecting to the FortiGate. Users are unable to connect to the FortiGate using FortiClient.
For situation 2:
Users are not able to access the resource, even when connected to the FortiGate using FortiClient.
It is possible to conclude that he traffic from internal resources is being blocked.
Related articles: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.