Set Up an IKE Gateway
To set up a VPN tunnel, the VPN peers or gateways must authenticate each other—using pre-shared keys or digital certificates—and establish a secure channel in which to negotiate the IPSec security association (SA) that will be used to secure traffic between the hosts on each side.
- Define the IKE Gateway.
- Select,NetworkNetwork ProfilesIKE GatewaysAdda gateway, and enter the gatewayName(Generaltab).
- Set theVersiontoIKEv1 only mode,IKEv2 only mode, orIKEv2 preferred mode. The IKE gateway begins its negotiation with its peer in the mode you specify here. If you selectIKEv2 preferred mode, the two peers will use IKEv2 if the remote peer supports it; otherwise they will use IKEv1.TheVersionyou select also determines which options are available for you to configure on theAdvanced Optionstab.
- Establish the local endpoint of the tunnel (gateway).
- Select theAddress Type:IPv4orIPv6.
- Select the physical, outgoingInterfaceon the firewall where the local gateway resides.
- From theLocal IP Addressdrop-down, select the IP address that the VPN connection will use as the endpoint; this is the external-facing interface with a publicly routable IP address on the firewall.
- Establish the peer at the far end of the tunnel (gateway).ForPeer IP Address Type, select one of the following and enter the corresponding information for the peer:
- IP—Enter aPeer Addressthat is either an IPv4 or IPv6 address or enter an address object that is an IPv4 or IPv6 address.
- FQDN—Enter aPeer Addressthat is an FQDN string or an address object that uses an FQDN string. If the FQDN or FQDN address object resolves to more than one IP address, the firewall selects the preferred address from the set of addresses that match the Address Type (IPv4 or IPv6) of the IKE gateway as follows:
- If no IKE security association (SA) is negotiated, the preferred address is the IP address with the smallest value.
- If the IKE gateway uses an address that is in the set of returned addresses, the firewall selects that address (whether or not it is the smallest address in the set).
- If the IKE gateway uses an address that isn’t in the set of returned addresses, the firewall selects a new address, and it is the smallest address in the set.
- Dynamic—SelectDynamicif the peer IP address or FQDN value is unknown so that the peer will initiate the negotiation.Using an FQDN or FQDN address object reduces issues in environments where the peer is subject to dynamic IP address changes (and would otherwise require you to reconfigure this IKE gateway peer address).
- Specify how to authenticate the peer.Select theAuthenticationmethod:Pre-Shared KeyorCertificate. If you choose a pre-shared key, proceed to the next step. If you choose a certificate, skip ahead to Configure certificate-based authentication.
- Configure a pre-shared key.
- Enter aPre-shared Key, which is the security key for authentication across the tunnel. Re-enter the value toConfirm Pre-shared Key. Use a maximum of 255 ASCII or non-ASCII characters.Generate a key that is difficult to crack with dictionary attacks; use a pre-shared key generator, if necessary.
- ForLocal Identification, choose from the following types and enter a value that you determine:FQDN (hostname),IP address,KEYID (binary format ID string in HEX), andUser FQDN (email address). Local identification defines the format and identification of the local gateway. If you do not specify a value, the local IP address is used as the local identification value.
- ForPeer Identification, choose from the following types and enter a value that you determine:FQDN (hostname),IP address,KEYID (binary format ID string in HEX), andUser FQDN (email address). Peer identification defines the format and identification of the peer gateway. If you do not specify a value, the peer IP address is used as the peer identification value.
- Proceed to Step 7 and continue from there.
- Configure certificate-based authentication.Perform the remaining steps in this procedure if you selectedCertificateas the method of authenticating the peer gateway at the opposite end of the tunnel.
- Select aLocal Certificate—one that is already on the firewall—from the drop-down,Importa certificate, orGeneratea new certificate.
- (Optional) Enable (select) theHTTP Certificate Exchangeto configure Hash and URL (IKEv2 only). For an HTTP certificate exchange, enter theCertificate URL. For more information, see Hash and URL Certificate Exchange.
- Select theLocal Identificationtype—Distinguished Name (Subject), FQDN (hostname),IP address, orUser FQDN (email address)—and then enter the value. Local identification defines the format and identification of the local gateway.
- Select thePeer Identificationtype—Distinguished Name (Subject), FQDN (hostname),IP address, orUser FQDN (email address)—and then enter the value. Peer identification defines the format and identification of the peer gateway.
- Specify the type ofPeer ID Check:
- Exact—Ensures that the local setting and peer IKE ID payload match exactly.
- Wildcard—Allows the peer identification to match as long as every character before the wildcard (*) matches. The characters after the wildcard need not match.
- (Optional)Permit peer identification and certificate payload identification mismatchto allow a successful IKE SA even when the peer identification does not match the peer identification in the certificate.
- Choose aCertificate Profilefrom the drop-down. A certificate profile contains information about how to authenticate the peer gateway.
- (Optional)Enable strict validation of peer’s extended key useto strictly control how the key can be used.
- Configure advanced options for the gateway.
- (Optional)Enable Passive Modein the Common Options () to specify that the firewall only respond to IKE connection requests and never initiate them.Advanced Options
- If you have a device performing NAT between the gateways,Enable NAT Traversalto use UDP encapsulation on IKE and UDP protocols, which enables them to pass through intermediate NAT devices.
- If you configuredIKEv1 only modein step 1, then, on the IKEv1 tab:
- Select theExchange Mode:auto,aggressive, ormain. When set a firewall to useautoexchange mode, it can accept bothmainmode andaggressivemode negotiation requests; however, when possible, it will initiate exchanges inmainmode.If you do not set the exchange mode toauto, then you must configure both peers with the same exchange mode to allow each peer to accept negotiation requests.
- (Only when using certificate-based authentication and when exchange mode is not set to aggressive mode) ClickEnable Fragmentationto enable the firewall to operate with IKE Fragmentation.
- ClickDead Peer Detectionand enter anInterval(range is 2 to 100 seconds). ForRetry, define the time to delay (range is 2 to 100 seconds) before attempting to re-check availability. Dead peer detection identifies inactive or unavailable IKE peers by sending an IKE phase 1 notification payload to the peer and waiting for an acknowledgment.
- If you configuredIKEv2 only modeorIKEv2 preferred modein step 1, then on the IKEv2 tab:
- Select anIKE Crypto Profilefrom the drop-down, which configures IKE Phase 1 options such, as the DH group, hash algorithm, and ESP authentication. For information about IKE crypto profiles, see IKE Phase 1.
- (Optional)Enable Liveness Checkand enter anInterval (sec)(default is 5) if you want to have the gateway send a message request to its gateway peer, requesting a response. If necessary, the Initiator attempts the liveness check as many as 10 times. If it doesn’t get a response, the Initiator closes and deletes the IKE_SA and CHILD_SA. The Initiator will start over by sending out another IKE_SA_INIT.
- ClickOKandCommityour changes.
Recommended For You
Recommended videos not found.