04-26-2017 07:19 AM
can someone please point out why my traffic isn't going through my vpn? I'm assuming I am missing something in NAT. I need the traffic that is outlined in my cryptomap ACLs to go over the IPSEC VPN and it currently isnt. Below is my config. The end device is a juniper router and unfortunately I don't have their configs.
If it is NAT could you please give me the config i need to add to make the change! Thank you all very much for your help !
ASA Version 9.6(1)
!
hostname ochoa
names
!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address 64.xxx.xx.x255.255.255.252
!
interface GigabitEthernet1/2
nameif inside
security-level 100
ip address 172.12.48.1 255.255.255.0
!
interface GigabitEthernet1/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/6
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/7
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/8
shutdown
no nameif
no security-level
no ip address
!
interface Management1/1
management-only
no nameif
no security-level
no ip address
!
ftp mode passive
clock timezone MST -7
object-group network OBJ-INSIDE-NETWORKS
network-object 172.12.48.0 255.255.255.0
object-group network VPN
network-object 10.0.6.0 255.255.255.0
network-object 10.0.7.0 255.255.255.0
network-object 10.100.0.0 255.255.255.0
network-object 10.200.0.0 255.255.255.0
network-object 172.23.1.87 255.255.25.255
network-object 10.0.10.0 255.255.255.244
access-list ACL-OUTSIDE-IN extended permit icmp any any echo-reply
access-list ACL-OUTSIDE-IN extended deny ip any any
access-list ACL-INSIDE-IN extended permit ip object-group OBJ-INSIDE-NETWORKS any
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.6.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.7.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.100.0.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.200.0.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 host 172.23.1.87
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.10.0 255.255.255.224
no pager
logging enable
logging timestamp
logging asdm informational
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static OBJ-INSIDE-NETWORKS OBJ-INSIDE-NETWORKS destination static VPN VPN no-proxy-arp route-lookup
!
nat (inside,outside) after-auto source dynamic any interface
access-group ACL-OUTSIDE-IN in interface outside
access-group ACL-INSIDE-IN in interface inside
route outside 0.0.0.0 0.0.0.0 64.183.35.89 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 sctp 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
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
aaa authentication enable console LOCAL
aaa authentication http console LOCAL
aaa authorization command LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
sysopt noproxyarp inside
service sw-reset-button
crypto ipsec ikev1 transform-set hmac-sha1-96 esp-3des esp-sha-hmac
crypto ipsec security-association pmtu-aging infinite
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set peer 64.183.170.230
crypto map outside_map 1 set ikev1 transform-set hmac-sha1-96
crypto map outside_map interface outside
crypto ca trustpool policy
crypto ikev1 enable outside
crypto ikev1 policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh 64.183.175.198 255.255.255.255 outside
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
dhcpd dns 209.18.47.61
dhcpd auto_config outside
!
dhcpd address 172.12.48.10-172.12.48.200 inside
dhcpd enable inside
!
dynamic-access-policy-record DfltAccessPolicy
tunnel-group 64.183.170.230 type ipsec-l2l
tunnel-group 64.183.170.230 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
no call-home reporting anonymous
Cryptochecksum:bbd3ef1b54c1d2fa38e485b74c548538
: end
ochoa#
:
ASA Version 9.6(1)
!
hostname ochoa
enable password ev/YZvmC8aL.Pjx5 encrypted
names
!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address 64.183.35.90 255.255.255.252
!
interface GigabitEthernet1/2
nameif inside
security-level 100
ip address 172.12.48.1 255.255.255.0
!
interface GigabitEthernet1/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/6
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/7
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/8
shutdown
no nameif
no security-level
no ip address
!
interface Management1/1
management-only
no nameif
no security-level
no ip address
!
ftp mode passive
clock timezone MST -7
object-group network OBJ-INSIDE-NETWORKS
network-object 172.12.48.0 255.255.255.0
object-group network VPN
network-object 10.0.6.0 255.255.255.0
network-object 10.0.7.0 255.255.255.0
network-object 10.100.0.0 255.255.255.0
network-object 10.200.0.0 255.255.255.0
network-object 172.23.1.87 255.255.25.255
network-object 10.0.10.0 255.255.255.244
access-list ACL-OUTSIDE-IN extended permit icmp any any echo-reply
access-list ACL-OUTSIDE-IN extended deny ip any any
access-list ACL-INSIDE-IN extended permit ip object-group OBJ-INSIDE-NETWORKS any
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.6.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.7.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.100.0.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.200.0.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 host 172.23.1.87
access-list outside_1_cryptomap extended permit ip 172.12.48.0 255.255.255.0 10.0.10.0 255.255.255.224
no pager
logging enable
logging timestamp
logging asdm informational
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static OBJ-INSIDE-NETWORKS OBJ-INSIDE-NETWORKS destination static VPN VPN no-proxy-arp route-lookup
!
nat (inside,outside) after-auto source dynamic any interface
access-group ACL-OUTSIDE-IN in interface outside
access-group ACL-INSIDE-IN in interface inside
route outside 0.0.0.0 0.0.0.0 64.183.35.89 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 sctp 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
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
aaa authentication enable console LOCAL
aaa authentication http console LOCAL
aaa authorization command LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
sysopt noproxyarp inside
service sw-reset-button
crypto ipsec ikev1 transform-set hmac-sha1-96 esp-3des esp-sha-hmac
crypto ipsec security-association pmtu-aging infinite
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set peer 64.183.170.230
crypto map outside_map 1 set ikev1 transform-set hmac-sha1-96
crypto map outside_map interface outside
crypto ca trustpool policy
crypto ikev1 enable outside
crypto ikev1 policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh 64.183.175.198 255.255.255.255 outside
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
dhcpd dns 209.18.47.61
dhcpd auto_config outside
!
dhcpd address 172.12.48.10-172.12.48.200 inside
dhcpd enable inside
!
dynamic-access-policy-record DfltAccessPolicy
username joe password IX/hlK8EAOMd4VUA encrypted privilege 15
username joe attributes
service-type admin
username admin password K7nr55QrouSIMdfd encrypted privilege 15
username jmullis password Lr1lFohOpfIuJNVB encrypted privilege 15
username ochoa password DUiAef6Oae1nWmEv encrypted
tunnel-group 64.183.170.230 type ipsec-l2l
tunnel-group 64.183.170.230 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
no call-home reporting anonymous
Cryptochecksum:bbd3ef1b54c1d2fa38e485b74c548538
: end
ochoa#
04-26-2017 07:40 AM
Is the tunnel up? What does your IPSec crypto stats show for encrypted/decrypted packets?
04-26-2017 08:38 AM
The configured NAT looks appropriate. I agree with Colin that we need to start by checking on whether the tunnel is coming up or not. Perhaps start with show crypto isakmp sa to see if that negotiation worked. If there is no sa information then you need to troubleshoot why the negotiation is failing. If there is sa information then check on the IPsec status using show crypto IPsec sa.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide