NSE7 Advanced VPN and Zero Trust Practice Question
Exhibit
Refer to the exhibit.
config system interface
edit "to_remote"
set vdom "root"
set ip 10.0.1.1 255.255.255.252
set type tunnel
set remote-ip 10.0.1.2 255.255.255.252
set interface "wan1"
next
end
config vpn ipsec phase1
edit "vpn_1"
set interface "wan1"
set peertype any
set net-device enable
set proposal aes256-sha256
set dhgrp 14
set remote-gw 203.0.113.1
set psksecret ********
next
end
config vpn ipsec phase2
edit "vpn_2"
set phase1name "vpn_1"
set proposal aes256-sha256
set src-subnet 10.0.1.0 255.255.255.252
set dst-subnet 10.0.2.0 255.255.255.252
next
endRefer to the exhibit. A tunnel interface is configured with IP 10.0.1.1/30 and remote-ip 10.0.1.2/30. The phase2 defines src-subnet as 10.0.1.0/30 and dst-subnet as 10.0.2.0/30. What is the most likely problem with this configuration?
⚠ Common exam trap
Test-takers frequently confuse the tunnel interface subnet with the protected local subnet, assuming the phase2 selectors should match the tunnel IPs, when in fact they must specify the actual internal networks behind the VPN gateways.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The phase2 src-subnet includes the tunnel interface IP
The phase2 src-subnet is set to 10.0.1.0/30, which includes the tunnel interface IP 10.0.1.1/30. In IPsec VPN configurations, the phase2 selector must not include the tunnel interface IP itself because the tunnel interface is used for routing encapsulated traffic; including it can cause routing loops or prevent the tunnel from establishing correctly. The correct src-subnet should be the protected internal network behind the FortiGate, not the tunnel subnet.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The phase2 src-subnet includes the tunnel interface IP
Why this is correct
The tunnel interface IP (10.0.1.1) is inside the src-subnet (10.0.1.0/30), which is incorrect. The src-subnet should be the local LAN subnet, not the tunnel subnet.
- ✗
The remote gateway is set to a static IP but the peer might be dynamic
Why it's wrong here
The remote-gw is set to 203.0.113.1, which is a static IP; no indication of dynamic.
- ✗
The tunnel interface is missing the 'ip' command
Why it's wrong here
The IP is set; DHCP is not used in this config.
- ✗
The phase2 dst-subnet overlaps with the remote gateway
Why it's wrong here
The dst-subnet is 10.0.2.0/30, which is different from the remote gateway 203.0.113.1.
Visual reference
Quick reference
VPN Protocol Comparison
| Protocol | Port | Encryption | Authentication | Use Case |
|---|---|---|---|---|
| IKEv2 / IPsec | UDP 500 / 4500 | AES-256 | Certificates / PSK | Site-to-site & remote access |
| SSL / TLS VPN | TCP 443 | TLS 1.3 | Certificates / MFA | Clientless remote access |
| L2TP / IPsec | UDP 1701 | AES (IPsec) | PSK / Certificates | Legacy remote access |
| WireGuard | UDP 51820 | ChaCha20 | Public keys | Modern high-performance VPN |
| PPTP | TCP 1723 | MPPE (weak) | MS-CHAPv2 | Legacy — avoid in production |
PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.
Go deeper
Related to this question
About these practice questions
This NSE7 question is part of Courseiva's 940-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This NSE7 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE7 exam.