troubleshooting Question

Cisco 5505 to Azure site to site IPsec problem

Avatar of Pv020396
Pv020396 asked on
RoutersInternet Protocol SecurityCloud ComputingAzure
14 Comments1 Solution4414 ViewsLast Modified:
Hi everyone,

I'm having difficulties setting up site to site to windows Azure from cisco 5505.

Here's the setup:
Public IP is 116.254.102.xx
Azure gateway is 168.63.250.xx
IP from ISP private is 11.24.10.46
Gateway from ISP is 11.24.10.45
Local network is 192.168.0.0/24
Azure is 192.168.6.0/24

Here is my running configuration.

On the log it says UDP is blocked from Azure gateway to my public IP on port 500.

Please help. Thanks in advance.

: Saved
:
ASA Version 8.4(4)1
!
hostname CiscoFW
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.0.2 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 11.24.10.46 255.0.0.0
!
ftp mode passive
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server 116.254.101.2
object network obj_any
subnet 0.0.0.0 0.0.0.0
object network 116.254.102.xx
host 116.254.102.xx
object network 11.24.10.45
host 11.24.10.45
object-group network AzureNetwork
network-object 192.168.6.0 255.255.255.0
object-group network BetaOnpremise
network-object 192.168.0.0 255.255.255.0
access-list AzureAccessList extended permit ip object-group BetaOnpremise object-group AzureNetwork
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
!
nat (inside,outside) after-auto source dynamic any 116.254.102.xx
route outside 0.0.0.0 0.0.0.0 11.24.10.45 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 192.168.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
sysopt connection tcpmss 1350
crypto ipsec ikev1 transform-set Azure_IPSecTransformSet esp-aes esp-sha-hmac
crypto ipsec security-association lifetime seconds 3600
crypto ipsec security-association lifetime kilobytes 102400000
crypto map Azure_IPSecCryptoMap 1 match address AzureAccessList
crypto map Azure_IPSecCryptoMap 1 set peer 168.63.250.xx
crypto map Azure_IPSecCryptoMap 1 set ikev1 transform-set Azure_IPSecTransformSet
crypto map Azure_IPSecCryptoMap 1 set reverse-route
crypto map Azure_IPSecCryptoMap interface outside
crypto ikev1 enable outside
crypto ikev1 policy 10
authentication pre-share
encryption aes
hash sha
group 2
lifetime 28800
telnet timeout 5
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcpd auto_config outside
!
dhcpd address 192.168.0.6-192.168.0.254 inside
dhcpd dns 8.8.8.8 interface inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
tunnel-group 168.63.250.xx type ipsec-l2l
tunnel-group 168.63.250.xx ipsec-attributes
ikev1 pre-shared-key *****
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
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
inspect ip-options
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous prompt 2
Cryptochecksum:484d479fb6460a44a2636e6bb1463f3a
: end
no asdm history enable
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 14 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros