Fortinet black logo

EMS Administration Guide

VPN

VPN

Configuration

Description

VPN

Enable or disable VPN use.

General

Allow Personal VPN

Enable to allow users to create, modify and use personal VPN configurations.

Disable Connect/Disconnect

Enable to disable connect/disconnect.

Show VPN before Logon

Enable to allow users to select a VPN connection before logging into the system.

Use Windows Credentials

Enable to connect using the current username and password.

Minimize FortiClient Console On Connect

Enable to minimize the window upon connecting.

Show Connection Progress

Display information on FortiClient dashboard while establishing connections.

Use Vendor ID

Enable to use vendor ID. Enter the vendor ID in the Vendor ID box.

Current Connection

Select the current VPN tunnel.

Keep Running Max Tries

The maximum number of attempts to retry a VPN connection that was lost due to network issues. If set to 0, it will retry indefinitely

SSL VPN

Enable SSL VPN.

DNS Cache Service Control

FortiClient disables Windows DNS cache when an SSL VPN tunnel is established. The DNS cache is restored after the SSL VPN tunnel is disconnected. If it is observed that FSSO clients do not function correctly when an SSL VPN tunnel is up, use the setting Prefer SSL VPN DNS to control the DNS cache.

Prefer SSL VPN DNS

When disabled, custom DNS server from SSL VPN will not be added to physical interface. When enabled, custom DNS server from SSL VPN will be prepended to physical interface.

IPSec VPN

Enable IPSec VPN.

Enable or disable the following:

  1. Beep If Connection Fails
  2. Use Windows Store Certificates
    1. Current User Windows Store Certificates (IPsec only)
    2. Local Computer Windows Store Certificates (IPSec only)
  3. Use Smart Card Certificates
  4. Show Auth Certificates Only
  5. Block IPv6
  6. Enable UDP Checksum
  7. Disable Default Route
  8. Check for Certificate Private Key
  9. Enhanced Key Usage Mandatory

The following options are available in the Creating VPN Tunnel window after clicking the Add Tunnel button in the VPN Tunnels section.

Basic Settings

Name

Enter a VPN name.

Type

Select SSL VPN or IPsec VPN.

Remote Gateway

Enter the IP address/hostname of the remote gateway. Multiple remote gateways can be configured by separating each entry with a semicolon. If one gateway is not available, the VPN will connect to the next configured gateway.

Port

Enter the access port. Available if SSL VPN is selected. The default port is 443.

Require Certificate

Enable to require a certificate. Available if SSL VPN is selected.

Authentication Method

Select the authentication method for the VPN. Available if IPsec VPN is selected.

Pre-Shared Key

Enter the pre-shared key required. Available if Pre-Shared Key is selected for Authentication Method.

Prompt for Username

Enable to prompt for the username when accessing VPN.

VPN Settings

Available if IPsec VPN is selected for the VPN type.

Mode

Select Main or Aggressive.

Options

Select Mode Config, Manual Set, or DHCP over IPsec.

Specify DNS Server (IPv4)

Specify the DNS server for the VPN tunnel. Available if Manual Set is selected.

Assign IP Address (IPv4)

Enter the IP address to assign for the VPN tunnel. Available if Manual Set is selected.

Split Table

Enter the IP address and subnet mask for the VPN tunnel. Available if Manual Set or DHCP over IPsec is selected.

Phase 1

Available if IPsec VPN is selected for the VPN type.

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 two combinations. The remote peer or client must be configured to use at least one of the proposals that you define.

Encryption

Select the encryption standard.

Authentication

Select the authentication method.

DH Groups

Select one or more Diffie-Hellman groups from DH group 1, 2, 5, 14, 15, 16, 17, 18, 19 and 20. 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.

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 key life can be from 120 to 172,800 seconds.

Local ID

Enter the local ID.

Enable Implied SPDO

Enable implied SPDO. Enter the timeout in seconds.

Dead Peer Detection

Select this checkbox to reestablish VPN tunnels on idle connections and clean up dead IKE peers if required.

NAT Traversal

Select the checkbox if a NAT device exists between the client and the local FortiGate unit. The client and the local FortiGate unit must have the same NAT traversal setting (both selected or both cleared) to connect reliably.

Enable Local LAN

Enable local LAN.

Enable IKE Fragmentation

Enable IKE fragmentation.

Phase 2

Available if IPsec VPN is selected for the VPN type.

Select the encryption and authentication algorithms that will be proposed to the remote VPN peer. You can specify up to two proposals. To establish a VPN connection, at least one of the proposals that you specify must match configuration on the remote peer.

Encryption

Select the encryption standard.

Authentication

Select the authentication method.

DH Group

Select one Diffie-Hellman (DH) group (1, 2, 5, 14, 15, 16, 17, 18, 19 or 20). This must match the DH Group that the remote peer or dialup client uses.

Key Life

The Key Life setting sets a limit on the length of time that a phase 2 key can be used. The default units are seconds. Alternatively, you can set a limit on the number of kilobytes (KB) of processed data, or both. If you select both, the key expires when either the time has passed or the number of KB have been processed. When the phase 2 key expires, a new key is generated without interrupting service.

Enable Replay Detection

Replay detection enables the unit to check all IPsec packets to see if they have been received before. If any encrypted packets arrive out of order, the unit discards them.

Enable Perfect Forward Secrecy (PFS)

Select the checkbox to enable Perfect forward secrecy (PFS). PFS forces a new Diffie-Hellman exchange when the tunnel starts and whenever the phase 2 key life expires, causing a new key to be generated each time.

Auto Keep Alive

Enable auto keep alive.

Allow non-administrators to use machine certificates

Enable to allow non-administrator users to use local machine certificates.

Advanced Settings

Enable One-Time Password

Enable one-time password.

Enable XAuth

Enable XAuth.

Prompt for Certificate

Enable to prompt the user for the certificate.

Enable Single User Mode

Enable Single User Mode.

Show Passcode

Enable to remember your password.

Save Username

Enable to save your username.

Show "Remember Password" Option

Enable to have the VPN tunnel remember the password.

Show "Always Up" Option

Enable to have the VPN tunnel always up. This also needs to be enabled on the FortiGate.

Show "Auto Connect" Option

Enable to automatically connect the VPN tunnel. This also needs to be enabled on the FortiGate.

On Connect Script

Enable the on connect script. Enter your script. This also needs to be enabled on the FortiGate.

On Disconnect Script

Enable the disconnect script. Enter your script. This also needs to be enabled on the FortiGate.

VPN

Configuration

Description

VPN

Enable or disable VPN use.

General

Allow Personal VPN

Enable to allow users to create, modify and use personal VPN configurations.

Disable Connect/Disconnect

Enable to disable connect/disconnect.

Show VPN before Logon

Enable to allow users to select a VPN connection before logging into the system.

Use Windows Credentials

Enable to connect using the current username and password.

Minimize FortiClient Console On Connect

Enable to minimize the window upon connecting.

Show Connection Progress

Display information on FortiClient dashboard while establishing connections.

Use Vendor ID

Enable to use vendor ID. Enter the vendor ID in the Vendor ID box.

Current Connection

Select the current VPN tunnel.

Keep Running Max Tries

The maximum number of attempts to retry a VPN connection that was lost due to network issues. If set to 0, it will retry indefinitely

SSL VPN

Enable SSL VPN.

DNS Cache Service Control

FortiClient disables Windows DNS cache when an SSL VPN tunnel is established. The DNS cache is restored after the SSL VPN tunnel is disconnected. If it is observed that FSSO clients do not function correctly when an SSL VPN tunnel is up, use the setting Prefer SSL VPN DNS to control the DNS cache.

Prefer SSL VPN DNS

When disabled, custom DNS server from SSL VPN will not be added to physical interface. When enabled, custom DNS server from SSL VPN will be prepended to physical interface.

IPSec VPN

Enable IPSec VPN.

Enable or disable the following:

  1. Beep If Connection Fails
  2. Use Windows Store Certificates
    1. Current User Windows Store Certificates (IPsec only)
    2. Local Computer Windows Store Certificates (IPSec only)
  3. Use Smart Card Certificates
  4. Show Auth Certificates Only
  5. Block IPv6
  6. Enable UDP Checksum
  7. Disable Default Route
  8. Check for Certificate Private Key
  9. Enhanced Key Usage Mandatory

The following options are available in the Creating VPN Tunnel window after clicking the Add Tunnel button in the VPN Tunnels section.

Basic Settings

Name

Enter a VPN name.

Type

Select SSL VPN or IPsec VPN.

Remote Gateway

Enter the IP address/hostname of the remote gateway. Multiple remote gateways can be configured by separating each entry with a semicolon. If one gateway is not available, the VPN will connect to the next configured gateway.

Port

Enter the access port. Available if SSL VPN is selected. The default port is 443.

Require Certificate

Enable to require a certificate. Available if SSL VPN is selected.

Authentication Method

Select the authentication method for the VPN. Available if IPsec VPN is selected.

Pre-Shared Key

Enter the pre-shared key required. Available if Pre-Shared Key is selected for Authentication Method.

Prompt for Username

Enable to prompt for the username when accessing VPN.

VPN Settings

Available if IPsec VPN is selected for the VPN type.

Mode

Select Main or Aggressive.

Options

Select Mode Config, Manual Set, or DHCP over IPsec.

Specify DNS Server (IPv4)

Specify the DNS server for the VPN tunnel. Available if Manual Set is selected.

Assign IP Address (IPv4)

Enter the IP address to assign for the VPN tunnel. Available if Manual Set is selected.

Split Table

Enter the IP address and subnet mask for the VPN tunnel. Available if Manual Set or DHCP over IPsec is selected.

Phase 1

Available if IPsec VPN is selected for the VPN type.

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 two combinations. The remote peer or client must be configured to use at least one of the proposals that you define.

Encryption

Select the encryption standard.

Authentication

Select the authentication method.

DH Groups

Select one or more Diffie-Hellman groups from DH group 1, 2, 5, 14, 15, 16, 17, 18, 19 and 20. 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.

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 key life can be from 120 to 172,800 seconds.

Local ID

Enter the local ID.

Enable Implied SPDO

Enable implied SPDO. Enter the timeout in seconds.

Dead Peer Detection

Select this checkbox to reestablish VPN tunnels on idle connections and clean up dead IKE peers if required.

NAT Traversal

Select the checkbox if a NAT device exists between the client and the local FortiGate unit. The client and the local FortiGate unit must have the same NAT traversal setting (both selected or both cleared) to connect reliably.

Enable Local LAN

Enable local LAN.

Enable IKE Fragmentation

Enable IKE fragmentation.

Phase 2

Available if IPsec VPN is selected for the VPN type.

Select the encryption and authentication algorithms that will be proposed to the remote VPN peer. You can specify up to two proposals. To establish a VPN connection, at least one of the proposals that you specify must match configuration on the remote peer.

Encryption

Select the encryption standard.

Authentication

Select the authentication method.

DH Group

Select one Diffie-Hellman (DH) group (1, 2, 5, 14, 15, 16, 17, 18, 19 or 20). This must match the DH Group that the remote peer or dialup client uses.

Key Life

The Key Life setting sets a limit on the length of time that a phase 2 key can be used. The default units are seconds. Alternatively, you can set a limit on the number of kilobytes (KB) of processed data, or both. If you select both, the key expires when either the time has passed or the number of KB have been processed. When the phase 2 key expires, a new key is generated without interrupting service.

Enable Replay Detection

Replay detection enables the unit to check all IPsec packets to see if they have been received before. If any encrypted packets arrive out of order, the unit discards them.

Enable Perfect Forward Secrecy (PFS)

Select the checkbox to enable Perfect forward secrecy (PFS). PFS forces a new Diffie-Hellman exchange when the tunnel starts and whenever the phase 2 key life expires, causing a new key to be generated each time.

Auto Keep Alive

Enable auto keep alive.

Allow non-administrators to use machine certificates

Enable to allow non-administrator users to use local machine certificates.

Advanced Settings

Enable One-Time Password

Enable one-time password.

Enable XAuth

Enable XAuth.

Prompt for Certificate

Enable to prompt the user for the certificate.

Enable Single User Mode

Enable Single User Mode.

Show Passcode

Enable to remember your password.

Save Username

Enable to save your username.

Show "Remember Password" Option

Enable to have the VPN tunnel remember the password.

Show "Always Up" Option

Enable to have the VPN tunnel always up. This also needs to be enabled on the FortiGate.

Show "Auto Connect" Option

Enable to automatically connect the VPN tunnel. This also needs to be enabled on the FortiGate.

On Connect Script

Enable the on connect script. Enter your script. This also needs to be enabled on the FortiGate.

On Disconnect Script

Enable the disconnect script. Enter your script. This also needs to be enabled on the FortiGate.