Description |
This article describes how to avoid IPsec VPN keep generating phase1 errors from the same source IP address.
Related article: Technical Tip: How to filter traffic with VLAN ID when doing packet sniffer |
Scope |
FortiGate will generate IPsec phase1 error when the source IP does not match the remote gateway settings of FortiGate IPSec VPN.
Topology: 10.1.212.9(device A) <----IPsec---> 10.1.212.14() FGT
Scenario: 10.1.212.9 tries to generate IPsec VPN to 10.1.212.14 but there are no such IP address settings for the IPsec in the FortiGate.
The log will keep showing an IPsec phase1 error.
|
Solution |
To avoid the log getting generated, it is possible to use a local-in policy to block the traffic:
config firewall local-in-policy
In v7.2.4+, another CLI option is needed for the local-in policy to affect IPsec traffic:
Related document: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.