Secnario:Typical site-to-site / LAN-to-LAN VPN tunnel between the respective inside networks of two PIX 7.X devices.
Topology:10.10.1.0 ---- ThisPIX ========= OtherPix ---- 10.10.2.0
ThisPix.inside = 10.10.1.1
ThisPix.outside = 192.168.10.2
OtherPix.inside = 10.10.2.0
OtherPix.outside = 192.168.10.1
VPN Tunnel between 10.10.1.0/24 and 10.10.2.0/24
Configuration: [The following only includes the configuration for the "ThisPix" device. The configuration of the "OtherPix" should be the "mirror-image" of that of "ThisPix" (that is, source address becomes destination address, and vice versa, while others, such as the PHASE1 properties are the same).]
[Also, note that several syntax changes have been made from one version to another. It is best to consult the "Command Reference Guide" for the PIX/ASA version running and/or use the "?" command from the command prompt.
PIX 7.0:access-list NONAT extended permit ip 10.10.1.0 255.255.255.0 10.10.2.0 255.255.255.0access-list VPN20 extended permit ip 10.10.1.0 255.255.255.0 10.10.2.0 255.255.255.0
nat (inside) 0 access-list NONAT
sysopt connection permit-ipsec
crypto ipsec transform-set MY-ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto map OUTSIDE_MAP 20 match address VPN20crypto map OUTSIDE_MAP 20 set peer 192.168.10.1crypto map OUTSIDE_MAP 20 set transform-set MY-ESP-AES-256-SHA
isakmp nat-traversalisakmp identity address
isakmp policy 10 authentication pre-shareisakmp policy 10 encryption aes-256isakmp policy 10 hash shaisakmp policy 10 group 5isakmp policy 10 lifetime 86400
tunnel-group 192.168.10.1 type ipsec-l2ltunnel-group 192.168.10.1 ipsec-attributes pre-shared-key CISCO
crypto map OUTSIDE_MAP interface outsideisakmp enable outsidePIX 7.2:access-list NONAT extended permit ip 10.10.1.0 255.255.255.0 10.10.2.0 255.255.255.0access-list VPN20 extended permit ip 10.10.1.0 255.255.255.0 10.10.2.0 255.255.255.0
nat (inside) 0 access-list NONAT
sysopt connection permit-vpn
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto map OUTSIDE_MAP 20 match address VPN20crypto map OUTSIDE_MAP 20 set peer 192.168.10.1crypto map OUTSIDE_MAP 20 set transform-set ESP-AES-256-SHA
isakmp nat-traversalisakmp identity addressisakmp policy 10 authentication pre-share encryption aes-256 hash sha group 5 lifetime 86400
tunnel-group 192.168.10.1 type ipsec-l2ltunnel-group 192.168.10.1 ipsec-attributes pre-shared-key CISCO
crypto map OUTSIDE_MAP interface outsideisakmp enable outsideReference:http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00805a87f7.shtml