J'ai évolué dans ma problématique! J'arrive maintenant du réseau local à pinguer un pc sur le réseau distant.
Mon VPN est donc opérationnel.
Simplement pour y arrivé j'ai un peu ouvert en grand les porte en mettant comme acl :
access-list 100 ip permit any any
Cela fonctionne naturellement mais la sécurité n'est pas se qu'il y a de mieux.
Se qui est curieux c'est que mes deux autres lignes sont necessaire pour que le VPN fonctionne bien !! (pourtant any any devrai duffir !)
access-list 100 permit ip host 217.1.1.1 host 217.1.1.4
access-list 100 permit ip 130.1.0.0 0.0.255.255 172.16.0.0 0.0.255.255
voici le schéma de mon installation :
http://www.monsterup.com/image.php?url=upload/1210685866.jpg
configuration du routeur 1 :
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname routeur1
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
!
ip domain name yourdomain.com
!
!
crypto pki trustpoint TP-self-signed-1122177087
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1122177087
revocation-check none
rsakeypair TP-self-signed-1122177087
!
!
crypto pki certificate chain TP-self-signed-1122177087
certificate self-signed 01 nvram:IOS-Self-Sig#3703.cer
username admin privilege 15 secret 5 ***
!
!
!
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key key address 217.1.1.3
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
!
crypto map MAP 1 ipsec-isakmp
description Tunnel
set peer 217.1.1.3
set transform-set ESP-3DES-SHA
match address 100
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description $INTF-INF-FE 4$$ETH-WAN$
ip address 217.1.1.1 255.255.255.252
ip flow ingress
ip flow egress
duplex auto
speed auto
crypto map MAP
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-VLAN 1$$ETH-LAN$
ip address 130.1.1.31 255.255.0.0
ip broadcast-address 0.0.0.0
ip flow ingress
ip flow egress
!
ip classless
ip route 0.0.0.0 0.0.0.0 217.1.1.2
ip route 130.1.0.0 255.255.0.0 FastEthernet0
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 3600 requests 1000
!
!
access-list 100 permit ip host 217.1.1.1 host 217.1.1.4
access-list 100 permit ip 130.1.0.0 0.0.255.255 172.16.0.0 0.0.255.255
access-list 100 permit ip any any
no cdp run
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
scheduler allocate 20000 1000
end
configuration du routeur 2 :
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname routeur 2
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
!
ip domain name yourdomain.com
!
!
crypto pki trustpoint TP-self-signed-1577902959
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1577902959
revocation-check none
rsakeypair TP-self-signed-1577902959
!
!
crypto pki certificate chain TP-self-signed-1577902959
certificate self-signed 01 nvram:IOS-Self-Sig#3902.cer
username admin privilege 15 secret 5 ***
!
!
!
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key key address 217.1.1.2
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
!
crypto map MAP 1 ipsec-isakmp
description Tunnel to ATHIC
set peer 217.1.1.2
set transform-set ESP-3DES-SHA
match address 100
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description $INTF-INF-FE 4$$ETH-WAN$
ip address 217.1.1.4 255.255.255.252
ip flow ingress
ip flow egress
duplex auto
speed auto
crypto map MAP
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address 172.16.13.2 255.255.0.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 217.1.1.3
ip route 172.16.0.0 255.255.0.0 FastEthernet0
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
access-list 100 permit ip host 217.1.1.4 host 217.1.1.1
access-list 100 permit ip 172.16.0.0 0.0.255.255 130.1.0.0 0.0.255.255
access-list 100 permit any any
no cdp run
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
scheduler allocate 20000 1000
end