Question 300 of 1,000
Advanced VPN and Zero TrustmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to set the phase1 remote-gateway to 0.0.0.0 and enable accept-any-remote-gateway on the hub. This configuration is required because spokes with dynamic IPs behind NAT will initiate the VPN from unknown source addresses, and the hub must accept IKE and ESP traffic from any source to establish the initial tunnel and later support shortcut tunnels via ADVPN. On the Fortinet NSE 7 Advanced Security NSE7 exam, this question tests your understanding that IKEv2 does not support aggressive mode, so the hub cannot rely on pre-shared key matching by IP; instead, it must use a wildcard peer ID and a 0.0.0.0 remote gateway to accept any remote gateway dynamic IP spokes. A common trap is confusing this with setting a local ID or enabling NAT traversal alone—neither solves the core requirement of accepting unknown source IPs. Memory tip: think “zero-zero equals any-any” for the hub’s phase1 interface.

NSE7 Advanced VPN and Zero Trust Practice Question

This NSE7 practice question tests your understanding of advanced vpn and zero trust. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A network administrator is configuring a hub-and-spoke ADVPN with FortiGates. The spokes are behind NAT and use dynamic IPs. The hub has a static IP. Which IKEv2 configuration is REQUIRED to allow the spokes to initiate the VPN and receive shortcut tunnels?

Question 1mediummultiple choice
Read the full VPN explanation →

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

Set the phase1 remote-gateway to 0.0.0.0 and enable 'accept-any-remote-gateway' on the hub

Aggressive mode is not supported in IKEv2 (only main mode). Setting the local ID is not sufficient for NAT traversal. Allowing IKE and ESP from any source is required because spokes may have dynamic IPs, and the hub must accept incoming connections from unknown source IPs. However, the key requirement for ADVPN is that the hub must accept connections from any source, which is achieved by setting the interface to 'any' or allowing 0.0.0.0/0. Option C is the common practice: the hub uses a wildcard selector and accepts connections from any peer ID. But the question asks for 'REQUIRED' – the most accurate is that the hub must be configured to accept connections from any source IP, which is done by setting the remote gateway to 0.0.0.0 or using a peer ID with accept-any. Option C is the best answer.

Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Set the phase1 remote-gateway to 0.0.0.0 and enable 'accept-any-remote-gateway' on the hub

    Why this is correct

    The hub must accept connections from any source IP since spokes have dynamic IPs. This is achieved by setting remote-gateway 0.0.0.0 and optionally enabling accept-any-remote-gateway.

    Related concept

    Static NAT maps one inside address to one outside address.

  • Set IKE version 2 to aggressive mode to allow rapid negotiation

    Why it's wrong here

    IKEv2 does not support aggressive mode; it uses main mode only.

  • Configure the hub with a static IP in the phase1 local-gateway interface

    Why it's wrong here

    The hub's local gateway is its own IP, which is static. This is not a special requirement for ADVPN.

  • Use a preshared key and set the local ID to the spoke's public IP

    Why it's wrong here

    The spoke's public IP may change; setting the local ID to a dynamic IP would cause reconfiguration. Certificate-based auth is more typical for ADVPN.

Common exam traps

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Detailed technical explanation

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Key takeaway

NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related NSE7 NAT questions on configuration and troubleshooting.

Related practice questions

Related NSE7 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free NSE7 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this NSE7 question test?

Advanced VPN and Zero Trust — This question tests Advanced VPN and Zero Trust — Static NAT maps one inside address to one outside address..

What is the correct answer to this question?

The correct answer is: Set the phase1 remote-gateway to 0.0.0.0 and enable 'accept-any-remote-gateway' on the hub — Aggressive mode is not supported in IKEv2 (only main mode). Setting the local ID is not sufficient for NAT traversal. Allowing IKE and ESP from any source is required because spokes may have dynamic IPs, and the hub must accept incoming connections from unknown source IPs. However, the key requirement for ADVPN is that the hub must accept connections from any source, which is achieved by setting the interface to 'any' or allowing 0.0.0.0/0. Option C is the common practice: the hub uses a wildcard selector and accepts connections from any peer ID. But the question asks for 'REQUIRED' – the most accurate is that the hub must be configured to accept connections from any source IP, which is done by setting the remote gateway to 0.0.0.0 or using a peer ID with accept-any. Option C is the best answer.

What should I do if I get this NSE7 question wrong?

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related NSE7 NAT questions on configuration and troubleshooting.

What is the key concept behind this question?

Static NAT maps one inside address to one outside address.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.