cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
180
Views
0
Helpful
3
Replies

NAT problem in the subnet entering the vpn tunnel

Maharram_Etibar
Level 1
Level 1

I have created a vpn tunnel between the asa firewall (ikev1) and the cisco router. the asa subnet is 192.168.100.0/24, the router subnet is 10.100.0.0/24. The VPN works fine and they can communicate with each other. But I can't NAT the 192.168.100.0/24 subnet in the asa firewall.(also I use NAT exemption command but still NAT doesn't work.) Please help me

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

You give us a description of your issue, but very little detail to help us understand the issue. Please provide details, especially of the ASA config.

HTH

Rick

Maharram_Etibar
Level 1
Level 1

hostname ciscoasa
enable password ***** pbkdf2
service-module 0 keepalive-timeout 4
service-module 0 keepalive-counter 6
names
no mac-address auto

!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address ***** 255.255.255.252
!
interface GigabitEthernet0/1
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/1.100
vlan 100
nameif admin
security-level 100
ip address 192.168.100.1 255.255.255.0
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/6
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
management-only
nameif mgmt
security-level 0
ip address 192.168.91.2 255.255.255.0
!
ftp mode passive
object network Admin_nat
subnet 192.168.100.0 255.255.255.0
object network Admin_Subnet
subnet 192.168.100.0 255.255.255.0
object network Novikov_Subnet
subnet 10.100.0.0 255.255.255.0
object-group network Local_Admin
network-object 192.168.100.0 255.255.255.0
network-object y.y.y.y 255.255.255.252
object-group network Novikov_Admin
network-object 10.100.0.0 255.255.255.0
network-object *** 255.255.255.252
access-list VPN_Access extended permit ip object Admin_Subnet object Novikov_Subnet
access-list VPN_Access extended permit ip object-group Local_Admin object-group Novikov_Admin
pager lines 23
mtu outside 1500
mtu admin 1500
mtu mgmt 1500
no failover
no failover wait-disable
no monitor-interface admin
no monitor-interface service-module
icmp unreachable rate-limit 1 burst-size 1
icmp permit any admin
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 8192
nat (admin,outside) source static Local_Admin Local_Admin destination static Novikov_Admin Novikov_Admin no-proxy-arp route-lookup
!
object network Admin_nat
nat (admin,outside) dynamic interface
access-group VPN_Access in interface admin
route outside 0.0.0.0 0.0.0.0 ** 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
timeout conn-holddown 0:00:15
timeout igp stale-route 0:01:10
user-identity default-domain LOCAL
aaa authentication login-history
http server enable
http 192.168.91.0 255.255.255.0 mgmt
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set myset esp-aes esp-sha-hmac
crypto ipsec security-association pmtu-aging infinite
crypto map mymap 3 match address VPN_Access
crypto map mymap 3 set pfs group5
crypto map mymap 3 set peer x.x.x.x
crypto map mymap 3 set ikev1 transform-set myset
crypto map mymap 3 set security-association lifetime seconds 3600
crypto map mymap interface outside
crypto ca trustpoint _SmartCallHome_ServerCA
no validation-usage
crl configure
crypto ca trustpool policy
auto-import
crypto ca certificate chain _SmartCallHome_ServerCA

crypto ikev1 enable outside
crypto ikev1 policy 3
authentication pre-share
encryption aes
hash sha
group 14
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh timeout 5
ssh version 2
ssh key-exchange group dh-group14-sha256
console timeout 0
console serial
dhcpd address 192.168.100.10-192.168.100.100 admin
dhcpd dns 192.168.100.2 interface admin
dhcpd enable admin
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
dynamic-access-policy-record DfltAccessPolicy
tunnel-group *****  type ipsec-l2l
tunnel-group ***** 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
no tcp-inspection
policy-map global_policy
class inspection_default
inspect ip-options
inspect netbios
inspect rtsp
inspect sunrpc
inspect tftp
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect esmtp
inspect sqlnet
inspect sip
inspect skinny
inspect snmp
inspect icmp
policy-map type inspect dns migrated_dns_map_2
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
policy-map type inspect dns migrated_dns_map_1
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email callhome@cisco.com
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
profile License
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination transport-method http
Cryptochecksum:c899546965c255735df2995afe3a365e
: end
ASA-STDC(config)#

Why you want to NAT ASA local LAN ?

MHM

Review Cisco Networking for a $25 gift card