Turn on / off specific services through script
ServiceLine
Newbie ✭
Is it possible to script scheduled turning on and off of specific services/groups of services.
Example: turn off Gateway anti-virus weekdays and turn on weekends? If so how to do?
Category: Firewall Management and Analytics
Tagged:
0
Answers
@ServiceLine there is no out of the box solution for this, but you should have a look into the API for enabling/disabling security services.
Another option you should look into, are Schedules which can be bound to Access Rules. This enables you to allow/disallow specific traffic based on time and day, no specific dates though.
--Michael@BWC
@ServiceLine @BWC
Through SonicWALL API you can enable/Disable the Security service based on ZONE.
Follow the below SonicOS 6.5.4 API Reference Guide - SonicWall
https://www.sonicwall.com/techdocs/pdf/sonicos-6-5-4-api-reference-guide.pdf
Thanks for following up. Sorry for the delay. I am not clear if the turning off/on can be scheduled for specific periods of time.
Given that you would be writing the software that invokes the API, then what time it does anything is entirely down to you.