10.3.1.2 Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM - Instructor
10.3.1.2 Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM - Instructor
Topology
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
IP Addressing Table
Objectives
Part 1: Configure Basic Device Settings
Cable the network and clear previous device settings, as shown in the topology.
Configure basic settings for routers.
Configure PC host IP settings.
Verify connectivity.
Save the basic running configuration for each router and switch.
Part 2: Access the ASA Console and ASDM
Access the ASA console.
Clear the previous ASA configuration settings.
Bypass Setup mode.
Configure the ASA by using the CLI script.
Access ASDM.
Part 3: Configure AnyConnect Client SSL VPN Remote Access Using ASDM
Start the VPN wizard.
Specify the VPN encryption protocol.
Specify the client image to upload to AnyConnect users.
Configure AAA local authentication.
Configure the client address assignment.
Configure the network name resolution.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Background/Scenario
In addition to stateful firewall and other security features, the ASA can provide both site-to-site and remote
access VPN functionality. The ASA provides two main deployment modes that are found in Cisco SSL remote
access VPN solutions:
Clientless SSL VPN - A clientless, browser-based VPN that lets users establish a secure, remote-access
VPN tunnel to the ASA and use a web browser and built-in SSL to protect VPN traffic. After
authentication, users are presented with a portal page and can access specific, predefined internal
resources from the portal.
Client-Based SSL VPN - A client-based VPN that provides full-tunnel SSL VPN connection, but requires
a VPN client application to be installed on the remote host. After authentication, users can access any
internal resource as if they were physically on the local network. The ASA supports both SSL and IPsec
client-based VPNs.
In Part 1 of this lab, you will configure the topology and non-ASA devices. In Part 2, you will prepare the ASA
for ASDM access. In Part 3, you will use the ASDM VPN wizard to configure an AnyConnect client-based SSL
remote access VPN. In Part 4 you will establish a connection and verify connectivity.
Your company has two locations connected to an ISP. R1 represents a CPE device managed by the ISP. R2
represents an intermediate Internet router. R3 connects users at the remote branch office to the ISP. The
ASA is an edge security device that connects the internal corporate network and DMZ to the ISP while
providing NAT services to inside hosts.
Management has asked you to provide VPN access to teleworkers using the ASA as a VPN concentrator.
They want you to test the client-based model using SSL and the Cisco AnyConnect client.
Note: The router commands and output in this lab are from a Cisco 1941 router with Cisco IOS Release
15.4(3)M2 (with a Security Technology Package license). Other routers and Cisco IOS versions can be used.
See the Router Interface Summary Table at the end of the lab to determine which interface identifiers to use
based on the equipment in the lab. Depending on the router model and Cisco IOS version, the commands
available and the output produced might vary from what is shown in this lab.
The ASA used with this lab is a Cisco model 5506-X with an 8-port integrated switch, running OS version
9.10(1), Adaptive Security Device Manager (ASDM) version 7.10(1), and comes with a Base license that
allows a maximum of five VLANs.
Instructor Note: AnyConnect Secure Mobility Client release 4.1 or later is recommended. Instructions for
installing AnyConnect Client packages to ASA flash are provided in the Chapter 0.0.0.0 lab.
Note: Before beginning, ensure that the ASA, routers and switches have been erased and have no startup
configurations.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Instructor Note: Instructions for erasing ASA, switches and routers are provided in the Chapter 0.0.0.0 lab.
Required Resources
3 Routers (Cisco 1941 with Cisco IOS Release 15.4(3)M2 image with a Security Technology Package
license)
3 Switches (Cisco 2960 with cryptography IOS image for SSH support – Release 15.0(2)SE7 or
comparable) (not required)
1 ASA 5506-X (OS version 9.10(1) and ASDM version 7.10(1) and Base license or comparable)
3 PCs (Windows, SSH Client and Java version compatible with installed ASDM version)
Serial and Ethernet cables, as shown in the topology
Console cables to configure Cisco networking devices
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
exit
interface gigabitethernet 0/0
ip address 209.165.200.225 255.255.255.248
no shut
exit
int serial 0/0/0
ip address 10.1.1.1 255.255.255.252
clock rate 2000000
no shut
exit
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
crypto key generate rsa general-keys modulus 1024
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Step 7: Save the basic running configuration for each router and switch.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Step 10: Review the Summary screen and apply the configuration to the ASA.
a. On the Summary screen, review the configuration description. Use the Back button to make any changes.
b. Click Finish to commit the configuration to the ASA. After the configuration is delivered to the ASA,
ASDM displays the AnyConnect Connection Profiles window.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Step 4: Use the ASDM Monitor to view the AnyConnect remote user session.
Note: Future SSL VPN sessions can be launched through the web portal or through the installed Cisco
AnyConnect SSL VPN client. While the remote user at PC-C is still logged in using the AnyConnect client,
you can view the session statistics by using the ASDM monitor.
a. On the ASDM menu bar, click Monitoring and then select VPN > VPN Statistics > Sessions.
b. Click the Filter By pull-down list and select AnyConnect Client. You should see the VPN-User session
logged in from PC-C, which has been assigned an inside network IP address of 192.168.1.100 by the
ASA.
Note: You may need to click Refresh to display the remote user session.
Reflection
1. Describe at least two benefits of client–based vs. clientless VPNs?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Users have access to the same internal network resources as if they were on the LAN. Client-based VPN
solutions, such as AnyConnect, can be configured to automatically download the proper client software based
on the client platform characteristics.
2. Describe at least one difference between using SSL compared to IPsec for remote access tunnel encryption?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Client-based VPNs can offer a more secure tunnel, if using IPsec, but are somewhat more complex to
configure.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (Fa0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
Device Configs
:
: Hardware: ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
:
ASA Version 9.10(1)
!
hostname CCNAS-ASA
domain-name ccnasecurity.com
enable password ***** pbkdf2
names
no mac-address auto
ip local pool Remote-Pool 192.168.1.100-192.168.1.125 mask 255.255.255.0
!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address 209.165.200.226 255.255.255.248
!
interface GigabitEthernet1/2
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet1/3
nameif dmz
security-level 70
ip address 192.168.2.1 255.255.255.0
!
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
shutdown
no nameif
no security-level
no ip address
!
ftp mode passive
dns server-group DefaultDNS
domain-name ccnasecurity.com
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 14 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
ssh stricthostkeycheck
ssh 192.168.1.0 255.255.255.0 inside
ssh timeout 10
ssh version 2
ssh key-exchange group dh-group1-sha1
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
enable outside
anyconnect image disk0:/anyconnect-win-4.6.04054-webdeploy-k9.pkg 1
anyconnect enable
tunnel-group-list enable
cache
disable
error-recovery disable
group-policy GroupPolicy_AnyConnect-SSL-VPN internal
group-policy GroupPolicy_AnyConnect-SSL-VPN attributes
wins-server none
dns-server value 192.168.2.3
vpn-tunnel-protocol ssl-client
default-domain value ccnasecurity.com
dynamic-access-policy-record DfltAccessPolicy
username admin01 password ***** pbkdf2
username REMOTE-USER password ***** pbkdf2
tunnel-group AnyConnect-SSL-VPN type remote-access
tunnel-group AnyConnect-SSL-VPN general-attributes
address-pool Remote-Pool
default-group-policy GroupPolicy_AnyConnect-SSL-VPN
tunnel-group AnyConnect-SSL-VPN webvpn-attributes
group-alias AnyConnect-SSL-VPN 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
no tcp-inspection
policy-map global_policy
class inspection_default
inspect ftp
inspect h323 h225
inspect h323 ras
inspect ip-options
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 15 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
inspect dns preset_dns_map
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
no 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 [email protected]
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
Cryptochecksum:4312df6ad00e44f7cc834b59b2e239fe
: end
Router R1
R1# show run
Building configuration...
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 16 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 17 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!
control-plane
!
line con 0
exec-timeout 5 0
logging synchronous
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
exec-timeout 5 0
logging synchronous
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end
Router R2
R2# show run
Building configuration...
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 18 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
!
no aaa new-model
memory-size iomem 15
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
cts logging verbose
!
username admin01 secret 9
$9$6PSI5.sujsrgN.$LFz4TeeqS/1FtxvK23Le8jxUAY9sjeedVmyF/PA9sPo
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.252
!
interface Serial0/0/1
ip address 10.2.2.2 255.255.255.252
clock rate 2000000
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 172.16.3.0 255.255.255.0 Serial0/0/1
ip route 209.165.200.224 255.255.255.248 Serial0/0/0
!
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 19 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
control-plane
!
line con 0
exec-timeout 5 0
logging synchronous
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
exec-timeout 5 0
logging synchronous
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end
Router R3
R3# show run
Building configuration...
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 20 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 21 of 22 www.netacad.com
Lab - Configure AnyConnect Remote Access SSL VPN Using ASA 5506-X ASDM
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
exec-timeout 5 0
logging synchronous
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end
Switches S1, S2 and S3 – Use default configs, except for host name
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 22 of 22 www.netacad.com