Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

PROJET 2 A

Configuration HQ-ASA

# int g0/1

# nameif outside

# ip address 100.1.1.1 255.255.255.0

# no sh

# int g0/0

# nameif inside

# ip address 192.168.2.1 255.255.255.0

# no sh

# route outside 0.0.0.0 0.0.0.0 100.1.1.2

# policy-map global_policy

# class inspection_default

# inspect icmp

# object network lan

# subnet 192.168.1.0 255.255.255.0

# nat (inside,outside) dynamic interface

# object network remote_lan

# subnet 172.16.1.0 255.255.255.0

# crypto ikev1 enable outside

# access-list outside_1 permit ip object lan object remote_lan

# tunnel-group DefaultL2LGroup type ipsec-l2l

# tunnel-group DefaultL2LGroup ipsec-attributes

# ikev1 pre-shared key cisco # isakmp keepalive threshold 10 retry 2

# crypto ikev1 policy 10

# authentication pre-share

# encryption aes

# hash md5

# group 2

# lifetime 86400

#crypto ipsec ikev1 transform-set nor esp-aes esp-md5-hmac


#crypto dynamic-map dmap 10 set ikev1 transform-set nor

#crypto dynamic-map dmap 10 match address outside_1

#crypto dynamic-map dmap 10 set pfs group1

#crypto map map 10 ipsec-isakmp dynamic dmap

#crypto map map interface outside #nat (inside,outside) 1 source static lan lan destination static
remote_lan remote_lan

Configuration REMOTE-ASA

# int g0/1

# nameif outside

# ip address 200.1.1.1 255.255.255.0

# no sh

# int g0/0

# nameif inside

# ip address 172.16.2.1 255.255.255.0

# no sh

# route outside 0.0.0.0 0.0.0.0 200.1.1.2

# policy-map global_policy

# class inspection_default

# inspect icmp

# service-policy global_policy global

# object network lan # subnet 172.16.1.0 255.255.255.0

# nat (inside,outside) dynamic interface

# object network remote_lan

# subnet 192.168.1.0 255.255.255.0

# crypto ikev1 enable outside

# access-list outside_1 permit ip object lan object remote_lan

# tunnel-group 100.1.1.1 type ipsec-l2l

# tunnel-group 100.1.1.1 ipsec-attributes

# ikev1 pre-shared key cisco

# isakmp keepalive threshold 10 retry 2


# crypto ikev1 policy 10

# authentication pre-share

# encryption aes

# hash md5

# group 2

# lifetime 86400

# crypto ipsec ikev1 transform-set set esp-aes esp-md5-hmac

# crypto map map 10 match address outside_1

# crypto map map 10 set peer 100.1.1.1

# crypto map map 10 set pfs group1

# crypto map map 10 set ikev1 transform-set set

# crypto map map interface outside

# nat (inside,outside) 1 source static lan lan destination static remote_lan remote_lan

You might also like