Cisco IPsec VPN Parts and Pieces

The ASA uses the ISAKMP and IPsec tunneling standards to build and manage tunnels. ISAKMP and IPsec accomplish the following: 

—————————————-
IKE (Internet Key Exchange)
, also known as ISAKMP (Internet Security Association and Key Management Protocol), is the negotiation protocol that lets two hosts agree on how to build an IPsec security association. ISAKMP separates negotiation into two phases: Phase 1 and Phase 2. 

To set the terms of the ISAKMP negotiations, you create an ISAKMP policy, which includes the following:

—————————————-

A security association (SA) is a term used to generalize the IPsec connection parameters as a whole. An SA is a relationship between two or more entities that describes how the entities will use security services to communicate securely.

—————————————-
NAT-T
lets IPsec peers establish a connection through a NAT device. It does this by encapsulating IPsec traffic in UDP datagrams, using port 4500, thereby providing NAT devices with port information. NAT-T auto-detects any NAT devices, and only encapsulates IPsec traffic when necessary. This feature is disabled by default. IPsec was not designed to work through NAT so that is where NAT-Traversal comes in.

To enable NAT-T use the following command: crypto isakmp nat-traversal

—————————————-
A transform set is a combination of security protocols and algorithms that define how the ASA protects data. 

During the IPsec security association negotiation with ISAKMP, the peers agree to use a particular transform set to protect a particular data flow.

The transform set must be the same for both peers.

 

—————————————-
A tunnel group is a set of records that contain tunnel connection policies. You configure a tunnel group to identify AAA servers, specify connection parameters, and define a default group policy.

 

—————————————-
To configure IP address pools to use for VPN remote access tunnels, enter the ip local pool command in global configuration mode.

—————————————-
Crypto maps
define the IPsec policy to be negotiated in the IPsec SA. They include the following:

—————————————-
A dynamic crypto map is a crypto map without all of the parameters configured. It acts as a policy template where the missing parameters are later dynamically learned, as the result of an IPsec negotiation, to match the peer requirements. The ASA applies a dynamic crypto map to let a peer negotiate a tunnel if its IP address is not already identified in a static crypto map. This occurs with the following types of peers:

Dynamic crypto maps can ease IPsec configuration and we recommend them for use in networks where the peers are not always predetermined. Use dynamic crypto maps for Cisco VPN clients (such as mobile users) and routers that obtain dynamically assigned IP addresses.

—————————————-
Split tunneling
controls what traffic is or isn’t protected by the tunnel. By default, all VPN traffic is forced to route to the ASA first. By configuring split tunneling we can allow our users to use their Internet connection to browse the web, instead of their traffic hitting the ASA and then going to the Internet. This filters only the traffic that needs to travel to the corporate network.

  1. iprefertolaugh posted this