# config vpn ipsec phase1-interfaceNAT Traversal.
edit "tunnel-name"
set interface "wan1"
set ike-version 2
set peertype any
set net-device enable
set proposal aes256-sha1
set nattraversal enable default setting is “enable”
set psksecret <secret>
next
end
(tunnel-name) # set nattraversalSelect Enable if a NAT device exists between the local FortiGate unit and the remote VPN peer. The local FortiGate unit and the remote VPN peer must have the same NAT traversal setting (both enabled or disabled) to connect reliably.
enable <----- Enable IPsec NAT traversal.
disable <----- Disable IPsec NAT traversal.
forced <----- Force IPsec NAT traversal on.
# get vpn ipsec tunnel details | grep natRelated Links
nat traversal mode: silent
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 2023 Fortinet, Inc. All Rights Reserved.