ASA Configuration
Configure the ASA Interfaces
=============================
!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address 172.16.200.1 255.255.255.0
no shutdown
!
interface GigabitEthernet0/1
nameif inside
security-level 100
ip address 10.1.100.10 255.255.255.0
no shutdown
!
Configure the IKEv1 Policy and Enable IKEv1 on the Outside Interface
====================================================================
!
crypto ikev1 policy 10
authentication pre-share
encryption aes
hash sha
group 2
lifetime 86400
!
crypto ikev1 enable outside
Configure the Tunnel Group (LAN-to-LAN Connection Profile)
===============================================================
!
tunnel-group 172.16.202.1 type ipsec-l2l
tunnel-group 172.16.202.1 ipsec-attributes
ikev1 pre-shared-key cisco123
!
Configure the ACL for the VPN Traffic of Interest
=====================================================
!
object-group network local-network
network-object 10.1.100.0 255.255.255.0
object-group network remote-network
network-object 172.16.101.0 255.255.255.0
!
access-list asa-router-vpn extended permit ip object-group local-network object-group remote-network
Configure a NAT Exemption
==========================
nat (inside,outside) source static local-network local-network destination static remote-network remote-network no-proxy-arp route-lookup
Configure the IKEv1 Transform Set
=================================
crypto ipsec ikev1 transform-set ESP-AES-SHA esp-aes esp-sha-hmac
Configure a Crypto Map and Apply it to an Interface
=====================================================
crypto map outside_map 10 match address asa-router-vpn
crypto map outside_map 10 set peer 172.16.202.1
crypto map outside_map 10 set ikev1 transform-set ESP-AES-SHA
crypto map outside_map interface outside
default route
=============
ip route 0.0.0.0 0.0.0.0 172.16.200.2
No comments:
Post a Comment