Update Networking/Sophos/Site-to-Site VPNs/IPSec/Automatic Tunnel Resetting.md
This commit is contained in:
		| @@ -110,7 +110,7 @@ You need a place to put the script (and if on Windows, `curl.exe`).  Follow the | ||||
|         Lastly, change the very end of the script under where the `Check-IHS-Tunnel` function is being called to look like this if you want to log heartbeats and not just when a VPN tunnel is down.  The purpose of this is to show the script is actually running.  I recommend only temporarily implementing it during initial deployment. | ||||
|  | ||||
|         ``` powershell | ||||
|         CD "C:\Scripts" | ||||
|         CD "C:\Scripts\VPN_Tunnel_Checker" | ||||
|         Check-VPN-Tunnel | ||||
|         Add-Content -Path "C:\Scripts\VPN_Tunnel_Checker\Tunnel.log" -Value "$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss') Heartbeat" | ||||
|         ``` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user