Beste tweakers,
Ik ben nu al 3 avonden aanhet stoeien (shame) om bij mij thuis een site to site ipsec verbinding op te zetten tussen 2 Cisco 877 ADSL POTS routers. De tunnel komt netjes up en je ziet ook daadwerkelijk dat er verkeer overheen WIL, maar ik krijg geen reactie aan de andere kant.
Hierbij de 2 configs:
Wie o wie kan mij uit m'n lijden verlossen
?
Ik ben nu al 3 avonden aanhet stoeien (shame) om bij mij thuis een site to site ipsec verbinding op te zetten tussen 2 Cisco 877 ADSL POTS routers. De tunnel komt netjes up en je ziet ook daadwerkelijk dat er verkeer overheen WIL, maar ik krijg geen reactie aan de andere kant.
Hierbij de 2 configs:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
| Router1#sh run Building configuration... Current configuration : 2598 bytes ! ! Last configuration change at 21:45:31 gmt Thu Jan 8 2009 by admin ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname Router1 ! boot-start-marker boot system flash c870-advipservicesk9-mz.124-22.T.bin boot-end-marker ! logging message-counter syslog ! no aaa new-model clock timezone gmt 1 ! ! dot11 syslog ip source-route ! ! no ip dhcp use vrf connected ip dhcp excluded-address 192.168.10.0 192.168.10.10 ! ip dhcp pool Router1 network 192.168.10.0 255.255.255.0 dns-server 195.18.114.5 default-router 192.168.10.1 lease 3 ! ! ip cef ip domain name dmn01.local ip name-server 195.18.114.5 no ipv6 cef ! multilink bundle-name authenticated ! ! ! username admin privilege 15 password 7 xxxxxxxxxxx ! ! crypto isakmp policy 10 encr 3des hash md5 authentication pre-share group 2 crypto isakmp key cisco123 address xxxxxxxxxxx ! ! crypto ipsec transform-set myset esp-3des esp-md5-hmac ! crypto map mymap 1 ipsec-isakmp description ****** Link to Router2 ****** set peer xxxxxxxxxxx set security-association lifetime seconds 86400 set transform-set myset set pfs group2 match address 100 ! archive log config hidekeys ! ! ! ! ! interface ATM0 no ip address no atm ilmi-keepalive pvc 0/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface Vlan1 ip address 192.168.10.1 255.255.255.0 ip nat inside ip virtual-reassembly ! interface Dialer0 ip address negotiated no ip unreachables ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 ppp pap sent-username xxxxxxxxxxx password 7 xxxxxxxxxxx crypto map mymap ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 xxxxxxxxxxx no ip http server no ip http secure-server ! ! ip nat inside source route-map nonat interface Dialer0 overload ! access-list 100 remark ****** Link to Router2 ****** access-list 100 permit ip 192.168.10.0 0.0.0.255 172.16.10.0 0.0.0.255 access-list 101 remark ****** NAT ACL ****** access-list 101 deny ip 192.168.10.0 0.0.0.255 172.16.10.0 0.0.0.255 access-list 101 permit ip 192.168.10.0 0.0.0.255 any ! ! ! ! route-map nonat permit 10 match ip address 101 ! ! control-plane ! ! line con 0 logging synchronous login local no modem enable line aux 0 line vty 0 4 exec-timeout 120 0 logging synchronous login local transport input ssh transport output ssh ! scheduler max-task-time 5000 ntp server 145.24.129.6 end |
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
| Router2#sh run Building configuration... Current configuration : 2643 bytes ! ! Last configuration change at 21:21:56 gmt Thu Jan 8 2009 by admin ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname Router2 ! boot-start-marker boot system flash c870-advipservicesk9-mz.124-22.T.bin boot-end-marker ! logging message-counter syslog no logging buffered ! no aaa new-model clock timezone gmt 1 ! ! dot11 syslog ip source-route ! ! no ip dhcp use vrf connected ip dhcp excluded-address 172.16.10.0 172.16.10.10 ! ip dhcp pool Router2 network 172.16.10.0 255.255.255.0 dns-server 195.18.114.5 default-router 172.16.10.1 lease 3 ! ! ip cef ip domain name dmn01.local ip name-server 195.18.114.5 no ipv6 cef ! multilink bundle-name authenticated ! ! ! username admin privilege 15 password 7 xxxxxxxxxxx ! ! crypto isakmp policy 10 encr 3des hash md5 authentication pre-share group 2 crypto isakmp key cisco123 address xxxxxxxxxxx ! ! crypto ipsec transform-set myset esp-3des esp-md5-hmac ! crypto map mymap 2 ipsec-isakmp description ****** Link to Router1 ****** set peer xxxxxxxxxxx set security-association lifetime seconds 86400 set transform-set myset set pfs group2 match address 100 ! archive log config hidekeys ! ! ! ! ! interface ATM0 no ip address no atm ilmi-keepalive pvc 0/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface Vlan1 ip address 172.16.10.1 255.255.255.0 ip nat inside ip virtual-reassembly ! interface Dialer0 ip address negotiated no ip unreachables ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 ppp pap sent-username user0@alice.nl password 7 xxxxxxxxxxx crypto map mymap ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 Dialer0 ip http server ip http authentication local no ip http secure-server ! ! ip nat inside source route-map nonat interface Dialer0 overload ! access-list 100 remark ****** Link to Router1 ****** access-list 100 permit ip 172.16.10.0 0.0.0.255 192.168.10.0 0.0.0.255 access-list 101 remark ****** NAT ACL ****** access-list 101 deny ip 172.16.10.0 0.0.0.255 192.168.10.0 0.0.0.255 access-list 101 permit ip 172.16.10.0 0.0.0.255 any ! ! ! ! route-map nonat permit 10 match ip address 101 ! ! control-plane ! ! line con 0 logging synchronous login local no modem enable line aux 0 line vty 0 4 exec-timeout 120 0 logging synchronous login local transport input ssh transport output ssh ! scheduler max-task-time 5000 ntp server 85.17.201.68 end |
Wie o wie kan mij uit m'n lijden verlossen