Policy & Objects : VPN Console : VPN topology
 
VPN topology
You can create full meshed, star, and dial up VPN topologies. Once you have created the topology, you can create the VPN gateway.
Figure 228: Create VPN Topology
Configure the following settings:
Name
Enter a name for the VPN topology.
Description
Enter an optional description.
Topology
Select the topology type from the drop-down list. Select one of:
Full Meshed: Each gateway has a tunnel to every other gateway.
Star: Each gateway has one tunnel to a central hub gateway.
Dial up: Some gateways, often mobile users, have dynamic IP addresses and contact the gateway to establish a tunnel.
IKE Profile
Define the IKE Profile. Configure IKE Phase 1, IKE Phase 2, Advanced settings, and Authentication settings.
 
IKE Phase 1
Define the IKE Phase 1 proposal settings.
 
 
1-Encryption
Authentication
 
2-Encryption
Authentication
 
3-Encryption
Authentication
Select the encryption and authentication algorithms used to generate keys for protecting negotiations and add encryption and authentication algorithms as required.
You need to select a minimum of one and a maximum of three combinations. The remote peer or client must be configured to use at least one of the proposals that you define.
Select one of the following symmetric-key encryption algorithms:
DES: Digital Encryption Standard, a 64-bit block algorithm that uses a 56-bit key.
3DES: Triple-DES, in which plain text is encrypted three times by three keys.
AES128: A 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 128-bit key.
AES192: A128-bit block Cipher Block Chaining (CBC) algorithm that uses a 192-bit key.
AES256: A128-bit block Cipher Block Chaining (CBC) algorithm that uses a 256-bit key.
Select either of the following authentication message digests to check the authenticity of messages during phase 1 negotiations:
MD5: Message Digest 5, the hash algorithm developed by RSA Data Security.
SHA1: Secure Hash Algorithm 1, which produces a 160-bit message digest.
SHA256: Secure Hash Algorithm 2, which produces a 256-bit message digest.
To specify a third combination, use the Add button beside the fields for the second combination.
 
 
DH Group
Select one or more Diffie-Hellman groups from DH group 1, 2, 5 and 14.
At least one of the DH Group settings on the remote peer or client must match one the selections on the FortiGate unit. Failure to match one or more DH groups will result in failed negotiations.
Note: Only one DH group is allowed for static and dynamic DNS gateways in aggressive mode.
 
 
Exchange Mode
Select either Aggressive or Main (ID Protection).
The FortiGate unit and the remote peer or dialup client exchange phase 1 parameters in either Main mode or Aggressive mode. This choice does not apply if you use IKE version 2, which is available only for route-based configurations.
In Main mode, the Phase 1 parameters are exchanged in multiple rounds with encrypted authentication information
In Aggressive mode, the Phase 1 parameters are exchanged in single message with authentication information that is not encrypted.
Although Main mode is more secure, you must select Aggressive mode if there is more than one dialup Phase 1 configuration for the interface IP address, and the remote VPN peer or client is authenticated using an identifier local ID). Descriptions of the peer options in this guide indicate whether Main or Aggressive mode is required.
 
 
Key Life
Enter the time (in seconds) that must pass before the IKE encryption key expires. When the key expires, a new key is generated without interrupting service. The keylife can be from 120 to 172800 seconds.
 
 
Enable dead peer detection
Select this check box to reestablish VPN tunnels on idle connections and clean up dead IKE peers if required. You can use this option to receive notification whenever a tunnel goes up or down, or to keep the tunnel connection open when no traffic is being generated inside the tunnel. For example, in scenarios where a dialup client or dynamic DNS peer connects from an IP address that changes periodically, traffic may be suspended while the IP address changes.
 
IKE Phase 2
Define the IKE Phase 2 proposal settings.
Note: When you define phase 2 parameters, you can choose any set of phase 1 parameters to set up a secure connection for the tunnel and authenticate the remote peer. Auto Key configuration applies to both tunnel-mode and interface-mode VPNs.
 
 
1-Encryption
Authentication
 
2-Encryption
Authentication
 
3-Encryption
Authentication
Select the encryption and authentication algorithms used to generate keys for protecting negotiations and add encryption and authentication algorithms as required.
You need to select a minimum of one and a maximum of three combinations. The remote peer or client must be configured to use at least one of the proposals that you define.
It is invalid to set both Encryption and Authentication to NULL.
Select one of the following symmetric-key encryption algorithms:
NULL: Do not use an encryption algorithm.
DES: Digital Encryption Standard, a 64-bit block algorithm that uses a 56-bit key.
3DES: Triple-DES, in which plain text is encrypted three times by three keys.
AES128: A 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 128-bit key.
AES192: A128-bit block Cipher Block Chaining (CBC) algorithm that uses a 192-bit key.
AES256: A128-bit block Cipher Block Chaining (CBC) algorithm that uses a 256-bit key.
Select either of the following authentication message digests to check the authenticity of messages during phase 1 negotiations:
NULL: Do not use a message digest.
MD5: Message Digest 5, the hash algorithm developed by RSA Data Security.
SHA1: Secure Hash Algorithm 1, which produces a 160-bit message digest.
SHA256: Secure Hash Algorithm 2, which produces a 256-bit message digest.
To specify a third combination, use the Add button beside the fields for the second combination.
 
 
DH Group
Select one or more Diffie-Hellman groups from DH group 1, 2, 5 and 14.
At least one of the DH Group settings on the remote peer or client must match one the selections on the FortiGate unit. Failure to match one or more DH groups will result in failed negotiations.
Note: Only one DH group is allowed for static and dynamic DNS gateways in aggressive mode.
 
 
Enable replay detection
Select to enable or disable replay detection.
Replay attacks occur when an unauthorized party intercepts a series of IPsec packets and replays them back into the tunnel.
 
 
Enable perfect forward secrecy (PFS)
Select to enable or disable perfect forward secrecy (PFS).
Perfect forward secrecy (PFS) improves security by forcing a new Diffie-Hellman exchange whenever keylife expires.
 
 
Key Life
Enter the PFS key life. Select Second, Kbytes, or Both from the drop-down list and enter the value in the text field.
 
 
Enable autokey keep alive
Select to enable or disable autokey keep alive.
The phase 2 SA has a fixed duration. If there is traffic on the VPN as the SA nears expiry, a new SA is negotiated and the VPN switches to the new SA without interruption. If there is no traffic, the SA expires and the VPN tunnel goes down. A new SA will not be generated until there is traffic.
The Autokey Keep Alive option ensures that a new SA is negotiated even if there is no traffic so that the VPN tunnel stays up.
 
 
Enable auto-negotiate
Select to enable or disable auto-negotiation.
 
Advanced
 
 
 
Enable NAT Traversal
Select the check box if a NAT device exists between the local FortiGate unit and the VPN peer or client. The local FortiGate unit and the VPN peer or client must have the same NAT traversal setting (both selected or both cleared) to connect reliably.
 
 
NAT Traversal Keep-alive Frequency
If you enabled NAT-traversal, enter a keep-alive frequency setting (10-900 seconds).
 
Authentication
The FortiGate unit implements the Encapsulated Security Payload (ESP) protocol. Internet Key Exchange (IKE) is performed automatically based on pre-shared keys or X.509 digital certificates. As an option, you can specify manual keys. Interface mode, supported in NAT mode only, creates a virtual interface for the local end of a VPN tunnel.
 
 
Pre-shared Key
If you selected Pre-shared Key, enter the pre-shared key that the FortiGate unit will use to authenticate itself to the remote peer or dialup client during phase 1 negotiations. You must define the same key at the remote peer or client. The key must contain at least 6 printable characters. For optimum protection against currently known attacks, the key must consist of a minimum of 16 randomly chosen alphanumeric characters.
Alternatively, you can select to generate a random pre-shared key.
 
 
Certificates
If you selected Certificates, select the name of the server certificate that the FortiGate unit will use to authenticate itself to the remote peer or dialup client during phase 1 negotiations. For information about obtaining and loading the required server certificate, see the FortiOS User Authentication guide.
Advanced Options
For more information on advanced option, see the FortiOS 5.0 CLI Reference.
 
fcc-enforcement
Select to enable or disable FCC enforcement.
 
ike-version
Select the version of IKE to use. This is available only if IPsec Interface Mode is enabled. For more information about IKE v2, refer to RFC 4306.
IKE v2 is not available if Exchange Mode is Aggressive. When IKE Version is set to 2, Mode and XAUTH are not available.
 
localid-type
Select the local ID type from the drop-down list. Select one of:
auto: Select type automatically
fqdn: Fully Qualified Domain name
user-fqdn: User Fully Qualified Domain Name
keyid: Key Identifier ID
address: IP Address
asn1dn: ASN.1 Distinguished Name
 
negotiate-timeout
Enter the negotiation timeout value. The default is 30 seconds.
Once you have created your VPN topology, you can select to create a new managed gateway or external gateway for the topology.