Authenticating the FortiGate unit
The FortiGate unit can authenticate itself to remote peers or dialup clients using either a pre-shared key or an RSA Signature (certificate).
Digital certificates
To authenticate the FortiGate unit using digital certificates, you must have the required certificates installed on the remote peer and on the FortiGate unit. The signed server certificate on one peer is validated by the presence of the root certificate installed on the other peer. If you use certificates to authenticate the FortiGate unit, you can also require the remote peers or dialup clients to authenticate using certificates.
Authenticating the FortiGate unit using digital certificates
- Go to VPN > IPsec Tunnels and create the new custom tunnel or edit an existing tunnel.
- Edit the Phase 1 Proposal (if it is not available, you may need to click the Convert to Custom Tunnel button):
- If you are configuring authentication parameters for a dialup user group, optionally define extended authentication (XAuth) parameters in the Advanced section. See Using XAuth authentication.
- Select OK.
Name |
Enter a name that reflects the origination of the remote connection. For interface mode, the name can be up to 15 characters long. |
Remote Gateway |
Select the nature of the remote connection. |
Local Interface |
Select the interface that is the local end of the IPsec tunnel. For more information, see Defining the tunnel ends. The local interface is typically the WAN1 port. |
Mode |
Select a mode. It is easier to use Aggressive mode. |
Authentication Method |
Select Signature. |
Certificate Name |
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. |
Peer Options |
Peer options define the authentication requirements for remote peers or dialup clients. They are not for your FortiGate unit itself. |
Advanced |
You can use the default settings for most Phase 1 configurations. Changes are required only if your network requires them. These settings includes IKE version, DNS server, P1 proposal encryption and authentication settings, and XAuth settings. See Defining IKE negotiation parameters. |
Pre-shared key
One method of authenticating a FortiGate unit to its remote peers or dialup clients is by means of a pre-shared key. This is less secure than using certificates, especially if it is used alone, without requiring peer IDs or extended authentication (XAuth). Also, you need to have a secure way to distribute the pre-shared key to the peers.
If you use pre-shared key authentication alone, all remote peers and dialup clients must be configured with the same pre-shared key. Optionally, you can configure remote peers and dialup clients with unique pre-shared keys. On the FortiGate unit, these are configured in user accounts, not in the phase_1 settings. For more information, see Enabling VPN access with user accounts and pre-shared keys.
The pre-shared key must contain at least 6 printable characters and best practices dictate that it be known only to network administrators. For optimum protection against currently known attacks, the key must consist of a minimum of 16 randomly chosen alphanumeric characters.
If you authenticate the FortiGate unit using a pre-shared key, you can require remote peers or dialup clients to authenticate using peer IDs, but not client certificates.
Authenticating the FortiGate unit with a pre-shared key
- Go to VPN > IPsec Tunnels and create the new custom tunnel or edit an existing tunnel.
- Edit the Phase 1 Proposal (if it is not available, you may need to click the Convert to Custom Tunnel button):
- If you are configuring authentication parameters for a dialup user group, optionally define extended authentication (XAuth) parameters. See Using XAuth authentication.
- Select OK.
Name |
Enter a name that reflects the origination of the remote connection. |
Remote Gateway |
Select the nature of the remote connection. For more information, see Defining the tunnel ends. |
Local Interface |
Select the interface that is the local end of the IPsec tunnel. For more information, see Defining the tunnel ends. The local interface is typically the WAN1 port. |
Mode |
Select Main or Aggressive mode. |
Authentication Method |
Select Pre-shared Key. |
Pre-shared Key |
Enter the preshared 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 value at the remote peer or client. The key must contain at least 6 printable characters and best practices dictate that it only be known by network administrators. For optimum protection against currently known attacks, the key must consist of a minimum of 16 randomly chosen alphanumeric characters. |
Peer options |
Peer options define the authentication requirements for remote peers or dialup clients, not for the FortiGate unit itself. You can require the use of peer IDs, but not client certificates. For more information, see Authenticating remote peers and clients. |
Advanced |
You can retain the default settings unless changes are needed to meet your specific requirements. See Defining IKE negotiation parameters. |