430 likes | 585 Views
Network Security 2. Module 4: Configuring Site to Site VPN with Pre-shared keys. Module 4: Configuring Site to Site VPN with Pre-shared keys. Lesson 4.4 Test and Verify the IPSec Configuration of the Router. Step 2 – Create IKE policies.
E N D
Network Security 2 Module 4: Configuring Site to Site VPN with Pre-shared keys
Module 4: Configuring Site to Site VPN with Pre-shared keys Lesson 4.4 Test and Verify the IPSec Configuration of the Router
The peer that initiates the negotiation sends all its policies to the remote peer, and the remote peer tries to find a match with its policies
Configure a VPN using SDM • Select VPN Wizard
SDM Home Page ‘Configure’ icon About your router Configuration overview
VPN Configuration To select and start a VPN wizard, follow this procedure: Click the Configure icon in the top horizontal navigation bar of the Cisco SDM main page (previous) to enter the configuration page Click VPN icon in the left vertical navigation bar to open the VPN page. Choose one of the available VPN wizards from the list. The example on the next slide shows the screen that appears when you choose the Site to Site VPN wizard from the list. Here you can create two types of site-to-site VPNs: classic and generic routing encapsulation (GRE) over IPsec
VPN Configuration Page 1. 3. Wizards for IPsec solutions Individual IPsec components 2.
Site-to-Site VPN Components VPN wizards use two sources to create a VPN connection: User input during the step-by-step wizard process Preconfigured VPN components SDM provides some default VPN components: Two IKE policies IPsec transform set for Quick Setup wizard Other components are created by the VPN wizards.
Site-to-Site VPN Components (Continued) Two main components: IPsec IKE Individual IPsec components used to build VPNs
Starting SDM SDM can be started on a router by entering the IP address of the router in a browser If SDM has been installed on the PC, start it by double-clicking the SDM shortcut or by choosing it from the program menu (Start > Programs > Cisco Systems > Cisco SDM) and enter the IP address of the router. SDM Launcher SDM Launch Page
Selecting the Quick Setup or Step-by-Step Configuration Wizard – Step 2 2a. 2b. 3.
Step-by-Step Setup Multiple steps are required to configure the VPN connection: Defining connection settings: Outside interface, peer address, authentication credentials Defining IKE proposals: Priority, encryption algorithm, HMAC, authentication type, Diffie-Hellman group, lifetime Defining IPsec transform sets: Encryption algorithm, HMAC, mode of operation, compression Defining traffic to protect: Single source and destination subnets,ACL Reviewing and completing the configuration
Configuring Connection Settings 1. 2. 3. 4.
Configuring IKE Proposals 1. 2. 3.
Configuring the Transform Set 1. 2. 3.
Defining What Traffic to Protect: Simple Mode (Single Source and Destination Subnet) 1. 3. 2.
Adding Rules to ACLs 1. 2.
Configuring a New ACL Rule Entry 1. 2. 3.
Monitor Tunnel Operation 1. 3. 2.
Test, Monitor, and Troubleshoot Tunnel Configuration and Operation router# show crypto isakmp sa • To display all current IKE security associations (SAs), use the router# show crypto ipsec sa • To display the settings used by current SAs, use the show crypto
Encryption and Decryption Statistics Router2#sh crypto ipsec sa interface: FastEthernet0/0 Crypto map tag: mikesmap, local addr. 172.30.2.2 protected vrf: local ident (addr/mask/prot/port): (10.0.2.0/255.255.255.0/0/0) remote ident (addr/mask/prot/port): (10.0.1.0/255.255.255.0/0/0) current_peer: 172.30.1.2:500 PERMIT, flags={origin_is_acl,} #pkts encaps: 15, #pkts encrypt: 15, #pkts digest 0 #pkts decaps: 15, #pkts decrypt: 15, #pkts verify 0 #pkts compressed: 0, #pkts decompressed: 0 #pkts not compressed: 0, #pkts compr. failed: 0 #pkts not decompressed: 0, #pkts decompress failed: 0 #send errors 0, #recv errors 0 local crypto endpt.: 172.30.2.2, remote crypto endpt.: 172.30.1.2 path mtu 1500, ip mtu 1500, ip mtu idb FastEthernet0/0 current outbound spi: 938FF981 etc etc etc……….. From a working tunnel!
Troubleshooting router# debug crypto isakmp • Debugs IKE communication • Advanced troubleshooting uses the Cisco IOS CLI • Requires knowledge of Cisco IOS CLI commands