diff --git a/Networking/Sophos/Site-to-Site VPNs/IPSec/Automatic Tunnel Resetting.md b/Networking/Sophos/Site-to-Site VPNs/IPSec/Automatic Tunnel Resetting.md index e4daec4..527bd29 100644 --- a/Networking/Sophos/Site-to-Site VPNs/IPSec/Automatic Tunnel Resetting.md +++ b/Networking/Sophos/Site-to-Site VPNs/IPSec/Automatic Tunnel Resetting.md @@ -127,7 +127,22 @@ At this point, you need this script to run automatically on its own every 5 minu === "Windows" - Open "**Task Scheduler**" on the device - - PLACEHOLDER + - Expand "**Task Scheduler Library**" in the tree on the left-hand side + - Right-click anywhere in the task list and select "**Create New Task...**" + - General Tab: + - Name: `Check VPN Tunnel Every 5 Minutes` + - When running this task, use the following user account: `SYSTEM` + - Trigger Tab: + - Click "**New...**" + - Begin the Task: `On a Schedule` + - Settings: `Daily` + - Advanced Settings > Repeat Task Every: `5 Minutes` > for a duration of `1 Day` + - Actions: + - Click "**New...**" + - Action: `Start a Program` + - Program/Script: `C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe` + - Add Arguments: `-ExecutionPolicy Bypass -File "C:\Scripts\VPN_Tunnel_Checker\Tunnel_Checker.ps1" + - Press the "**OK**" button to save the scheduled task, then wait for 5 minutes to ensure it triggers as-expected. === "Linux"