QuestionQ18

VerifiedAdvanced IPsec

The administrator uses FortiManager to push a CLI script through the Remote FortiGate Directly (via CLI) option to configure an IPsec VPN. However, while executing the script, the administrator receives this error:

config vpn ipsec phase2-interface [parameter(s) invalid. detail: object mismatch]

What must the administrator do to resolve the script error and successfully apply the IPsec configuration?

Explanation

FortiOS requires each config block to be closed with end. Closing the config vpn ipsec phase1-interface block before starting config vpn ipsec phase2-interface places the phase 2 configuration in its proper CLI context and prevents the object-mismatch error.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!