Devo fare una normalissima VPN site to site, ho configurato tutto e mi pare che non ci siano errori. Sono 2 settimane che provo in tutti i modi ma forse c'è qualcosa che mi sfugge... sicuramente una banalità ci scommetto.
Vi posto le due configurazioni sperando come ultima risorsa in un'aiutino da parte vostra! grazie in anticipo
Cisco 857: (Una parte è stata configurata dal tecnico telecom e non ho osato toccarla.. non capisco perchè ho 2 indirizzi ip nella vlan1!! forse il prob è qui?)
Codice: Seleziona tutto
Current configuration : 4275 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname rieti
!
boot-start-marker
boot-end-marker
!
no logging on
enable secret 5 ************
enable password 7 **********
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
!
aaa session-id common
clock timezone PCTime 1
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
!
crypto pki trustpoint TP-self-signed-2247734706
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2247734706
revocation-check none
rsakeypair TP-self-signed-2247734706
!
!
crypto pki certificate chain TP-self-signed-2247734706
certificate self-signed 01
3082024D 308201B6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32323437 37333437 3036301E 170D3032 30333036 30313233
34395A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 32343737
33343730 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100B554 75EBA501 08FCF975 8715D48F 372BBED0 77FF1251 ABC9DF3A 4B2A64E1
671BFB57 2651E9AD D10DE51D 46440A98 F4E28A0F 3FFBF9DC B147F221 F9EF3929
0E9DE365 F7E5AE9B CA8202CD BEBF5B0C D1F5AA3F C5A05C36 AEC48E67 B492C04D
D15FFC6D FFDD7734 7B3E580D F610A2D8 280D7A4C AEAD5C91 32CFB15B 2CB0DA29
70D50203 010001A3 75307330 0F060355 1D130101 FF040530 030101FF 30200603
551D1104 19301782 15726965 74692E6D 61737369 6E656C6C 6976702E 6974301F
0603551D 23041830 16801483 7D5E4CCC EAD9E089 E0B1297A 806C0810 05F42330
1D060355 1D0E0416 0414837D 5E4CCCEA D9E089E0 B1297A80 6C081005 F423300D
06092A86 4886F70D 01010405 00038181 0076A074 3CC5A2DB 278FF15D F86EAF9C
05674A77 0086100F 1270A8D5 3D1BBE94 6D96F626 65D1B73F 85C02DDA AB0AB2A9
5BC69862 06AB6BEB 393E5F4A E2999407 D9B80463 FF9B3F1B D097C6B6 C1787972
2A2AB2A2 6F197613 C08DBCE2 85CE8CB0 A288C5D2 2F1FEF6A 2AB4F304 E3FC628A
3708A7E3 AC34F10E 81D4E61E 959FF152 30
quit
dot11 syslog
!
!
ip cef
no ip domain lookup
ip domain name nomeinventato.it
!
!
!
username francesco privilege 15 secret 5 ********
username <myuser> privilege 15 secret 5 *****
!
!
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key kiave address 2.2.2.246 no-xauth
!
!
crypto ipsec transform-set VPN-SET esp-3des esp-md5-hmac
!
!
!
!
!
crypto map masvpn local-address ATM0.1
crypto map masvpn 1 ipsec-isakmp
set peer 1.1.1.26
set transform-set VPN-SET
match address 101
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 2.2.2.246 255.255.255.252
ip nat outside
ip virtual-reassembly
pvc 8/35
encapsulation aal5snap
!
crypto map masvpn
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$$ES_LAN$$FW_INSIDE$
ip address 192.168.1.252 255.255.255.0 secondary
ip address 94.x.x.25 255.255.255.248 !<---- a che serve???? fatto dal tecnico telecom
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 ATM0.1
!
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
ip nat pool ibs 94.x.x.26 94.x.x.26 netmask 255.255.255.248 !<--- telecom
ip nat inside source list 102 pool ibs overload <--- telecom
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 101 permit ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 102 deny ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
!
snmp-server community your_community RW
no cdp run
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
privilege level 15
transport input telnet ssh
!
scheduler max-task-time 5000
Router 851: (questo ci ho messo le mani solo io)
Codice: Seleziona tutto
Current configuration : 3989 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname perugia
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 ******
enable password 7 ********
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
!
aaa session-id common
!
crypto pki trustpoint TP-self-signed-1794011050
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1794011050
revocation-check none
rsakeypair TP-self-signed-1794011050
!
!
crypto pki certificate chain TP-self-signed-1794011050
certificate self-signed 01
30820250 308201B9 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31373934 30313130 3530301E 170D3032 30333031 30363436
34335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 37393430
31313035 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100C015 723C19D8 2A37EAEB ADD109F0 E9A40515 FFC4005F A2CB6EEA AC810C22
C3061403 8780AA12 E08DD4F6 8C202ED5 F7B1A845 62722530 DF10ADFB 91C7676D
40C3331D 73532857 D99E697F E892B876 00E15617 43D79B89 F65530B7 7C073CA3
52F839AE 19CEE2E7 3A77A7F6 CECA21C6 6C221312 D16F4F77 7E3FC41F 54264710
BEF30203 010001A3 78307630 0F060355 1D130101 FF040530 030101FF 30230603
551D1104 1C301A82 18706572 75676961 2E6D6173 73696E65 6C6C6976 706E2E69
74301F06 03551D23 04183016 801413F0 16B87F9D C9CF7484 0FA61B46 24DC0837
D918301D 0603551D 0E041604 1413F016 B87F9DC9 CF74840F A61B4624 DC0837D9
18300D06 092A8648 86F70D01 01040500 03818100 2B644CA0 902BD3D6 AEAB0E24
55F270E5 C65A4416 24538E4E BCAF4F8E D3DF1481 49E5B3D8 8867ACD6 A463D217
12F876D5 20D54662 E3E47459 56199703 83121BD7 839A1F4D 63DB4348 A13C5709
BC349054 8EDBA1AE F130AE24 B6E5C09F 063E9FF1 69726620 9096F37A F829E45B
8A6F6B34 82FF9429 101594C4 3AB1D82C 227B1C86
quit
dot11 syslog
!
!
ip cef
no ip domain lookup
ip domain name dominioinventato.it
!
!
!
username francesco privilege 15 secret 5 $1*******
!
!
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key kiave address 1.1.1.26 no-xauth
!
!
crypto ipsec transform-set VPN-SET esp-3des esp-md5-hmac
!
crypto map masvpn local-address FastEthernet4
crypto map masvpn 1 ipsec-isakmp
set peer 2.2.2.246
set transform-set VPN-SET
match address 101
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description $ETH-WAN$$ES_WAN$
ip address 1.1.1.26 255.255.255.248
ip nat outside
ip virtual-reassembly
speed auto
half-duplex
crypto map masvpn
!
interface Vlan1
description LAN
ip address 192.168.0.253 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 1.1.1.30 !<---- questo è il gateway fornitomi dall'isp, non è che ci sia nessun router in cascata
!
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
ip nat inside source list 102 interface FastEthernet4 overload
!
logging trap notifications
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 101 permit ip 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 101 remark ACL per TUNNEL IPSEC
access-list 102 deny ip 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.200
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
access-list 102 remark ACL per PAT
no cdp run
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
transport input telnet ssh
!
scheduler max-task-time 5000
end