Non avendo alcuna esperienza di IOS, ho seguito la procedura guidata di VPN easy server ed ho effettuato la configurazione. Effettuato il test, mi dice che è tutto a posto e tutti i test vengono superati con successo, ma non riesco ad effettuare la connessione.
Il mio provider è mclink ed ho un ip pubblico statico, ma se provo a pingarlo mi va in "timed out", mentre il tracer si ferma all'indirizzo ip di mclink. E' normale che ciò accada oppure è indice di una configurazione errata?
Ho letto parecchi 3d sull'argomento nella room, ed ho cercato di adeguare la configurazione ma temo di aver fatto solo confusione :
Mi rendo conto che, essendo io alle primissime, è difficile potermi aiutare, ma vi sarei grato se riusciste almeno a mettermi sulla strada giusta. Grazie tante in anticipo a tutti quelli che proveranno a darmi una mano.!
version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname cisco877
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 3 log
security passwords min-length 6
logging buffered 51200 debugging
logging console critical
enable secret 5 **************************
!
aaa new-model
!
!
aaa authentication login default local
aaa authentication login sdm_vpn_xauth_ml_1 local
aaa authentication login sdm_vpn_xauth_ml_2 local
aaa authorization exec default local
aaa authorization network sdm_vpn_group_ml_1 local
aaa authorization network sdm_vpn_group_ml_2 local
!
aaa session-id common
!
resource policy
!
clock timezone PCTime 1
clock summer-time PCTime date Mar 30 2003 2:00 Oct 26 2003 3:00
no ip source-route
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.0.20
!
ip dhcp pool sdm-pool1
import all
network 192.168.0.0 255.255.255.0
default-router 192.168.0.20
!
!
ip tcp synwait-time 10
no ip bootp server
ip name-server 195.110.128.1
ip name-server 212.48.4.11
ip ssh time-out 60
ip ssh authentication-retries 2
ip inspect name DEFAULT100 cuseeme
ip inspect name DEFAULT100 ftp
ip inspect name DEFAULT100 h323
ip inspect name DEFAULT100 icmp
ip inspect name DEFAULT100 netshow
ip inspect name DEFAULT100 rcmd
ip inspect name DEFAULT100 realaudio
ip inspect name DEFAULT100 rtsp
ip inspect name DEFAULT100 esmtp
ip inspect name DEFAULT100 sqlnet
ip inspect name DEFAULT100 streamworks
ip inspect name DEFAULT100 tftp
ip inspect name DEFAULT100 tcp
ip inspect name DEFAULT100 udp
ip inspect name DEFAULT100 vdolive
ip inspect name DEFAULT100 isakmp
ip inspect name DEFAULT100 ipsec-msft
ip inspect name DEFAULT100 ssp
ip inspect name DEFAULT100 gdoi
!
!
crypto pki trustpoint TP-self-signed-1663544984
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1663544984
revocation-check none
rsakeypair TP-self-signed-1663544984
!
!
crypto pki certificate chain TP-self-signed-1663544984
certificate self-signed 01
************************************************************************
quit
username ********* privilege 15 secret 5 ********************************
username ********** privilege 15 secret 5 ******************************
!
!
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
crypto isakmp key ********* address 0.0.0.0 0.0.0.0
crypto isakmp client configuration address-pool local SDM_POOL_1
!
crypto isakmp client configuration group **********
key *********
pool SDM_POOL_1
max-users 2
!
crypto isakmp client configuration group ***********
key *********
pool SDM_POOL_1
max-users 2
crypto isakmp profile sdm-ike-profile-1
match identity group **********
client authentication list sdm_vpn_xauth_ml_1
isakmp authorization list sdm_vpn_group_ml_1
client configuration address respond
virtual-template 1
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-SHA1 esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-SHA2 esp-3des esp-sha-hmac
!
crypto ipsec profile SDM_Profile1
set transform-set ESP-3DES-SHA
set isakmp-profile sdm-ike-profile-1
!
!
crypto dynamic-map SDM_DYNMAP_1 1
set transform-set ESP-3DES-SHA2
match address *****
!
!
crypto map SDM_CMAP_1 65535 ipsec-isakmp dynamic SDM_DYNMAP_1
!
!
!
!
interface Loopback0
ip address 192.168.1.248 255.255.255.0
ip access-group 101 in
ip access-group 101 out
ip mask-reply
no ip unreachables
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
description ********************
ip mask-reply
no ip unreachables
no snmp trap link-status
pvc 8/75
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Virtual-Template1 type tunnel
ip unnumbered Loopback0
ip access-group 101 in
ip mask-reply
no ip unreachables
tunnel mode ipsec ipv4
tunnel protection ipsec profile SDM_Profile1
!
interface Vlan1
description *******************************************************
ip address 192.168.0.20 255.255.255.0
ip access-group 100 in
ip mask-reply
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
ip tcp adjust-mss 1412
!
interface Dialer0
description ************
ip address negotiated
ip access-group 101 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip nat outside
ip inspect DEFAULT100 out
ip virtual-reassembly
encapsulation ppp
ip route-cache flow
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username ****************** password ****************
!
ip local pool SDM_POOL_1 192.168.1.200 192.168.1.240
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source route-map SDM_RMAP_1 interface Dialer0 overload
ip nat inside source static tcp 192.168.0.248 29978 interface Dialer0 29978
!
ip access-list extended *****
remark SDM_ACL Category=4
permit ip any any
!
logging trap debugging
access-list 1 remark INSIDE_IF=Vlan1
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 100 remark auto generated by Cisco SDM Express firewall configuration
access-list 100 remark ******************
access-list 100 permit udp any host 192.168.0.20 eq non500-isakmp
access-list 100 permit udp any host 192.168.0.20 eq isakmp
access-list 100 permit esp any host 192.168.0.20
access-list 100 permit ahp any host 192.168.0.20
access-list 100 deny ip host 255.255.255.255 any
access-list 100 deny ip 127.0.0.0 0.255.255.255 any
access-list 100 permit ip any any
access-list 101 remark auto generated by Cisco SDM Express firewall configuration
access-list 101 remark ******************
access-list 101 permit udp any any eq non500-isakmp
access-list 101 permit udp any any eq isakmp
access-list 101 permit esp any any
access-list 101 permit ahp any any
access-list 101 permit tcp any any eq 29978
access-list 101 deny ip 192.168.0.0 0.0.0.255 any
access-list 101 permit icmp any any echo-reply
access-list 101 permit icmp any any time-exceeded
access-list 101 permit icmp any any unreachable
access-list 101 deny ip 10.0.0.0 0.255.255.255 any
access-list 101 deny ip 172.16.0.0 0.15.255.255 any
access-list 101 deny ip 192.168.0.0 0.0.255.255 any
access-list 101 deny ip 127.0.0.0 0.255.255.255 any
access-list 101 deny ip host 255.255.255.255 any
access-list 101 deny ip host 0.0.0.0 any
access-list 101 deny ip any any
access-list 102 remark ******************
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
no cdp run
!
!
!
route-map SDM_RMAP_1 permit 1
match ip address 102
!
!
Francesco.