cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
264
Views
0
Helpful
2
Replies

ASA 5505 VPN Etablished, Cannot acces inside network

taktik0295
Level 1
Level 1

Hi, I recently received a ASA 5505, and I have spent weeks to figure out how to set up a VPN on it.

After some days, I finally found the solution to connect to my ASA with a VPN client, yet and cannot acces the devices that are connected to the ASA.

Here is my config:

ASA Version 8.2(5)
!
hostname asa01
domain-name kevinasa01.net
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
 switchport access vlan 5
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address dhcp setroute
!
interface Vlan5
 no nameif
 security-level 50
 ip address 172.16.1.1 255.255.255.0
!
ftp mode passive
dns server-group DefaultDNS
 domain-name kevinasa01.net
same-security-traffic permit intra-interface
access-list Remote_Kevin_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.254.0 255.255.255.240
access-list inside_nat0_outbound extended permit ip any 192.168.254.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip any 192.168.1.0 255.255.255.0
access-list nonat-in extended permit ip 192.168.254.0 255.255.255.0 192.168.1.0 255.255.255.0
access-list outside_access_in extended permit ip 192.168.254.0 255.255.255.0 any
access-list inside_access_in extended permit ip 192.168.254.0 255.255.255.0 any
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
ip local pool Pool 192.168.254.1-192.168.254.10 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (outside) 1 192.168.254.0 255.255.255.0
nat (inside) 0 access-list nonat-in
nat (inside) 1 192.168.1.0 255.255.255.0
nat (inside) 1 0.0.0.0 0.0.0.0
access-group outside_access_in in interface outside
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 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
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
management-access inside
dhcpd auto_config outside
!
dhcpd address 192.168.1.5-192.168.1.36 inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy Remote_Kevin internal
group-policy Remote_Kevin attributes
 dns-server value 192.168.1.12 192.168.1.13
 vpn-simultaneous-logins 3
 vpn-tunnel-protocol IPSec
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value Remote_Kevin_splitTunnelAcl
 default-domain value kevinasa01.net
username kevin password mz6JxJib/sQqvsw9 encrypted privilege 0
username kevin attributes
 vpn-group-policy Remote_Kevin
tunnel-group Remote_Kevin type remote-access
tunnel-group Remote_Kevin general-attributes
 address-pool Pool
 default-group-policy Remote_Kevin
tunnel-group Remote_Kevin 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 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
  inspect icmp
  inspect icmp error
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:2bb1da52d1993eb9b13c2f6dc97c16cd
: end

Thanks,

1 Accepted Solution

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni

Hi

I'm reading your post quickly through my mobile phone. I don't know why you've past your config twice. Maybe a typo issue.

I see the nonat acl in the wrong way. I mean 192.168.254 is your VPN pool and 192.168.1.0 your local LAN.

The acl should be:

access-list nonat-in extended permit ip 192.168.1.0 255.255.255.0 192.168.254.0 255.255.255.0

For the nat (inside) you have 2 lines:


nat (inside) 1 192.168.1.0 255.255.255.0 ==> It's redundant as the 1 below is doing the same thing in taking more networks if there are in the inside side. You can remove.
nat (inside) 1 0.0.0.0 0.0.0.0

Why are you doing this nat (oustide)?

nat (outside) 1 192.168.254.0 255.255.255.0

These are the first issues I've seen by reading thru my mobile. Let's change that and let me know. I will have a look later with a computer (this evening or tomorrow)

Thanks.

PS: Please don't forget to rate and mark as correct answer if this solved your issue.


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

2 Replies 2

Francesco Molino
VIP Alumni
VIP Alumni

Hi

I'm reading your post quickly through my mobile phone. I don't know why you've past your config twice. Maybe a typo issue.

I see the nonat acl in the wrong way. I mean 192.168.254 is your VPN pool and 192.168.1.0 your local LAN.

The acl should be:

access-list nonat-in extended permit ip 192.168.1.0 255.255.255.0 192.168.254.0 255.255.255.0

For the nat (inside) you have 2 lines:


nat (inside) 1 192.168.1.0 255.255.255.0 ==> It's redundant as the 1 below is doing the same thing in taking more networks if there are in the inside side. You can remove.
nat (inside) 1 0.0.0.0 0.0.0.0

Why are you doing this nat (oustide)?

nat (outside) 1 192.168.254.0 255.255.255.0

These are the first issues I've seen by reading thru my mobile. Let's change that and let me know. I will have a look later with a computer (this evening or tomorrow)

Thanks.

PS: Please don't forget to rate and mark as correct answer if this solved your issue.


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Ok thanks for the quick answer, I'll do that and I'll tell you if it works.