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

Anyconnect VPN | Accessing Inside Network

ghuguenin
Level 1
Level 1

Hi All, 

Thanks for any help with this. 

Roughly I am having issues communicating with my inside network when I Anyconnect VPN. I can access the firewall and connect but from there it's a no go. 

Do I need to set up a specific route protocol for this or is there some other means I am missing? 

My internet is a Charter modem that I dynamically pull an IP address from. I also set up split tunneling so the VPN client still can have internet access while connected. 

I am also having the ASA DHCP the inside network IPs

Config Posted Below: Some config omitted from output

ASA Version 9.2(3)
!
hostname XXXX
enable password XXXX encrypted
names
ip local pool Pool 10.0.0.100-10.0.0.110 mask 255.255.255.0
ip local pool AddressPool 192.168.1.150-192.168.1.160 mask 255.255.255.0
!
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.1.1 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address dhcp setroute
!
ftp mode passive
same-security-traffic permit intra-interface
object network obj_any
 subnet 0.0.0.0 0.0.0.0
object network NETWORK_OBJ_10.0.0.96_28
 subnet 10.0.0.96 255.255.255.240
access-list Split-Tunnel standard permit 192.168.1.0 255.255.255.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static any any destination static NETWORK_OBJ_10.0.0.96_28 NETWORK_OBJ_10.0.0.96_28 no-proxy-arp route-lookup
!
object network obj_any
 nat (inside,outside) dynamic interface
!
nat (inside,outside) after-auto source dynamic any interface
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.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
crypto ipsec ikev2 ipsec-proposal AES256
 protocol esp encryption aes-256
 protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
 protocol esp encryption aes-192
 protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
 protocol esp encryption aes
 protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
 protocol esp encryption 3des
 protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal DES
 protocol esp encryption des
 protocol esp integrity sha-1 md5
crypto ipsec security-association pmtu-aging infinite
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP XXXX set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map outside_map XXXX ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto map inside_map XXXX ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map inside_map interface inside
crypto ca trustpoint ASDM_Launcher_Access_TrustPoint_0
 enrollment self
 subject-name CN=192.168.1.1,CN=ciscoasa
 crl configure
crypto ca trustpoint ASDM_TrustPoint0
 crl configure
crypto ca trustpool policy
crypto ca certificate chain ASDM_Launcher_Access_TrustPoint_0
 certificate XXXX


  quit
crypto ikev2 policy 1
 encryption aes-256
 integrity sha
 group 5 2
 prf sha
 lifetime seconds 86400
crypto ikev2 policy 10
 encryption aes-192
 integrity sha
 group 5 2
 prf sha
 lifetime seconds 86400
crypto ikev2 policy 20
 encryption aes
 integrity sha
 group 5 2
 prf sha
 lifetime seconds 86400
crypto ikev2 policy 30
 encryption 3des
 integrity sha
 group 5 2
 prf sha
 lifetime seconds 86400
crypto ikev2 policy 40
 encryption des
 integrity sha
 group 5 2
 prf sha
 lifetime seconds 86400
crypto ikev2 enable outside client-services port 443
crypto ikev2 remote-access trustpoint ASDM_Launcher_Access_TrustPoint_0
telnet timeout 5
no ssh stricthostkeycheck
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcpd auto_config outside
!
dhcpd address 192.168.1.50-192.168.1.100 inside
dhcpd dns 8.8.8.8 8.8.4.4 interface inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics host
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ssl trust-point ASDM_Launcher_Access_TrustPoint_0 inside
ssl trust-point ASDM_Launcher_Access_TrustPoint_0 inside vpnlb-ip
ssl trust-point ASDM_Launcher_Access_TrustPoint_0 outside
webvpn
 enable outside
 anyconnect-essentials
 anyconnect image disk0:/anyconnect-win-4.0.00048-k9.pkg 1
 anyconnect profiles Location2_client_profile disk0:/Location2_client_profile.xml
 anyconnect profiles Location1_client_profile disk0:/Location1_client_profile.xml
 anyconnect profiles VPN disk0:/vpn.xml
 anyconnect enable
 tunnel-group-list enable
group-policy DfltGrpPolicy attributes
 webvpn
  anyconnect profiles value VPN type user
group-policy GroupPolicy_Location2 internal
group-policy GroupPolicy_Location2 attributes
 wins-server none
 dns-server value 8.8.8.8 8.8.4.4
 vpn-tunnel-protocol ikev2 ssl-client
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value Split-Tunnel
 default-domain none
 webvpn
  anyconnect profiles value Location2_client_profile type user
group-policy GroupPolicy_Location1 internal
group-policy GroupPolicy_Location1 attributes
 wins-server none
 dns-server none
 vpn-tunnel-protocol ikev2 ssl-client
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value Split-Tunnel
 default-domain none
 webvpn
  anyconnect profiles value Location1_client_profile type user
username XXXX password XXXX encrypted
username XXXX password XXXX encrypted privilege 15
username XXXX password XXXX encrypted privilege 15
tunnel-group Location1 type remote-access
tunnel-group Location1 general-attributes
 address-pool AddressPool
 default-group-policy GroupPolicy_Location1
 nat-assigned-to-public-ip inside
tunnel-group Location1 webvpn-attributes
 group-alias Location1 enable
tunnel-group Location2 type remote-access
tunnel-group Location2 general-attributes
 address-pool AddressPool
 default-group-policy GroupPolicy_Location2
tunnel-group Location2 webvpn-attributes
 group-alias Location2 enable
!
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:XXXX
: end                           

 

1 Accepted Solution

Accepted Solutions

Dinesh Moudgil
Cisco Employee
Cisco Employee

Hi,

 

Looking at the config, we have

ip local pool AddressPool 192.168.1.150-192.168.1.160 mask 255.255.255.0
and
access-list Split-Tunnel standard permit 192.168.1.0 255.255.255.0

Here is the object and nat statement needed for allowing VPN users to access subnet of 192.168.1.0/24

object network obj_192.168.1.0_24
 subnet 192.168.1.0 255.255.255.0

nat (inside,outside) source static obj_192.168.1.0_24 obj_192.168.1.0_24 destination static obj_192.168.1.0_24 obj_192.168.1.0_24 no-proxy-arp route-lookup.

 

NOTE:- You might wish to change the pool's subnet to a network different than LAN's subnet as it creates issues sometimes.

 

Regards,
Dinesh Moudgil

P.S. Please rate helpful posts.

Cisco Network Security Channel - https://www.youtube.com/c/CiscoNetSec/

View solution in original post

2 Replies 2

Dinesh Moudgil
Cisco Employee
Cisco Employee

Hi,

 

Looking at the config, we have

ip local pool AddressPool 192.168.1.150-192.168.1.160 mask 255.255.255.0
and
access-list Split-Tunnel standard permit 192.168.1.0 255.255.255.0

Here is the object and nat statement needed for allowing VPN users to access subnet of 192.168.1.0/24

object network obj_192.168.1.0_24
 subnet 192.168.1.0 255.255.255.0

nat (inside,outside) source static obj_192.168.1.0_24 obj_192.168.1.0_24 destination static obj_192.168.1.0_24 obj_192.168.1.0_24 no-proxy-arp route-lookup.

 

NOTE:- You might wish to change the pool's subnet to a network different than LAN's subnet as it creates issues sometimes.

 

Regards,
Dinesh Moudgil

P.S. Please rate helpful posts.

Cisco Network Security Channel - https://www.youtube.com/c/CiscoNetSec/

Thanks Dinesh, That worked. Cheers.
Review Cisco Networking for a $25 gift card