Sto cercando di studiare il mondo VPN, per fra questo ho a disposizioe due ASA. Ho utilizzato il Wizard di ASDM per iniziare a configurare i due firewall, ma il tunnel non parte. Occorre inserire altra informazione oltre a quella che viene impostata dal Wizard per farlo partire?
Se inserisco il comando 'show isakmp ' la risposta è:
There are no isakmp sas
Global IKE Statistics
Active Tunnels: 0
Previous Tunnels: 0
In Octets: 0
In Packets: 0
In Drop Packets: 0
In Notifys: 0
In P2 Exchanges: 0
In P2 Exchange Invalids: 0
In P2 Exchange Rejects: 0
In P2 Sa Delete Requests: 0
Out Octets: 0
Out Packets: 0
Out Drop Packets: 0
Out Notifys: 0
Out P2 Exchanges: 0
Out P2 Exchange Invalids: 0
Out P2 Exchange Rejects: 0
Out P2 Sa Delete Requests: 0
Initiator Tunnels: 0
Initiator Fails: 0
Responder Fails: 0
System Capacity Fails: 0
Auth Fails: 0
Decrypt Fails: 0
Hash Valid Fails: 0
No Sa Fails: 0
Global IPSec over TCP Statistics
--------------------------------
Embryonic connections: 0
Active connections: 0
Previous connections: 0
Inbound packets: 0
Inbound dropped packets: 0
Outbound packets: 0
Outbound dropped packets: 0
RST packets: 0
Recevied ACK heart-beat packets: 0
Bad headers: 0
Bad trailers: 0
Timer failures: 0
Checksum errors: 0
Internal errors: 0
La configurazione che ha creato il Wizard è:
: Saved
:
ASA Version 8.0(3)
!
hostname fwasa
enable password Oc7YaDgR.FuJy1kn encrypted
names
!
interface Ethernet0/0
speed 100
nameif outside
security-level 0
ip address 91.x.x.x 255.255.255.248
!
interface Ethernet0/1
speed 100
nameif inside
security-level 100
ip address 192.168.5.1 255.255.255.0
!
interface Ethernet0/2
speed 100
nameif altra
security-level 50
ip address 131.x.x.x 255.255.255.248
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
speed 100
nameif management
security-level 100
ip address 192.168.7.1 255.255.255.0
management-only
!
passwd Oc7YaDgR.FuJy1kn encrypted
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group service NATT udp
description Porta Nat traversal
port-object eq 4500
access-list outside_access_in extended permit udp any any object-group NATT
access-list outside_access_in extended permit udp any any eq isakmp
access-list outside_1_cryptomap extended permit ip 192.168.5.0 255.255.255.0 192.168.1.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.5.0 255.255.255.0 192.168.1.0 255.255.255.0
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu altra 1500
mtu management 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
global (outside) 101 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 101 0.0.0.0 0.0.0.0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 91.x.x.x 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.7.0 255.255.255.0 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs
crypto map outside_map 1 set peer 82.x.x.x
crypto map outside_map 1 set transform-set ESP-DES-MD5
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
no crypto isakmp nat-traversal
ssh timeout 5
console timeout 0
dhcpd address 192.168.7.2-192.168.7.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
username Tommy password pVYwVYI2FewKspbv encrypted privilege 15
tunnel-group 82.x.x.x type ipsec-l2l
tunnel-group 82.x.x.x ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:b37f19e48ee7e045f8a160292a2e935f
: end
asdm image disk0:/asdm-603.bin
no asdm history enable
Cosa manca????
Grazie in anticipo per eventuali risposte.
Problemi con VPN
Moderatore: Federico.Lagni
-
- n00b
- Messaggi: 4
- Iscritto il: dom 11 nov , 2007 11:48 am
In effetti la configurazione era corretta.
Ho dovuto solo fare un ping continuo per qualche minuto ed è partita la VPN.
Ciao a tutti.
Antonio
Ho dovuto solo fare un ping continuo per qualche minuto ed è partita la VPN.
Ciao a tutti.
Antonio