1version 12.2
2service timestamps debug datetime msec
3service timestamps log datetime msec
4no service password-encryption
5
6! bla bla
7hostname R-site2
8
9logging queue-limit 100
10no logging console
11enable secret 5 $1$UzZM$BTdJlwFCg63tUdyLmq6cr0
12
13username admin password 0 Yas!8^VB5q$yZ53C35#nC
14ip subnet-zero
15
16no ip domain lookup
17ip domain name solea2.local
18ip dhcp excluded-address 10.1.22.200 10.1.22.254
19
20ip dhcp pool Administrateur
21   network 10.1.10.0 255.255.255.0
22   dns-server 8.8.8.8
23   default-router 10.1.10.254
24
25crypto map VPNSOLEA 20 ipsec-isakmp
26 set peer 192.168.141.4
27 set transform-set SETVPN
28 match address 110
29
30interface FastEthernet0/0.22
31 encapsulation dot1Q 22
32 ip address 10.1.22.254 255.255.255.0
33 ip nat inside
34
35access-list 110 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255
36
37route-map nonat permit 20
38 match ip address 150
39
40line con 0
41 password 57vmLD3
42line aux 0
43line vty 0 4
44 login local
45 transport input ssh
46line vty 5 15
47 login local
48 transport input ssh
49