Question 1
Choose 2
Refer to the exhibits, which contain the partial configurations of two VPNs on FortiGate.

An administrator has configured two VPNs for two different user groups. Users who are in the Users-2 group are not able to connect to the VPN. After running a diagnostics
command, the administrator discovers that FortiGate is not matching the user-2 VPN for members of the Users-2 group.
Which two changes must the administrator make to fix the issue? (Choose two.)

An administrator has configured two VPNs for two different user groups. Users who are in the Users-2 group are not able to connect to the VPN. After running a diagnostics
command, the administrator discovers that FortiGate is not matching the user-2 VPN for members of the Users-2 group.
Which two changes must the administrator make to fix the issue? (Choose two.)
Correct answer:
A. Change to aggressive mode on both VPNs.
D. Set up specific peer IDs on both VPNs.
Explanation:
The core problem is that both IPsec VPNs (user-1 and user-2) are configured identically on the same interface (port1) with dynamic peer IPs and main mode. In main mode, the phase 1 negotiation completes (establishing a secure channel) before any user identity (XAuth) is exchanged. Therefore, FortiGate cannot distinguish an incoming connection for user-1 from one for user-2 during the initial phase, causing a mismatch.
A. Change to aggressive mode on both VPNs.
This is the prerequisite. Aggressive mode exchanges identities (like peer ID or XAuth username) early in phase 1, allowing the FortiGate to differentiate between the two VPN configurations before the tunnel is established.
D. Set up specific peer IDs on both VPNs.
Once in aggressive mode, defining unique peer IDs for each VPN (e.g., user-1-id and user-2-id) provides the specific identifier FortiGate needs to match the incoming connection to the correct VPN configuration (user-1 or user-2).
Why the Other Options Are Incorrect
B. Enable XAuth on both VPNs.
While XAuth does handle user authentication, it occurs after phase 1. The matching failure happens earlier, during phase 1 negotiation. Peer ID is the phase 1 identifier needed for matching.
C. Use different pre-shared keys on both VPNs.
Different PSKs would technically work but is an insecure and impractical solution. It would force all users to know and use different secrets based on which tunnel they should connect to, rather than using group membership for access control.
Reference:
This behavior is defined in the IPsec standard and documented in Fortinet's FortiGate VPN configuration guides, which explain that for multiple dial-up VPNs on one interface, aggressive mode with unique peer IDs is required for proper tunnel selection.
The core problem is that both IPsec VPNs (user-1 and user-2) are configured identically on the same interface (port1) with dynamic peer IPs and main mode. In main mode, the phase 1 negotiation completes (establishing a secure channel) before any user identity (XAuth) is exchanged. Therefore, FortiGate cannot distinguish an incoming connection for user-1 from one for user-2 during the initial phase, causing a mismatch.
A. Change to aggressive mode on both VPNs.
This is the prerequisite. Aggressive mode exchanges identities (like peer ID or XAuth username) early in phase 1, allowing the FortiGate to differentiate between the two VPN configurations before the tunnel is established.
D. Set up specific peer IDs on both VPNs.
Once in aggressive mode, defining unique peer IDs for each VPN (e.g., user-1-id and user-2-id) provides the specific identifier FortiGate needs to match the incoming connection to the correct VPN configuration (user-1 or user-2).
Why the Other Options Are Incorrect
B. Enable XAuth on both VPNs.
While XAuth does handle user authentication, it occurs after phase 1. The matching failure happens earlier, during phase 1 negotiation. Peer ID is the phase 1 identifier needed for matching.
C. Use different pre-shared keys on both VPNs.
Different PSKs would technically work but is an insecure and impractical solution. It would force all users to know and use different secrets based on which tunnel they should connect to, rather than using group membership for access control.
Reference:
This behavior is defined in the IPsec standard and documented in Fortinet's FortiGate VPN configuration guides, which explain that for multiple dial-up VPNs on one interface, aggressive mode with unique peer IDs is required for proper tunnel selection.
