FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sjoshi
Staff
Staff
Article Id 386313
Description

 

This article describes troubleshooting and creating a general IPsec VPN script using Tera Term.

 

Scope

 

FortiOS.

 

Solution

 

The following script is designed to gather relevant debug information related to IPsec VPN issues. Issues may be encountered where the IPsec VPN intermittently goes down or keeps flapping. A script can be used to capture logs automatically. This will help ensure that all necessary data is collected in advance before opening a case with TAC.

 

Refer to Preparing Windows machine to run Teraterm scripts for instructions on how to use Tera Term.

 

Note:

If the script logs out automatically, try increasing the login timeout duration using the following command:


config system global
    set admin-ssh-grace-time <number_of_seconds> <max 3600 seconds>
end