Table Of Contents
Configuring Clientless SSL VPN
Information About Clientless SSL VPN
Licensing Requirements
Prerequisites for Clientless SSL VPN
Guidelines and Limitations
Observing Clientless SSL VPN Security Precautions
Disabling URL on the Portal Page
Using SSL to Access the Central Site
Using HTTPS for Clientless SSL VPN Sessions
Configuring Clientless SSL VPN and ASDM Ports
Configuring Support for Proxy Servers
Configuring SSL/TLS Encryption Protocols
Authenticating with Digital Certificates
Enabling Cookies on Browsers for Clientless SSL VPN
Configuring Application Helper
Managing Passwords
Using Single Sign-on with Clientless SSL VPN
Configuring SSO with HTTP Basic or NTLM Authentication
Configuring SSO Authentication Using SiteMinder
Adding the Cisco Authentication Scheme to SiteMinder
Configuring SSO Authentication Using SAML Browser Post Profile
Configuring the SAML POST SSO Server
Configuring SSO with the HTTP Form Protocol
Gathering HTTP Form Data
Configuring SSO for Plug-ins
Configuring SSO with Macro Substitution
Encoding
Authenticating with Digital Certificates
Creating and Applying Clientless SSL VPN Policies for Accessing Resources
Assigning Users to Group Policies
Using the Security Appliance Authentication Server
Using a RADIUS Server
Using an LDAP Server
Configuring Connection Profile Attributes for Clientless SSL VPN
Configuring Group Policy and User Attributes for Clientless SSL VPN
Configuring Browser Access to Plug-ins
Preparing the Security Appliance for a Plug-in
Installing Plug-ins Redistributed By Cisco
Providing Access to Third-Party Plug-ins
Configuring and Applying the POST URL
Providing Access to a Citrix Java Presentation Server
Preparing the Citrix MetraFrame Server for Clientless SSL VPN Access
Creating and Installing the Citrix Plug-in
Viewing the Plug-ins Installed on the Security Appliance
Why a Microsoft Kerberos Constrained Delegation Solution
Understanding How KCD Works
Authentication Flow with KCD
Before Configuring KCD
Configuring KCD
Showing KCD Status Information
Showing Cached Kerberos Tickets
Clearing Cached Kerberos Tickets
Configuring Application Access
Logging Off Smart TunnelConfiguring Smart Tunnel Access
About Smart Tunnels
Why Smart Tunnels?
Adding Applications to Be Eligible for Smart Tunnel Access
Assigning a Smart Tunnel List
Configuring and Applying Smart Tunnel Policy
Configuring and Applying a Smart Tunnel Tunnel Policy
Specifying Servers for Smart Tunnel Auto Sign-on
Adding or Editing a Smart Tunnel Auto Sign-on Server Entry
Automating Smart Tunnel Access
Enabling and Disabling Smart Tunnel Access
Logging Off Smart Tunnel
When Its Parent Process Terminates
With A Notification Icon
Configuring Port Forwarding
Information About Port Forwarding
Configuring DNS for Port Forwarding
Adding Applications to Be Eligible for Port Forwarding
Assigning a Port Forwarding List
Automating Port Forwarding
Enabling and Disabling Port Forwarding
Application Access User Notes
Using Application Access on Vista
Closing Application Access to Prevent hosts File Errors
Recovering from hosts File Errors When Using Application Access
Understanding the hosts File
Stopping Application Access Improperly
Reconfiguring a Host's File Automatically Using Clientless SSL VPN
Reconfiguring hosts File Manually
Configuring File Access
CIFS File Access Requirement and Limitation
Adding Support for File Access
Ensuring Clock Accuracy for SharePoint Access
Using Clientless SSL VPN with PDAs
Using E-Mail over Clientless SSL VPN
Configuring E-mail Proxies
Configuring Web E-mail: MS Outlook Web App
Configuring Portal Access Rules
Optimizing Clientless SSL VPN Performance
Configuring Caching
Configuring Content Transformation
Configuring a Certificate for Signing Rewritten Java Content
Disabling Content Rewrite
Using Proxy Bypass
Configuring Application Profile Customization Framework
APCF Syntax
Clientless SSL VPN End User Setup
Defining the End User Interface
Viewing the Clientless SSL VPN Home Page
Viewing the Clientless SSL VPN Application Access Panel
Viewing the Floating Toolbar
Customizing Clientless SSL VPN Pages
Information About Customization
Exporting a Customization Template
Editing the Customization Template
Importing a Customization Object
Applying Customizations to Connection Profiles, Group Policies and Users
Login Screen Advanced Customization
Modifying Your HTML File
Configuring Browser Access to Client-Server Plug-ins
About Installing Browser Plug-ins
RDP Plug-in ActiveX Debug Quick Reference
Preparing the Security Appliance for a Plug-in
Configuring the ASA to Use the New HTML File
Customizing Help
Customizing a Help File Provided By Cisco
Creating Help Files for Languages Not Provided by Cisco
Importing a Help File to Flash Memory
Exporting a Previously Imported Help File from Flash Memory
Requiring Usernames and Passwords
Communicating Security Tips
Configuring Remote Systems to Use Clientless SSL VPN Features
Starting Clientless SSL VPN
Using the Clientless SSL VPN Floating Toolbar
Browsing the Web
Browsing the Network (File Management)
Using Port Forwarding
Using Email Via Port Forwarding
Using Email Via Web Access
Using Email Via Email Proxy
Using Smart Tunnel
Translating the Language of User Messages
Understanding Language Translation
Creating Translation Tables
Referencing the Language in a Customization Object
Changing a Group Policy or User Attributes to Use the Customization Object
Capturing Data
Creating a Capture File
Using a Browser to Display Capture Data
Configuring Clientless SSL VPN
This chapter describes how to configure clientless SSL VPN and includes the following sections:
•
Information About Clientless SSL VPN
•
Licensing Requirements
•
Prerequisites for Clientless SSL VPN
•
Guidelines and Limitations
•
Configuring Application Helper
•
Using Single Sign-on with Clientless SSL VPN
•
Encoding
•
Configuring Connection Profile Attributes for Clientless SSL VPN
•
Understanding How KCD Works
•
Configuring Application Access
•
Configuring Port Forwarding
•
Application Access User Notes
•
Configuring File Access
•
Ensuring Clock Accuracy for SharePoint Access
•
Using Clientless SSL VPN with PDAs
•
Using E-Mail over Clientless SSL VPN
•
Configuring Portal Access Rules
•
Clientless SSL VPN End User Setup
•
Configuring Browser Access to Client-Server Plug-ins
•
Changing a Group Policy or User Attributes to Use the Customization Object
•
Information About Clientless SSL VPN
Note
When the ASA is configured for clientless SSL VPN, you cannot enable security contexts (also called firewall multimode) or Active/Active stateful failover. Therefore, these features become unavailable.
Clientless SSL VPN lets users establish a secure, remote-access VPN tunnel to an ASA using a web browser. Users do not need a software or hardware client.
Clientless SSL VPN provides secure and easy access to a broad range of web resources and both web-enabled and legacy applications from almost any computer that can reach HTTP Internet sites. They include:
•
Internal websites
•
Web-enabled applications
•
NT/Active Directory file shares
•
E-mail proxies, including POP3S, IMAP4S, and SMTPS
•
Microsoft Outlook Web Access Exchange Server 2000, 2003, and 2007
•
Microsoft Web App to Exchange Server 2010 in 8.4(2) and later.
•
Application Access (that is, smart tunnel or port forwarding access to other TCP-based applications)
Clientless SSL VPN uses Secure Sockets Layer Protocol and its successor, Transport Layer Security (SSL/TLS1) to provide the secure connection between remote users and specific, supported internal resources that you configure at a central site. The ASA recognizes connections that need to be proxied, and the HTTP server interacts with the authentication subsystem to authenticate users.
The network administrator provides access to resources by users of clientless SSL VPN sessions on a group basis. Users have no direct access to resources on the internal network.
Licensing Requirements
The following table shows the licensing requirements for this feature:
Note
This feature is not available on No Payload Encryption models.
Model
|
|
ASA 5505
|
AnyConnect Premium license:
• Base License or Security Plus license: 2 sessions.
• Optional permanent or time-based licenses: 10 or 25 sessions.
• Shared licenses are not supported.3
|
ASA 5510
|
AnyConnect Premium license:
• Base and Security Plus License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, or 250 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5520
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, or 750 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5540
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, or 2500 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5550
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, 2500, or 5000 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5580
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, 2500, 5000, or 10000 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5512-X
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, or 250 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5515-X
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, or 250 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5525-X
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, or 750 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5545-X
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, or 2500 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5555-X
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, 2500, or 5000 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5585-X with SSP-10
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, 2500, or 5000 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
ASA 5585-X with SSP-20, -40, and -60
|
AnyConnect Premium license:
• Base License: 2 sessions.
• Optional permanent or time-based licenses: 10, 25, 50, 100, 250, 500, 750, 1000, 2500, 5000, or 10000 sessions.
• Optional Shared licenses3: Participant or Server. For the Server license, 500-50,000 in increments of 500 and 50,000-545,000 in increments of 1000.
|
Prerequisites for Clientless SSL VPN
Release 8.4(3) supports browser-based (clientless) VPN access from the following platforms:
•
Windows 7 x86 (32-bit) and x64 (64-bit) via Internet Explorer 9.x and Firefox 4.x.
•
Windows Vista x64 via Internet Explorer 7.x-9.x, or Firefox 4.x.
•
Windows Vista x86 SP2, or Vista SP1 with KB952876 or later, via Internet Explorer 7.x or 9.x, or Firefox 4.x.
•
Windows XP x64 via Internet Explorer 7.x-8.x and Firefox 4.x.
•
Windows XP x86 SP2 or later via Internet Explorer 6.x-8.x, or Firefox 4.x.
•
Mac OS 10.6.x or 10.5 32- and 64-bit via Safari 3.x-4.x and Firefox 4.x. Certificate authentication, including the DoD Common Access Card and SmartCard, works with the Safari keychain only.
•
Linux via Firefox 4.x
ActiveX pages require that you enable ActiveX Relay or enter activex-relay on the associated group policy. If you do so or assign a smart tunnel list to the policy, and the browser proxy exception list on the endpoint specifies a proxy, the user must add a "shutdown.webvpn.relay." entry to that list.
The ASA supports clientless access to Lotus iNotes 8.5.
The ASA does not support clientless access to Windows Shares (CIFS) Web Folders from Windows 7, Vista, Internet Explorer 8, Mac OS, and Linux. Windows XP SP2 requires a Microsoft hotfix to support Web Folders.
Guidelines and Limitations
This section includes the guidelines and limitations of this feature.
The ASA does not support the following features for clientless SSL VPN connections:
•
DSA certificates. The ASA does support RSA certificates.
•
Remote HTTPS certificates.
•
Requirements of some domain-based security products. Because the ASA encodes the URL, requests actually originate from the ASA, which in some cases do not satisfy the requirements of domain-based security products.
•
Inspection features under the Modular Policy Framework, inspecting configuration control.
•
Functionality the filter configuration commands provide, including the vpn-filter command.
•
VPN connections from hosts with IPv6 addresses. Hosts must use IPv4 addresses to establish clientless SSL VPN or AnyConnect sessions. However, beginning with ASA 8.0(2), users can use these sessions to access internal IPv6-enabled resources.
•
NAT, reducing the need for globally unique IP addresses.
•
PAT, permitting multiple outbound sessions appear to originate from a single IP address.
•
QoS, rate limiting using the police command and priority-queue command.
•
Connection limits, checking either via the static or the Modular Policy Framework set connection command.
•
The established command, allowing return connections from a lower security host to a higher security host if there is already an established connection from the higher level host to the lower level host.
•
Single sign-on application integration (such as SiteMinder) because smart tunnel effectively creates a tunnel between the client and the server, and these applications interfere with ASA working as expected.
Observing Clientless SSL VPN Security Precautions
Clientless SSL VPN connections on the ASA differ from remote access IPsec connections, particularly with respect to how they interact with SSL-enabled servers, and precautions to follow to reduce security risks.
In a clientless SSL VPN connection, the ASA acts as a proxy between the end user web browser and target web servers. When a user connects to an SSL-enabled web server, the ASA establishes a secure connection and validates the server SSL certificate. The browser never receives the presented certificate, so it cannot examine and validate the certificate.
The current implementation of clientless SSL VPN on the ASA does not permit communication with sites that present expired certificates. Nor does the ASA perform trusted CA certificate validation to those SSL-enabled sites. Therefore, users do not benefit from certificate validation of pages delivered from an SSL-enabled web server before they use a web-enabled service.
Restrictions
By default, the ASA permits all portal traffic to all web resources (e.g., HTTPS, CIFS, RDP, and plug-ins). The ASA clientless service rewrites each URL to one that is meaningful only to itself; the user cannot use the rewritten URL displayed on the page accessed to confirm that they are on the site they requested. To avoid placing users at risk, assign a web ACL to the policies configured for clientless access - group-policies, dynamic access policies, or both - to control traffic flows from the portal. For example, without such an ACL, users could receive an authentication request from an outside fraudulent banking or commerce site. Also, we recommend disabling URL Entry on these policies to prevent user confusion over what is accessible.
Figure 73-1 Example URL Typed by User
Figure 73-2 Same URL Rewritten by Security Appliance and displayed on the Browser Window
Disabling URL on the Portal Page
The portal page is the page that opens when the user establishes a browser-based connection. Follow these steps to disable the URL entry on the portal page.
Prerequisites
•
Configure a group policy for all users who need clientless SSL VPN access, and enable clientless SSL VPN only for that group policy.
•
Create a web ACL to either permit access only to specific targets within the private network, permit access only to the private network, deny Internet access, or permit access only to reputable sites.
•
Assign the web ACL to any policies (group policies, dynamic access policies, or both) that you have configured for clientless access.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to group policy webvpn configuration mode.
|
Step 2
|
url-entry disable
|
Disables URL entry.
|
Using SSL to Access the Central Site
Clientless SSL VPN uses SSL and its successor, TLS1 to provide a secure connection between remote users and specific, supported internal resources at a central site. This section includes the following topics:
•
Using HTTPS for Clientless SSL VPN Sessions
•
Configuring Clientless SSL VPN and ASDM Ports
•
Configuring Support for Proxy Servers
•
Configuring SSL/TLS Encryption Protocols
Using HTTPS for Clientless SSL VPN Sessions
To permit clientless SSL VPN sessions on an interface, perform the following steps:
Prerequisites
In a web browser, users enter the ASA IP address in the format https:// address where address is the IP address or DNS hostname of the ASA interface.
Restrictions
•
You must enable clientless SSL VPN sessions on the ASA interface that users connect to.
•
You must use HTTPS to access the ASA or load balancing cluster.
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
enable (with the name of
interface you want to use
for clientless SSL VPN
sessions)
Example:
hostname(config)# webvpn
hostname(config-webvpn)#
enable outside
|
Enables clientless SSL VPN sessions on the interface called outside.
|
Configuring Clientless SSL VPN and ASDM Ports
Beginning with Version 8.0(2), the ASA supports both clientless SSL VPN sessions and ASDM administrative sessions simultaneously on Port 443 of the outside interface. You do, however, have the option to configure these applications on different interfaces.
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
port port_number
Example:
hostname(config)# http server enable
hostname(config)# http 192.168.3.0 255.255.255.0
outside
hostname(config)# webvpn
hostname(config-webvpn)# port 444
hostname(config-webvpn)# enable outside
|
Changes the SSL listening port for clientless SSL VPN.
Enables clientless SSL VPN on port 444 of the outside interface. With this configuration, remote users initiating clientless SSL VPN sessions enter https://<outside_ip>:444 in the browser.
|
Step 3
|
port argument of http server enable
Example:
hostname(config)# http server enable 444
hostname(config)# http 192.168.3.0 255.255.255.0
outside
hostname(config)# webvpn
hostname(config-webvpn)# enable outside
|
(Privileged exec mode) Changes the listening port for ASDM.
Specifies that HTTPS ASDM sessions use port 444 on the outside interface. Clientless SSL VPN is also enabled on the outside interface and uses the default port (443). With this configuration, remote users initiate ASDM sessions by entering https://<outside_ip>:444
|
Configuring Support for Proxy Servers
The ASA can terminate HTTPS connections and forward HTTP and HTTPS requests to proxy servers. These servers act as intermediaries between users and the Internet. Requiring Internet access via a server that the organization controls provides another opportunity for filtering to assure secure Internet access and administrative control.
When configuring support for HTTP and HTTPS proxy services, you can assign preset credentials to send with each request for basic authentication. You can also specify URLs to exclude from HTTP and HTTPS requests.
Restrictions
You can specify a proxy autoconfiguration (PAC) file to download from an HTTP proxy server, however, you may not use proxy authentication when specifying the PAC file.
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
http-proxy and https-proxy
|
Configures the ASA to use an external proxy server to handle HTTP and HTTPS requests.
|
Step 3
|
http-proxy host [port] [exclude url] [username
username {password password}]
|
|
Step 4
|
https-proxy host [port] [exclude url] [username
username {password password}]
|
|
Step 5
|
http-proxy pac url
|
|
Step 6
|
(Optional)
exclude
|
Excludes URLs from those that can be sent to the proxy server.
|
Step 7
|
host
|
Provides the hostname or IP address for the external proxy server.
|
Step 8
|
pac
|
Proxy autoconfiguration file downloaded to the browser that uses a JavaScript function to identify a proxy for each URL.
|
Step 9
|
(Optional, and only available if you specify a username)
password
|
Accompanies each proxy request with a password to provide basic, proxy authentication.
|
Step 10
|
password
|
Sent to the proxy server with each HTTP or HTTPS request.
|
Step 11
|
(Optional)
port
|
Provides the port number used by the proxy server. The default HTTP port is 80. The default HTTPS port is 443. The ASA uses each of these ports if you do not specify an alternative value. The range is 1-65535.
|
Step 12
|
url
|
If you entered exclude, enter a URL or a comma-delimited list of several URLs to exclude from those that can be sent to the proxy server. The string does not have a character limit, but the entire command cannot exceed 512 characters. You can specify literal URLs or use the following wildcards:
– * to match any string, including slashes (/) and periods (.). You must accompany this wildcard with an alphanumeric string.
– ? to match any single character, including slashes and periods.
– [x-y] to match any single character in the range of x and y, where x represents one character and y represents another character in the ANSI character set.
– [!x-y] to match any single character that is not in the range.
|
Step 13
|
If you entered http-proxy pac, follow it with http:// and type the URL of the proxy autoconfiguration file. (If you omit the http:// portion, the CLI ignores the command.)
|
|
Step 14
|
(Optional)
username
|
Accompanies each HTTP proxy request with a username for basic, proxy authentication. Only the http-proxy host command supports this keyword.
|
Step 15
|
username
|
Sent to the proxy server with each HTTP or HTTPS request.
|
Step 16
|
Example:
hostname(config-webvpn)# http-proxy 209.165.201.1
user jsmith password mysecretdonttell
hostname(config-webvpn)
|
Shows how to configure use of an HTTP proxy server with an IP address of 209.165. 201.1 using the default port, sending a username and password with each HTTP request.
|
Step 17
|
Example:
hostname(config-webvpn)# http-proxy 209.165.201.1
exclude www.example.com username jsmith password
mysecretdonttell
hostname(config-webvpn)
|
Shows the same command, except when the ASA receives the specific URL www.example.com in an HTTP request, it resolves the request instead of passing it on to the proxy server.
|
Step 18
|
Example:
hostname(config-webvpn)# http-proxy pac
http://www.example.com/pac
hostname(config-webvpn)
|
Shows how to specify a URL to serve a proxy autoconfiguration file to the browser.
|
The ASA clientless SSL VPN configuration supports only one http-proxy and one http-proxy command each. For example, if one instance of the http-proxy command is already present in the running configuration and you enter another, the CLI overwrites the previous instance.
Configuring SSL/TLS Encryption Protocols
Prerequisites
TCP Port Forwarding requires Sun Microsystems Java Runtime Environment (JRE) version 1.4.x and 1.5.x. Port forwarding does not work when a user of clientless SSL VPN connects with some SSL versions, as follows:
•
Negotiate SSLv3—Java downloads
•
Negotiate SSLv3/TLSv1—Java downloads
•
Negotiate TLSv1—Java does NOT download
•
TLSv1 Only—Java does NOT download
•
SSLv3Only—Java does NOT download
Restrictions
When you set SSL/TLS encryption protocols, be aware of the following:
•
Make sure that the ASA and the browser you use allow the same SSL/TLS encryption protocols.
•
If you configure e-mail proxy, do not set the ASA SSL version to TLSv1 Only. Microsoft Outlook and Microsoft Outlook Express do not support TLS.
Prerequisites
Browser cookies are required for the proper operation of clientless SSL VPN.
•
(Optional) Click Find to search for a web ACL. Start typing in the field, and the tool searches the beginning characters of every field for a match. You can use wild cards to expand your search. For example, typing sal in the Find field matches a web ACL named sales but not a customization object named wholesalers. If you type *sal in the Find field, the search finds the first instance of either sales or wholesalers in the table.
Use the up and down arrows to skip up or down to the next string match. Check the Match Case checkbox to make your search case sensitive.
•
(Optional) Highlight a web ACL and click Assign to assign the selected web ACL to one or more VPN group policies, dynamic access policies, or user policies.
•
Authenticating with Digital Certificates
SSL uses digital certificates for authentication. The ASA creates a self-signed SSL server certificate when it boots; or you can install in the ASA an SSL certificate that has been issued in a PKI context. For HTTPS, this certificate must then be installed on the client. You need to install the certificate from a given ASA only once.
Restrictions
•
Application Access does not work for users of clientless SSL VPN who authenticate using digital certificates. JRE does not have the ability to access the web browser keystore. Therefore JAVA cannot use a certificate that the browser uses to authenticate a user, so it cannot start.
•
E-mail clients such as MS Outlook, MS Outlook Express, and Eudora lack the ability to access the certificate store.
For more information on authentication and authorization using digital certificates, see the "Using Certificates and User Login Credentials" section.
Enabling Cookies on Browsers for Clientless SSL VPN
When cookies are disabled on the web browser, the links from the web portal home page open a new window prompting the user to log in once more.
Configuring Application Helper
Clientless SSL VPN includes an Application Profile Customization Framework option that lets the ASA handle non-standard applications and web resources so they display correctly over a clientless SSL VPN connection. An APCF profile contains a script that specifies when (pre, post), where (header, body, request, response), and what data to transform for a particular application. The script is in XML and uses sed (stream editor) syntax to transform strings/text.
You can configure multiple APCF profiles on a ASA to run in parallel. Within an APCF profile script, multiple APCF rules can apply. In this case, the ASA processes the oldest rule first, based on configuration history, the next oldest rule next, and so forth.
Managing Passwords
Optionally, you can configure the ASA to warn end users when their passwords are about to expire.
The ASA supports password management for the RADIUS and LDAP protocols. It supports the "password-expire-in-days" option for LDAP only.
You can configure password management for IPsec remote access and SSL VPN tunnel-groups.
When you configure password management, the ASA notifies the remote user at login that the user's current password is about to expire or has expired. The ASA then offers the user the opportunity to change the password. If the current password has not yet expired, the user can still log in using that password.
This command is valid for AAA servers that support such notification.
The ASA, releases 7.1 and later, generally supports password management for the following connection types when authenticating with LDAP or with any RADIUS configuration that supports MS-CHAPv2:
•
AnyConnect VPN Client
•
IPsec VPN Client
•
Clientless SSL VPN
The RADIUS server (for example, Cisco ACS) could proxy the authentication request to another authentication server. However, from the ASA perspective, it is talking only to a RADIUS server.
Prerequisites
•
Native LDAP requires an SSL connection. You must enable LDAP over SSL before attempting to do password management for LDAP. By default, LDAP uses port 636.
•
If you are using an LDAP directory server for authentication, password management is supported with the Sun Microsystems JAVA System Directory Server (formerly named the Sun ONE Directory Server) and the Microsoft Active Directory.
Sun—The DN configured on the ASA to access a Sun directory server must be able to access the default password policy on that server. We recommend using the directory administrator, or a user with directory administrator privileges, as the DN. Alternatively, you can place an ACI on the default password policy.
Microsoft—You must configure LDAP over SSL to enable password management with Microsoft Active Directory.
Restrictions
•
Some RADIUS servers that support MSCHAP currently do not support MSCHAPv2. This command requires MSCHAPv2 so check with your vendor.
•
Password management is not supported for any of these connection types for Kerberos/Active Directory (Windows password) or NT 4.0 Domain.
•
For LDAP, the method to change a password is proprietary for the different LDAP servers on the market. Currently, the ASA implements the proprietary password management logic only for Microsoft Active Directory and Sun LDAP servers.
•
The ASA ignores this command if RADIUS or LDAP authentication has not been configured.
Detailed Steps
Note
This command does not change the number of days before the password expires, but rather, the number of days ahead of expiration that the ASA starts warning the user that the password is about to expire.
| |
Command
|
Purpose
|
Step 1
|
tunnel-group general-attributes
|
Switches to general-attributes mode.
|
Step 2
|
password-management
|
Notifies remote users that their password is about to expire.
|
Step 3
|
password-expire-in-days
|
Specifies when the password expires.
|
Step 4
|
Enter number of days
Example:
hostname(config)# tunnel-group testgroup type webvpn
hostname(config)# tunnel-group testgroup
general-attributes
hostname(config-general)# password-management
password-expire-in-days 90
|
If you specify the keyword, you must also specify the number of days. If you set the number of days to 0, this command is disabled.
Note The ASA does not notify the user of the pending expiration, but the user can change the password after it expires.
Sets the days before password expiration to begin warning the user of the pending expiration to 90 for the connection profile "testgroup."
|
Using Single Sign-on with Clientless SSL VPN
Single sign-on support lets users of clientless SSL VPN enter a username and password only once to access multiple protected services and web servers. In general, the SSO mechanism either starts as part of the AAA process or just after successful user authentication to a AAA server. The clientless SSL VPN server running on the ASA acts as a proxy for the user to the authenticating server. When a user logs in, the clientless SSL VPN server sends an SSO authentication request, including username and password, to the authenticating server using HTTPS. If the server approves the authentication request, it returns an SSO authentication cookie to the clientless SSL VPN server. The ASA keeps this cookie on behalf of the user and uses it to authenticate the user to secure websites within the domain protected by the SSO server.
This section describes the three SSO authentication methods supported by clientless SSL VPN: HTTP Basic and NTLMv1 (NT LAN Manager) authentication, the Computer Associates eTrust SiteMinder SSO server (formerly Netegrity SiteMinder), and Version 1.1 of Security Assertion Markup Language (SAML), the POST-type SSO server authentication.
This section includes:
•
Configuring SSO with HTTP Basic or NTLM Authentication
•
Configuring SSO Authentication Using SiteMinder
•
Configuring SSO Authentication Using SAML Browser Post Profile
•
Configuring SSO with the HTTP Form Protocol
Configuring SSO with HTTP Basic or NTLM Authentication
This section describes single sign-on with HTTP Basic or NTLM authentication. You can configure the ASA to implement SSO using either or both of these methods. The auto-signon command configures the ASA to automatically pass clientless SSL VPN user login credentials (username and password) on to internal servers. You can enter multiple auto-signon commands. The ASA processes them according to the input order (early commands take precedence). You specify the servers to receive the login credentials using either IP address and IP mask, or URI mask.
Use the auto-signon command in any of three modes: webvpn configuration, webvpn group-policy mode, or webvpn username mode. Username supersedes group, and group supersedes global. The mode you choose depends upon scope of authentication you want:
Mode
|
Scope
|
webvpn configuration
|
All clientless SSL VPN users globally.
|
webvpn group-policy configuration
|
A subset of clientless SSL VPN users defined by a group policy.
|
webvpn username configuration
|
An individual user of clientless SSL VPN.
|
Detailed Steps
The following example commands present various possible combinations of modes and arguments.
| |
Command
|
Purpose
|
Step 1
|
Example:
hostname(config)# webvpn
hostname(config-webvpn)# auto-signon allow ip
10.1.1.1 255.255.255.0 auth-type ntlm
|
Configures auto-signon for all users of clientless SSL VPN to servers with IP addresses ranging from 10.1.1.0 to 10.1.1.255 using NTLM authentication.
|
Step 2
|
Example:
hostname(config)# webvpn
hostname(config-webvpn)# auto-signon allow uri
https://*.example.com/* auth-type basic
|
Configures auto-signon for all users of clientless SSL VPN, using basic HTTP authentication, to servers defined by the URI mask https://*.example.com/*.
|
Step 3
|
Example:
hostname(config)# group-policy ExamplePolicy
attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# auto-signon allow uri
https://*.example.com/* auth-type all
|
Configures auto-signon for clientless SSL VPN sessions associated with the ExamplePolicy group policy, using either basic or NTLM authentication, to servers defined by the URI mask.
|
Step 4
|
Example:
hostname(config)# username Anyuser attributes
hostname(config-username)# webvpn
hostname(config-username-webvpn)# auto-signon allow
ip 10.1.1.1 255.255.255.0 auth-type basic
|
Configures auto-signon for a user named Anyuser to servers with IP addresses ranging from 10.1.1.0 to 10.1.1.255 using HTTP Basic authentication.
|
Step 5
|
Example:
(config-webvpn)# smart-tunnel auto-signon
<host-list> [use-domain] [realm <realm string>]
[port <port num>] [host <host mask> | ip <address>
<subnet mask>]
|
Configures auto-signon with a specific port and realm for authentication.
|
Configuring SSO Authentication Using SiteMinder
This section describes configuring the ASA to support SSO with SiteMinder. You would typically choose to implement SSO with SiteMinder if your website security infrastucture already incorporates SiteMinder. With this method, SSO authentication is separate from AAA and happens once the AAA process completes.
Prerequisites
•
Specifying the SSO server.
•
Specifying the URL of the SSO server to which the ASA makes SSO authentication requests.
•
Specifying a secret key to secure the communication between the ASA and the SSO server. This key is similar to a password: you create it, save it, and enter it on both the ASA and the SiteMinder Policy Server using the Cisco Java plug-in authentication scheme.
Optionally, you can do the following configuration tasks in addition to the required tasks:
•
Configuring the authentication request timeout.
•
Configuring the number of authentication request retries.
Restrictions
If you want to configure SSO for a user or group for clientless SSL VPN access, you must first configure a AAA server, such as a RADIUS or LDAP server. You can then set up SSO support for clientless SSL VPN.
Detailed Steps
This section presents specific steps for configuring the ASA to support SSO authentication with CA SiteMinder. To configure SSO with SiteMinder, perform the following steps:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
sso-server with the type option
Example:
hostname(config)# webvpn
hostname(config-webvpn)# sso-server Example type
siteminder
hostname(config-webvpn-sso-siteminder)#
|
Creates an SSO server.
Creates an SSO server named Example of type siteminder.
|
Step 3
|
config-webvpn-sso-siteminder
|
Switches to site minder configuration mode.
|
Step 4
|
web-agent-url
Example:
hostname(config-webvpn-sso-siteminder)#
web-agent-url http://www.Example.com/webvpn
hostname(config-webvpn-sso-siteminder)#
|
Specifies the authentication URL of the SSO server.
Sends authentication requests to the URL http://www.Example.com/webvpn.
|
Step 5
|
policy-server-secret
Example:
hostname(config-webvpn-sso-siteminder)#
policy-server-secret AtaL8rD8!
hostname(config-webvpn-sso-siteminder)#
|
Specifies a secret key to secure the authentication communication between the ASA and SiteMinder.
Creates a secret key AtaL8rD8!. You can create a key of any length using any regular or shifted alphanumeric character, but you must enter the same key on both the ASA and the SSO server.
|
Step 6
|
request-timeout
Example:
hostname(config-webvpn-sso-siteminder)#
request-timeout 8
hostname(config-webvpn-sso-siteminder)#
|
Configures the number of seconds before a failed SSO authentication attempt times out. The default number of seconds is 5, and the possible range is 1 to 30.
Changes the number of seconds before a request times out to 8.
|
Step 7
|
max-retry-attempts
Example:
hostname(config-webvpn-sso-siteminder)#
max-retry-attempts 4
hostname(config-webvpn-sso-siteminder)#
|
Configures the number of times the ASA retries a failed SSO authentication attempt before the authentication times out. The default is 3 retry attempts, and the possible range is 1 to 5 attempts.
Configures the number of retries to 4.
|
Step 8
|
username-webvpn
group-policy-webvpn
|
If specifying authentication for a user. If specifying authentication for a group.
|
Step 9
|
sso-server value
Example:
hostname(config)# username Anyuser attributes
hostname(config-username)# webvpn
hostname(config-username-webvpn)# sso-server value
Example
hostname(config-username-webvpn)#
|
Specifies the SSO authentication for either a group or a user.
Assigns the SSO server named Example to the user named Anyuser.
|
Step 10
|
test sso-server
Example:
hostname# test sso-server Example username Anyuser
INFO: Attempting authentication request to
sso-server Example for user Anyuser
hostname#
|
Tests the SSO server configuration.
Tests the SSO server named Example using the username Anyuser.
|
Adding the Cisco Authentication Scheme to SiteMinder
In addition to configuring the ASA for SSO with SiteMinder, you must also configure your CA SiteMinder Policy Server with the Cisco authentication scheme, a Java plug-in you download from the Cisco web site.
Prerequisites
Configuring the SiteMinder Policy Server requires experience with SiteMinder.
Detailed Steps
This section presents general tasks, not a complete procedure. To configure the Cisco authentication scheme on your SiteMinder Policy Server, perform the following tasks:
Step 1
With the SiteMinder Administration utility, create a custom authentication scheme, being sure to use the following specific arguments:
•
In the Library field, enter smjavaapi.
•
In the Secret field, enter the same secret configured on the ASA.
You configure the secret on the ASA using the policy-server-secret command at the command line interface.
•
In the Parameter field, enter CiscoAuthApi.
Step 2
Using your Cisco.com login, download the file cisco_vpn_auth.jar from http://www.cisco.com/cisco/software/navigator.html and copy it to the default library directory for the SiteMinder server. This .jar file is also available on the Cisco ASA CD.
Configuring SSO Authentication Using SAML Browser Post Profile
This section describes configuring the ASA to support Security Assertion Markup Language (SAML), Version 1.1 POST profile Single Sign-On (SSO) for authorized users.
After a session is initiated, the ASA authenticates the user against a configured AAA method. Next, the ASA (the asserting party) generates an assertion to the relying party, the consumer URL service provided by the SAML server. If the SAML exchange succeeds, the user is allowed access to the protected resource. Figure 73-3 shows the communication flow:
Figure 73-3 SAML Communication Flow
Prerequisites
To configure SSO with an SAML Browser Post Profile, you must perform the following tasks:
•
Specify the SSO server with the sso-server command.
•
Specify the URL of the SSO server for authentication requests (the assertion-consumer-url command)
•
Specify the ASA hostname as the component issuing the authentication request (the issuer command)
•
Specify the trustpoint certificates use for signing SAML Post Profile assertions (the trustpoint command)
Optionally, in addition to these required tasks, you can do the following configuration tasks:
•
Configure the authentication request timeout (the request-timeout command)
•
Configure the number of authentication request retries (the max-retry-attempts command)
Restrictions
•
SAML SSO is supported only for clientless SSL VPN sessions.
•
The ASA currently supports only the Browser Post Profile type of SAML SSO Server.
•
The SAML Browser Artifact method of exchanging assertions is not supported.
Detailed Steps
This section presents specific steps for configuring the ASA to support SSO authentication with SAML Post Profile. To configure SSO with SAML-V1.1-POST, perform the following steps:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
sso-server with the type option
Example:
hostname(config-webvpn)# sso-server sample type
SAML-V1.1-post
hostname(config-webvpn-sso-saml)#
|
Creates an SSO server.
Creates an SSO server named Sample of type SAML-V1.1-POST.
|
Step 3
|
sso saml
|
Switches to webvpn-sso-saml configuration mode.
|
Step 4
|
assertion-consumer-url
Example:
hostname(config-webvpn-sso-saml)#
assertion-consumer-url http://www.sample.com/webvpn
hostname(config-webvpn-sso-saml)#
|
Specifies the authentication URL of the SSO server.
Sends authentication requests to the URL http://www.Example.com/webvpn.
|
Step 5
|
a unique string
Example:
hostname(config-webvpn-sso-saml)# issuer myasa
hostname(config-webvpn-sso-saml)#
|
Identifies the ASA itself when it generates assertions. Typically, this issuer name is the hostname for the ASA.
|
Step 6
|
trust-point
hostname(config-webvpn-sso-saml)# trust-point
mytrustpoint
|
Specifies the identification certificate for signing the assertion.
|
Step 7
|
(Optional)
request-timeout
Example:
hostname(config-webvpn-sso-saml)# request-timeout 8
hostname(config-webvpn-sso-saml)#
|
Configures the number of seconds before a failed SSO authentication attempt times out.
Sets the number of seconds before a request times out to 8. The default number of seconds is 5, and the possible range is 1 to 30 seconds.
|
Step 8
|
(Optional)
max-retry-attempts
Example:
hostname(config-webvpn-sso-saml)# max-retry-attempts
4
hostname(config-webvpn-sso-saml)#
|
Configures the number of times the ASA retries a failed SSO authentication attempt before the authentication times out.
Sets the number of retries to 4. The default is 3 retry attempts, and the possible range is 1 to 5 attempts.
|
Step 9
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 10
|
group-policy-webvpn
username-webvpn
|
If assigning an SSO server to a group policy. If assigning an SSO server to a user policy.
|
Step 11
|
sso-server value
Example:
hostname(config)# username Anyuser attributes
hostname(config-username)# webvpn
hostname(config-username-webvpn)# sso-server value
sample
hostname(config-username-webvpn)#
|
Specifies SSO authentication for either a group or a user.
Assigns the SSO server named Example to the user named Anyuser.
|
Step 12
|
test sso-server
Example:
hostname# test sso-server Example username Anyuser
INFO: Attempting authentication request to
sso-server sample for user Anyuser
hostname(config-webvpn-sso-saml)#
|
(Privileged exec mode) Tests the SSO server configuration.
Tests the SSO server Example using the username Anyuser.
|
Configuring the SAML POST SSO Server
Use the SAML server documentation provided by the server software vendor to configure the SAML server in Relying Party mode.The following steps list the specific parameters required to configure the SAML Server for Browser Post Profile:
Detailed Steps
Step 1
Configure the SAML server parameters to represent the asserting party (the ASA):
•
Recipient consumer URL (same as the assertion consumer URL configured on the ASA)
•
Issuer ID, a string, usually the hostname of appliance
•
Profile type -Browser Post Profile
Step 2
Configure certificates.
Step 3
Specify that asserting party assertions must be signed.
Step 4
Select how the SAML server identifies the user:
•
Subject Name Type is DN
•
Subject Name format is uid=<user>
Configuring SSO with the HTTP Form Protocol
This section describes using the HTTP Form protocol for SSO. HTTP Form protocol is an approach to SSO authentication that can also qualify as a AAA method. It provides a secure method for exchanging authentication information between users of clientless SSL VPN and authenticating web servers. You can use it in conjunction with other AAA servers such as RADIUS or LDAP servers.Prerequisites
To configure SSO with the HTTP protocol correctly, you must have a thorough working knowledge of authentication and HTTP protocol exchanges.
Restrictions
As a common protocol, it is applicable only when the following conditions are met for the web server application used for authentication:
•
The web form must not have dynamic parameters that are relevant for authentication (such as parameters set by JavaScript or unique for each request).
•
The authentication cookie must be set for successful request and not set for unauthorized logons. In this case, ASA cannot distinguish successful from failed authentication.
Detailed Steps
The ASA again serves as a proxy for users of clientless SSL VPN to an authenticating web server but, in this case, it uses HTTP Form protocol and the POST method for requests. You must configure the ASA to send and receive form data. Figure 73-4 illustrates the following SSO authentication steps:
Step 1
A user of clientless SSL VPN first enters a username and password to log into the clientless SSL VPN server on the ASA.
Step 2
The clientless SSL VPN server acts as a proxy for the user and forwards the form data (username and password) to an authenticating web server using a POST authentication request.
Step 3
If the authenticating web server approves the user data, it returns an authentication cookie to the clientless SSL VPN server where it is stored on behalf of the user.
Step 4
The clientless SSL VPN server establishes a tunnel to the user.
Step 5
The user can now access other websites within the protected SSO environment without reentering a username and password.
Figure 73-4 SSO Authentication Using HTTP Forms
While you would expect to configure form parameters that let the ASA include POST data such as the username and password, you initially might not be aware of additional hidden parameters that the web server requires. Some authentication applications expect hidden data which is neither visible to nor entered by the user. You can, however, discover hidden parameters the authenticating web server expects by making a direct authentication request to the web server from your browser without the ASA in the middle acting as a proxy. Analyzing the web server response using an HTTP header analyzer reveals hidden parameters in a format similar to the following:
<param name>=<URL encoded value>&<param name>=<URL encoded>
Some hidden parameters are mandatory and some are optional. If the web server requires data for a hidden parameter, it rejects any authentication POST request that omits that data. Because a header analyzer does not tell you if a hidden parameter is mandatory or not, we recommend that you include all hidden parameters until you determine which are mandatory.
To configure SSO with the HTTP Form protocol, you must perform the following:
•
Configure the uniform resource identifier on the authenticating web server to receive and process the form data (action-uri).
•
Configure the username parameter (user-parameter).
•
Configure the user password parameter (password-parameter).
You might also need to do the following tasks depending upon the requirements of authenticating web server:
•
Configure a starting URL if the authenticating web server requires a pre-login cookie exchange (start-url).
•
Configure any hidden authentication parameters required by the authenticating web server (hidden-parameter).
•
Configure the name of an authentication cookie set by the authenticating web server (auth-cookie-name).
| |
Command
|
Purpose
|
Step 1
|
aaa-server-host
|
Switches to the aaa-server-host configuration mode.
|
Step 2
|
start-url
Example:
hostname(config)# aaa-server testgrp1 protocol
http-form
hostname(config)# aaa-server testgrp1 host 10.0.0.2
hostname(config-aaa-server-host)# start-url
http://example.com/east/Area.do?Page-Grp1
hostname(config-aaa-server-host)#
|
If the authenticating web server requires it, specifies the URL from which to retrieve a pre-login cookie from the authenticating web server.
Specifies the authenticating web server URL http://example.com/east/Area.do?Page-Grp1 in the testgrp1 server group with an IP address of 10.0.0.2.
|
Step 3
|
action-uri
Example:
hostname#
To specify this action URI, enter the following
commands:
hostname(config-aaa-server-host)# action-uri
http://www.example.com/auth/index.htm
hostname(config-aaa-server-host)# action-uri
l/appdir/authc/forms/MCOlogin.fcc?TYP
hostname(config-aaa-server-host)# action-uri
554433&REALMOID=06-000a1311-a828-1185
hostname(config-aaa-server-host)# action-uri
-ab41-8333b16a0008&GUID=&SMAUTHREASON
hostname(config-aaa-server-host)# action-uri
=0&METHOD=GET&SMAGENTNAME=$SM$5FZmjnk
hostname(config-aaa-server-host)# action-uri
3DRNwNjk2KcqVCFbIrNT9%2bJ0H0KPshFtg6r
hostname(config-aaa-server-host)# action-uri
B1UV2PxkHqLw%3d%3d&TARGET=https%3A%2F
hostname(config-aaa-server-host)# action-uri
%2Fauth.example.com
hostname(config-aaa-server-host)#
|
Specifies a URI for an authentication program on the authenticating web server.
A URI can be entered on multiple, sequential lines. The maximum number of characters per line is 255. The maximum number of characters for a complete URI is 2048.
You must include the hostname and protocol in the action URI. In this example, these appear at the start of the URI in http://www.example.com.
|
Step 4
|
user-parameter
Example:
hostname(config-aaa-server-host)# user-parameter
userid
hostname(config-aaa-server-host)#
|
Configures a username parameter for the HTTP POST request.
Configures the username parameter userid.
|
Step 5
|
password-parameter
Example:
hostname(config-aaa-server-host)# password-parameter
user_password
hostname(config-aaa-server-host)#
|
Configures a user password parameter for the HTTP POST request.
Configures a user password parameter named user_password.
|
Step 6
|
hidden-parameter
Example:
SMENC=ISO-8859-1&SMLOCALE=US-EN&target=https%3A%2F%2
Fwww.example.com%2Femco%2Fappdir%2FAreaRoot.do%3FEMC
OPageCode%3DENG&smauthreason=0
To specify this hidden parameter, enter the
following commands:
hostname(config)# aaa-server testgrp1 host
example.com
hostname(config-aaa-server-host)# hidden-parameter
SMENC=ISO-8859-1&SMLOCALE=US-EN&targe
hostname(config-aaa-server-host)# hidden-parameter
t=https%3A%2F%2Fwww.example.com%2Femc
hostname(config-aaa-server-host)# hidden-parameter
o%2Fappdir%2FAreaRoot.do%3FEMCOPageCo
hostname(config-aaa-server-host)# hidden-parameter
de%3DENG&smauthreason=0
hostname(config-aaa-server-host)#
|
Specifies hidden parameters for exchange with the authenticating web server.
Shows an example hidden parameter excerpted from a POST request. This hidden parameter includes four form entries and their values, separated by &. The four entries and their values are:
• SMENC with a value of ISO-8859-1.
• SMLOCALE with a value of US-EN.
• target with a value of https%3A%2F%2Fwww.example.com%2Femco%2Fappdir%2FAreaRoot.do.
• %3FEMCOPageCode%3DENG.
• smauthreason with a value of 0.
|
Step 7
|
(Optional)
auth-cookie-name
Example:
hostname(config-aaa-server-host)# auth-cookie-name
SsoAuthCookie
hostname(config-aaa-server-host)#
|
Specifies the name for the authentication cookie.
Specifies the authentication cookie name of SsoAuthCookie.
|
Step 8
|
tunnel-group general-attributes
|
Switches to tunnel-group general-attributes configuration mode.
|
Step 9
|
authentication-server-group
Example:
hostname(config)# tunnel-group testgroup
general-attributes
hostname(config-tunnel-general)#authentication-serve
r-group testgrp1
|
Configures a tunnel-group to use the SSO server configured in the previous steps.
Configures the tunnel-group named /testgroup/ to use the SSO server(s) named /testgrp1/".
|
Step 10
|
aaa-server-host
|
Switches to aaa-server-host configuration mode.
|
Step 11
|
hidden-parameter
Example:
SMENC=ISO-8859-1&SMLOCALE=US-EN&target=https%3A%2F%2
Fwww.example.com%2Femco%2Fappdir%2FAreaRoot.do%3FEMC
OPageCode%3DENG&smauthreason=0
To specify this hidden parameter, enter the
following commands:
hostname(config)# aaa-server testgrp1 host
example.com
hostname(config-aaa-server-host)# hidden-parameter
SMENC=ISO-8859-1&SMLOCALE=US-EN&targe
hostname(config-aaa-server-host)# hidden-parameter
t=https%3A%2F%2Fwww.example.com%2Femc
hostname(config-aaa-server-host)# hidden-parameter
o%2Fappdir%2FAreaRoot.do%3FEMCOPageCo
hostname(config-aaa-server-host)# hidden-parameter
de%3DENG&smauthreason=0
hostname(config-aaa-server-host)#
|
Specifies hidden parameters for exchange with the authenticating web server.
Shows an example hidden parameter excerpted from a POST request. This hidden parameter includes four form entries and their values, separated by &. The four entries and their values are:
• SMENC with a value of ISO-8859-1.
• SMLOCALE with a value of US-EN.
• target with a value of https%3A%2F%2Fwww.example.com%2Femco%2Fappdir%2FAreaRoot.do.
• %3FEMCOPageCode%3DENG.
• smauthreason with a value of 0.
|
Step 12
|
(Optional)
auth-cookie-name
Example:
hostname(config-aaa-server-host)# auth-cookie-name
SsoAuthCookie
hostname(config-aaa-server-host)#
|
Specifies the name for the authentication cookie.
Specifies the authentication cookie name of SsoAuthCookie.
|
Step 13
|
tunnel-group general-attributes
|
Switches to tunnel-group general-attributes mode.
|
Step 14
|
authentication-server-group
Example:
hostname(config)# tunnel-group testgroup
general-attributes
hostname(config-tunnel-general)#authentication-serve
r-group testgrp1
|
Configures a tunnel-group to use the SSO server configured in the previous steps.
Configures the tunnel-group named /testgroup/ to use the SSO server(s) named /testgrp1/".
|
Gathering HTTP Form Data
This section presents the steps for discovering and gathering necessary HTTP Form data. If you do not know what parameters the authenticating web server requires, you can gather parameter data by analyzing an authentication exchange using the following steps:
Prerequisites
These steps require a browser and an HTTP header analyzer.
Detailed Steps
Step 1
Start your browser and HTTP header analyzer, and connect directly to the web server login page without going through the ASA.
Step 2
After the web server login page has loaded in your browser, examine the login sequence to determine if a cookie is being set during the exchange. If the web server has loaded a cookie with the login page, configure this login page URL as the start-URL.
Step 3
Enter the username and password to log in to the web server, and press Enter. This action generates the authentication POST request that you examine using the HTTP header analyzer.
An example POST request—with host HTTP header and body—follows:
INFO: Attempting authentication request to
sso-server sample for user Anyuser
INFO: STATUS: Success
http://www.example.com/auth/index.html/appdir/authc/
forms/MCOlogin.fcc?TYPE=33554433&REALMOID=06-000a131
1-a828-1185-ab41-8333b16a0008&GUID=&SMAUTHREASON=0&M
ETHOD=GET&SMAGENTNAME=$SM$5FZmjnk3DRNwNjk2KcqVCFbIrN
T9%2bJ0H0KPshFtg6rB1UV2PxkHqLw%3d%3d&TARGET=https%3A
%2F%2Fauth.example.com
POST /emco/myemco/authc/forms/MCOlogin.fcc?TYPE=33554433&REALMOID=06-000430e1-7443-125c-ac05-83846dc90034&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$5FZmjnk3DRNwNjk2KcqVCFbIrNT9%2bJ0H0KPshFtg6rB1UV2PxkHqLw%3d%3d&TARGET=https%3A%2F%2Fwww.example.com%2Femco%2Fmyemco%2FHTTP/1.1
Step 4
Examine the POST request and copy the protocol, host, and the complete URL to configure the action-uri parameter.
Step 5
Examine the POST request body and copy the following:
a.
Username parameter. In the preceding example, this parameter is USERID, not the value anyuser.
b.
Password parameter. In the preceding example, this parameter is USER_PASSWORD.
c.
Hidden parameter. This parameter is everything in the POST body except the username and password parameters. In the preceding example, the hidden parameter is: SMENC=ISO-8859-1&SMLOCALE=US-EN&target=https%3A%2F%2Fwww.example.com%2Femco%2Fmyemco%2F&smauthreason=0
Figure 73-5 highlights the action URI, hidden, username and password parameters within sample output from an HTTP analyzer. This is only an example; output varies widely across different websites.
Figure 73-5 Action-uri, hidden, username and password parameters
1
|
Action URI parameter
|
2
|
Hidden parameters
|
3
|
Username and password parameters
|
Step 6
If you successfully log in to the web server, examine the server response with the HTTP header analyzer to locate the name of the session cookie set by the server in your browser. This is the auth-cookie-name parameter.
In the following server response header, the name of the session cookie is SMSESSION. You just need the name, not the value.
Figure 73-6 shows an example of authorization cookies in HTTP analyzer output. This is only an example; output varies widely across different websites.
Figure 73-6 Authorization cookies in sample HTTP analyzer output
Step 7
In some cases, the server may set the same cookie regardless of whether the authentication was successful or not, and such a cookie is unacceptable for SSO purposes. To confirm that the cookies are different, repeat Step 1 through Step 6 using invalid login credentials and then compare the "failure" cookie with the "success" cookie.
You now have the necessary parameter data to configure the ASA for SSO with HTTP Form protocol.
Configuring SSO for Plug-ins
Plug-ins support single sign-on (SSO). They use the same credentials (username and password) entered to authenticate the clientless SSL VPN session. Because the plug-ins do not support macro substitution, you do not have the option to perform SSO on different fields, such as the internal domain password or the attribute on a RADIUS or LDAP server.
To configure SSO support for a plug-in, you install the plug-in and add a bookmark entry to display a link to the server, specifying SSO support using the csco_sso=1 parameter. The following examples show plug-in bookmarks enabled for SSO:
ssh://ssh-server/?cisco_sso=1
rdp://rdp-server/?Parameter1=value&Parameter2=value&csco_sso=1
Configuring SSO with Macro Substitution
This section describes using macro substitution for SSO. Configuring SSO with macro substitution allows for you to inject certain variables into bookmarks to substitute for dynamic values.

Note
Smart tunnel bookmarks support auto-signon but not variable substitution. For example, a SharePoint bookmark configured for smart tunnel uses the same username and password credentials to log into the application as the credentials used to log into clientless SSL VPN. You can use variable substitutions and auto signon simultaneously or separately.
You can now use bookmarks with macro substitutions for auto sign-on on some web pages. The former POST plug-in approach was created so that administrators could specify a POST bookmark with sign-on macros and receive a kick-off page to load prior to posting the POST request. This POST plug-in approach eliminated those requests that required the presence of cookies or other header items. Now an an administrator determines the pre-load page and URL, which specifies where you want the post login request sent. A pre-load page enables an endpoint browser to fetch certain information that is sent along to the webserver or web application rather than just using a POST request with credentials.
The following variables (or macros) allow for substitutions in bookmarks and forms-based HTTP POST operations:
•
CSCO_WEBVPN_USERNAME — user login ID
•
CSCO_WEBVPN_PASSWORD — user login password
•
CSCO_WEBVPN_INTERNAL_PASSWORD — user internal (or domain) password. This cached credential is not authenticated against a AAA server. When you enter this value, the security appliance uses it as the password for auto signon, instead of the password/primary password value.
Note
You cannot use any of these three variables in GET-based http(s) bookmarks. Only POST-based http(s) and cifs bookmarks can use these variables.
•
CSCO_WEBVPN_CONNECTION_PROFILE —user login group drop-down (connection profile alias)
•
CSCO_WEBVPN_MACRO1 — set with the RADIUS-LDAP Vendor Specific Attribute (VSA). If you are mapping from LDAP with an ldap-attribute-map command, use the WebVPN-Macro-Substitution-Value1 Cisco attribute for this macro. See the Active Directory ldap-attribute-mapping examples at http://www.cisco.com/en/US/docs/security/asa/asa83/configuration/guide/ref_extserver.html#wp1572118.
The CSCO_WEBVPN_MACRO1 macro substitution with RADIUS is performed by VSA#223 (see Table 73-1).
Table 73-1 VSA#223
WebVPN-Macro-Value1
|
Y
|
223
|
String
|
Single
|
Unbounded
|
WebVPN-Macro-Value2
|
Y
|
224
|
String
|
Single
|
Unbounded
|
A value such as www.cisco.com/email dynamically populates a bookmark on the Clientless SSL VPN portal, such as https://CSCO_WEBVPN_MACRO1 or https://CSCO_WEBVPN_MACRO2 for the particular DAP or group policy.
•
CSCO_WEBVPN_MACRO2 —set with RADIUS-LDAP Vendor Specific Attribute (VSA). If you are mapping from LDAP with an ldap-attribute-map command, use the WebVPN-Macro-Substitution-Value2 Cisco attribute for this macro. See the Active Directory ldap-attribute-mapping examples at http://www.cisco.com/en/US/docs/security/asa/asa83/configuration/guide/ref_extserver.html#wp1572118.
The CSCO_WEBVPN_MACRO2 macro substitution with RADIUS is performed by VSA#224 (see Table 73-1).
Each time clientless SSL VPN recognizes one of these six strings in an end-user request (in the form of a bookmark or Post Form), it replaces the string with the user-specified value and then passes the request to a remote server.
If the lookup of the username and password fails on the ASA, an empty string is substituted, and the behavior converts back as if no auto sign-in is available.
Encoding
This pane lets you view or specify the character encoding for clientless SSL VPN portal pages.
Character encoding, also called "character coding" and "a character set," is the pairing of raw data (such as 0s and 1s) with characters to represent the data. The language determines the character encoding method to use. Some languages use a single method, while others do not. Usually, the geographic region determines the default encoding method used by the browser, but the remote user can change it. The browser can also detect the encoding specified on the page, and render the document accordingly.
The encoding attribute lets you specify the value of the character-encoding method used on the portal page to ensure that the browser renders it properly, regardless of the region in which the user is using the browser, and regardless of any changes made to the browser.
By default, the ASA applies the "Global Encoding Type" to pages from Common Internet File System servers. The mapping of CIFS servers to their appropriate character encoding, globally with the "Global Encoding Type" attribute, and individually with the file-encoding exceptions displayed in the table, provides for the accurate handling and display of CIFS pages when the proper rendering of filenames or directory paths, as well as pages, is an issue.
Detailed Steps
Step 1
Global Encoding Type determines the character encoding that all clientless SSL VPN portal pages inherit except for those from the CIFS servers listed in the table. You can type the string or choose one of the options from the drop-down list, which contains the most common values, as follows:
•
big5
•
gb2312
•
ibm-850
•
iso-8859-1
•
shift_jis
Note
If you are using Japanese Shift_jis Character encoding, click Do not specify in the Font Family area of the associated Select Page Font pane to remove the font family.
•
unicode
•
windows-1252
•
none
Note
If you click none or specify a value that the browser on the clientless SSL VPN session does not support, it uses its own default encoding.
You can type a string consisting of up to 40 characters, and equal to one of the valid character sets identified in http://www.iana.org/assignments/character-sets. You can use either the name or the alias of a character set listed on that page. The string is case-insensitive. The command interpreter converts upper-case to lower-case when you save the ASA configuration.
Step 2
Enter the name or IP address of a CIFS server for which the encoding requirement differs from the "Global Encoding Type" attribute setting. The ASA retains the case you specify, although it ignores the case when matching the name to a server.
Step 3
Choose the character encoding that the CIFS server should provide for clientless SSL VPN portal pages. You can type the string, or choose one from the drop-down list, which contains only the most common values, as follows:
•
big5
•
gb2312
•
ibm-850
•
iso-8859-1
•
shift_jis
Note
If you are using Japanese Shift_jis Character encoding, click Do not specify in the Font Family area of the associated Select Page Font pane to remove the font family.
•
unicode
•
windows-1252
•
none
If you click none or specify a value that the browser on the clientless SSL VPN session does not support, it uses its own default encoding.
You can type a string consisting of up to 40 characters, and equal to one of the valid character sets identified in http://www.iana.org/assignments/character-sets. You can use either the name or the alias of a character set listed on that page. The string is case-insensitive. The command interpreter converts upper-case to lower-case when you save the ASA configuration.
Authenticating with Digital Certificates
Clientless SSL VPN users that authenticate using digital certificates do not use global authentication and authorization settings. Instead, they use an authorization server to authenticate once the certificate validation occurs. For more information on authentication and authorization using digital certificates, see the "Using Certificates and User Login Credentials" section.
Creating and Applying Clientless SSL VPN Policies for Accessing Resources
Creating and applying policies for clientless SSL VPN that govern access to resources at the central site includes the following task:
•
Assigning Users to Group Policies
Chapter 66 "Configuring Connection Profiles, Group Policies, and Users" includes step-by-step instructions for all of these tasks.
Assigning Users to Group Policies
Assigning users to group policies simplifies the configuration by letting you apply policies to many users. You can use an internal authentication server on the ASA or an external RADIUS or LDAP server to assign users to group policies. See Chapter 66 "Configuring Connection Profiles, Group Policies, and Users"for a thorough explanation of ways to simplify configuration with group policies.
Using the Security Appliance Authentication Server
You can configure users to authenticate to the ASA internal authentication server, and assign these users to a group policy on the ASA.
Using a RADIUS Server
Using a RADIUS server to authenticate users, assign users to group policies by following these steps:
Step 1
Authenticate the user with RADIUS and use the Class attribute to assign that user to a particular group policy.
Step 2
Set the class attribute to the group policy name in the format OU=group_name
For example, to assign a clientless SSL VPN user to the SSL_VPN group, set the RADIUS Class Attribute to a value of OU=SSL_VPN; (Do not omit the semicolon.)
Using an LDAP Server
Using an LDAP server to authenticate users, assign users to group policies by following these steps:
Step 1
Authenticate the user with LDAP and use the Group Policy attribute to assign that user to a particular group policy.
Step 2
Set the Group Policy attribute to the group policy name in one of these formats:
•
<group policy name>
•
OU=<group policy name>
•
OU=<group policy name>;
For example, to assign a clientless SSL VPN user to the SSL_VPN group, set the LDAP Group Policy Attribute to a value of SSL_VPN, OU=SSL_VPN, or OU=SSL_VPN;.
Configuring Connection Profile Attributes for Clientless SSL VPN
Table 73-2 provides a list of connection profile attributes that are specific to clientless SSL VPN. In addition to these attributes, you configure general connection profile attributes common to all VPN connections. For step-by-step information on configuring connection profiles, see Chapter 66 "Configuring Connection Profiles, Group Policies, and Users."
Note
In earlier releases, "connection profiles" were known as "tunnel groups." You configure a connection profile with tunnel-group commands. This chapter often uses these terms interchangeably.
Table 73-2 Connection Profile Attributes for Clientless SSL VPN
Command
|
Function
|
authentication
|
Sets the authentication method.
|
customization
|
Identifies the name of a previously defined customization to apply.
|
nbns-server
|
Identifies the name of the NetBIOS Name Service server (nbns-server) to use for CIFS name resolution.
|
group-alias
|
Specifies the alternate names by which the server can refer to a connection profile.
|
group-url
|
Identifies one or more group URLs. If you configure this attribute, users coming in on a specified URL need not select a group at login.
|
dns-group
|
Identifies the DNS server group that specifies the DNS server name, domain name, name server, number of retries, and timeout values .
|
hic-fail-group-poli
cy
|
Specifies a VPN feature policy if you use the Cisco Secure Desktop Manager to set the Group-Based Policy attribute to "Use Failure Group-Policy" or "Use Success Group-Policy, if criteria match."
|
override-svc-downlo
ad
|
Overrides downloading the group-policy or username attributes configured for downloading the AnyConnect VPN client to the remote user.
|
radius-reject-messa
ge
|
Enables the display of the RADIUS reject message on the login screen when authentication is rejected.
|
Configuring Group Policy and User Attributes for Clientless SSL VPN
Table 73-3 provides a list of group policy and user attributes for clientless SSL VPN. For step-by-step instructions on configuring group policy and user attributes, see "Configuring Group Policies" and "Configuring Attributes for Specific Users" or in Chapter 66 "Configuring Connection Profiles, Group Policies, and Users."
.
Table 73-3 Group Policy and User Attributes for Clientless SSL VPN
Command
|
Function
|
activex-relay
|
Lets a user who has established a clientless SSL VPN session use the browser to launch Microsoft Office applications. The applications use the session to download and upload Microsoft Office documents. The ActiveX relay remains in force until the clientless SSL VPN session closes.
|
auto-signon
|
Sets values for auto signon, which requires only that the user enter username and password credentials only once for a clientless SSL VPN connection.
|
customization
|
Assigns a customization object to a group-policy or user.
|
deny-message
|
Specifies the message delivered to a remote user who logs into clientless SSL VPN successfully, but has no VPN privileges.
|
file-browsing
|
Enables CIFS file browsing for file servers and shares. Browsing requires NBNS (Master Browser or WINS).
|
file-entry
|
Allows users to enter file server names to access.
|
filter
|
Sets the name of the webtype access list.
|
hidden-shares
|
Controls the visibility of hidden shares for CIFS files.
|
homepage
|
Sets the URL of the web page that displays upon login.
|
html-content-filter
|
Configures the content and objects to filter from the HTML for this group policy.
|
http-comp
|
Configures compression.
|
http-proxy
|
Configures the ASA to use an external proxy server to handle HTTP requests.
|
keep-alive-ignore
|
Sets the maximum object size to ignore for updating the session timer.
|
port-forward
|
Applies a list of clientless SSL VPN TCP ports to forward. The user interface displays the applications on this list.
|
post-max-size
|
Sets the maximum object size to post.
|
smart-tunnel
|
Configures a list of programs to use smart tunnel.
|
sso-server
|
Sets the name of the SSO server.
|
storage-objects
|
Configures storage objects for the data stored between sessions.
|
svc
|
Configures SSL VPN Client attributes.
|
unix-auth-gid
|
Sets the UNIX group ID.
|
unix-auth-uid
|
Sets the UNIX user ID.
|
upload-max-size
|
Sets the maximum object size to upload.
|
url-entry
|
Controls the ability of the user to enter any HTTP/HTTP URL.
|
url-list
|
Applies a list of servers and URLs that clientless SSL VPN portal page displays for end user access.
|
user-storage
|
Configures a location for storing user data between sessions.
|
Configuring Browser Access to Plug-ins
The following sections describe the integration of browser plug-ins for clientless SSL VPN browser access:
•
Preparing the Security Appliance for a Plug-in
•
Installing Plug-ins Redistributed By Cisco
•
Providing Access to Third-Party Plug-ins
•
Providing Access to a Citrix Java Presentation Server
A browser plug-in is a separate program that a web browser invokes to perform a dedicated function, such as connect a client to a server within the browser window. The ASA lets you import plug-ins for download to remote browsers in clientless SSL VPN sessions. Of course, Cisco tests the plug-ins it redistributes, and in some cases, tests the connectivity of plug-ins we cannot redistribute. However, we do not recommend importing plug-ins that support streaming media at this time.
Note
Per the GNU General Public License (GPL), Cisco redistributes plug-ins without having made any changes to them. Per the GPL, Cisco cannot directly enhance these plug-ins.
The ASA does the following when you install a plug-in onto the flash device:
•
(Cisco-distributed plug-ins only) Unpacks the jar file specified in the URL.
•
Writes the file to the Host: www.example.com directory on the ASA file system.
•
Populates the drop-down menu next to the URL attributes in ASDM.
•
Enables the plug-in for all future clientless SSL VPN sessions, and adds a main menu option and an option to the drop-down menu next to the Address field of the portal page.
Table 73-4 shows the changes to the main menu and address field of the portal page when you add the plug-ins described in the following sections.
Table 73-4 Effects of Plug-ins on the Clientless SSL VPN Portal Page
Plug-in
|
Main Menu Option Added to Portal Page
|
Address Field Option Added to Portal Page
|
ica
|
Citrix Client
|
ica://
|
rdp
|
Terminal Servers
|
rdp://
|
rdp2
|
Terminal Servers Vista
|
rdp2://
|
ssh,telnet
|
SSH
|
ssh://
|
Telnet
|
telnet://
|
vnc
|
VNC Client
|
vnc://
|
When the user in a clientless SSL VPN session clicks the associated menu option on the portal page, the portal page displays a window to the interface and displays a help pane. The user can select the protocol displayed in the drop-down menu and enter the URL in the Address field to establish a connection.
Some Java plug-ins may report a status of connected or online even when a session to the destination service is not set up. The open-source plug-in reports the status, not the ASA.
The plug-ins support single sign-on (SSO). Refer to the "Configuring SSO with the HTTP Form Protocol" section for implementation details.
The minimum access rights required for remote use belong to the guest privilege mode.
Prerequisites
•
Clientless SSL VPN must be enabled on the ASA to provide remote access to the plug-ins.
•
To configure SSO support for a plug-in, you install the plug-in, add a bookmark entry to display a link to the server, and specify SSO support when adding the bookmark.
•
The minimum access rights required for remote use belong to the guest privilege mode.
•
Plug-ins require ActiveX or Sun JRE 5, Update 1.4 or later (JRE 6 or later recommended) to be enabled on the browser. An ActiveX version of the RDP plug-in is unavailable for 64-bit browsers.
Restrictions
•
The plug-ins do not work if the security appliance configures the clientless session to use a proxy server.
Note
The remote desktop protocol plug-in does not support load balancing with a session broker. Because of the way the protocol handles the redirect from the session broker, the connection fails. If a session broker is not used, the plug-in works.
•
The plug-ins support single sign-on (SSO). They use the same credentials entered to open the clientless SSL VPN session. Because the plug-ins do not support macro substitution, you do not have the options to perform SSO on different fields such as the internal domain password or on an attribute on a RADIUS or LDAP server.
•
A stateful failover does not retain sessions established using plug-ins. Users must reconnect following a failover.
•
If you use stateless failover instead of stateful failover, clientless features such as bookmarks, customization, and dynamic access-policies are not synchronized between the failover ASA pairs. In the event of a failover, these features do not work.
Preparing the Security Appliance for a Plug-in
Before installing a plug-in, prepare the ASA as follows:
Prerequisites
Make sure clientless SSL VPN ("webvpn") is enabled on a ASA interface.
Restrictions
Do not specify an IP address as the common name (CN) for the SSL certificate. The remote user attempts to use the FQDN to communicate with the ASA. The remote PC must be able to use DNS or an entry in the System32\drivers\etc\hosts file to resolve the FQDN.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
show running-config
|
Shows whether webvpn is enabled on the ASA.
|
Step 2
|
Install an SSL certificate onto the ASA interface
|
Provides a fully-qualified domain name (FQDN) for remote user connection.
|
Go to the section that identifies the type of plug-in you want to provide for clientless SSL VPN access.
•
Installing Plug-ins Redistributed By Cisco
•
Providing Access to Third-Party Plug-ins
Installing Plug-ins Redistributed By Cisco
Cisco redistributes the following open-source, Java-based components to be accessed as plug-ins for web browsers in clientless SSL VPN sessions.
Prerequisites
•
Make sure clientless SSL VPN ("webvpn") is enabled on an interface on the ASA. To do so, enter the show running-config command.
•
Create a temporary directory named "plugins" on a local TFTP or FTP server (for example, with the hostname "local_tftp_server"), and download the plug-ins from the Cisco web site to the "plugins" directory.
Restrictions
Table 73-5 Plug-ins Redistributed by Cisco
Cisco Download Link
|
Protocol
|
Description
|
Source of Redistributed Plug-in *
|
rdp-plugin.090915.jar
|
RDP
|
Accesses Microsoft Terminal Services hosted by Windows Vista and Windows 2003 R2.
Supports Remote Desktop ActiveX Control.
We recommend using this plug-in that supports both RDP and RDP2. Only versions up to 5.2 of the RDP and RDP2 protocols are supported. Version 5.2 and later are not supported.
|
Cisco redistributes this plug-in without any changes to it per GNU General Public License. The original source of the redistributed plug-in is http://properjavardp.sourceforge.net/
|
rdp2-plugin.090211.jar
|
RDP2
|
Accesses Microsoft Terminal Services hosted by Windows Vista and Windows 2003 R2.
Supports Remote Desktop ActiveX Control.
Note This legacy plug-in supports only RDP2.
|
Cisco redistributes this plug-in without any changes to it per the GNU General Public License. The original source of the redistributed plug-in is http://properjavardp.sourceforge.net/
|
rdp-plugin.080506.jar
|
RDP
|
Accesses Microsoft Terminal Services hosted by Windows 2003 R1.
Supports Remote Desktop ActiveX Control.
Note This legacy plug-in supports only RDP.
|
Cisco redistributes this plug-in without any changes to it per the GNU General Public License. The source of the redistributed plug-in is http://properjavardp.sourceforge.net/
|
ssh-plugin.080430.jar
|
SSH
|
The Secure Shell-Telnet plug-in lets the remote user establish a Secure Shell (v1 or v2) or Telnet connection to a remote computer.
Note Because keyboard-interactive authentication is not supported by JavaSSH, it cannot be supported with SSH plugin. (Keyboard interactive is a generic authentication method used to implement different authentication mechanisms.)
|
Cisco redistributes this plug-in without any changes to it per the GNU General Public License. The web site containing the source of the redistributed plug-in is http://javassh.org/
|
vnc-plugin.080130.jar
|
VNC
|
The Virtual Network Computing plug-in lets the remote user use a monitor, keyboard, and mouse to view and control a computer with remote desktop sharing (also known as VNC server or service) turned on. This version changes the default color of the text and contains updated French and Japanese help files.
|
Cisco redistributes this plug-in without any changes to it per the GNU General Public License. The web site containing the source of the redistributed plug-in is http://www.tightvnc.com/
|
* Consult the plug-in documentation for information on deployment configuration and
restrictions.
These plug-ins are available on the Cisco Adaptive Security Appliance Software Download site.
Detailed Steps
Follow these steps to provide clientless SSL VPN browser access to a plug-in redistributed by Cisco.
Note
The ASA does not retain the import webvpn plug-in protocol command in the configuration. Instead, it loads the contents of the (BODY) directory automatically. A secondary ASA obtains the plug-ins from the primary ASA.
| |
Command
|
Purpose
|
Step 1
|
import webvpn plug-in protocol [ rdp | rdp2 |
ssh,telnet | vnc ] URL
Example:
hostname# import webvpn plug-in protocol ssh,telnet
tftp://local_tftp_server/plugins/ssh-plugin.jar
Accessing
tftp://local_tftp_server/plugins/ssh-plugin.jar...!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing file disk0:/csco_config/97/plugin/ssh...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!
238510 bytes copied in 3.650 secs (79503 bytes/sec)
|
Installs the plug-in onto the flash device of the ASA. protocol is one of the following values: ssh,telnet provides plug-in access to both Secure Shell and Telnet services.
Note Do not enter this command once for SSH and once for Telnet. When typing the ssh,telnet string, do not insert a space.
URL is the remote path to the plug-in .jar file. Enter the host name or address of the TFTP or FTP server and the path to the plug-in.
|
Step 2
|
(Optional)
revert webvpn plug-in protocol protocol
Example:
hostname# revert webvpn plug-in protocol rdp
|
Disables and removes clientless SSL VPN support for a plug-in, as well as removing it from the flash drive of the ASA.
|
Providing Access to Third-Party Plug-ins
The open framework of the security appliance lets you add plug-ins to support third-party Java client/server applications. The POST plug-in was developed to solve some key single sign-on (SSO) and homepage requirements for certain applications like Citrix Web Interface. This clientless SSL VPN plug-in as the following key capabilities:
•
The option to display the homepage for a Web application (such as Citrix) in the right frame, as part of the default clientless portal, or as the only frame in the page (completely hiding anything that is part of the Cisco portal).
•
The option for SSO on the homepage or with an application using WebVPN variables (also known as macros) (and therefore HTTP-POST parameters).
•
The option to preload a page before issuing a POST request. This option becomes necessary when a logon page for an application sets some cookies.
Restrictions
•
Cisco does not provide direct support for or recommend any particular plug-ins that are not redistributed by Cisco. As a provider of clientless SSL VPN services, you are responsible for reviewing and complying with any license agreements required for the use of plug-ins.
•
It is strictly an HTML/JavaScript code and not a JAVA plug-in. It contains no client components.
•
No support on Firefox. It is supported only on Internet Explorer and Mac Safari.
•
Does not support URLs with queries such as http://example.company.com/names?Login. The ? character is not supported.
•
A POST plug-in adds approximately a 10-second delay to make sure an intermediate page is fully loaded with all objects for an application. This delay is beneficial for an application such as Citrix where an intermediate page performs client detection functions.
Configuring and Applying the POST URL
POST plug-ins are configured with the customization object. For example, to make a Citrix portal as the homepage after Clientless SSL VPN login, follow these steps:
Detailed Steps
Step 1
Add the POST URL of the Citrix server to the customization object in the Custom Intranet Web Page URL field (see Figure 73-7).
For example, if the Citrix server URL is http://mycitrix-server.abcd.com/Citrix/AccessPlatform/auth/login.aspx, adding the POST URL, it becomes post://mycitrix-server.abcd.com/Citrix/AccessPlatform/auth/login.aspx?LoginType=Explicit&user=CSCO_WEBVPN_USERNAME&password=CSCO_WEBVPN_PASSWORD&csco_preload=http://mycitrix-server.abcd.com&csco_ispopup=yes.
Figure 73-7 SSL VPN Customization Editor Window
Step 2
Apply the customization object to the group or user.
For additional information on configuring SSO and the required parameters, refer to the SSL VPN deployment guide (http://www.cisco.com/en/US/docs/security/asa/asa80/asdm60/ssl_vpn_deployment_guide/deploy.html#wp1002989).
Providing Access to a Citrix Java Presentation Server
As an example of how to provide clientless SSL VPN browser access to third-party plug-ins, this section describes how to add clientless SSL VPN support for the Citrix Presentation Server Client.
With a Citrix plug-in installed on the ASA, clientless SSL VPN users can use a connection to the ASA to access Citrix MetaFrame services.
A stateful failover does not retain sessions established using the Citrix plug-in. Citrix users must reauthenticate after failover.
To provide access to the Citrix plug-in, follow the procedures in the following sections.
•
Preparing the Citrix MetraFrame Server for Clientless SSL VPN Access
•
Creating and Installing the Citrix Plug-in
Preparing the Citrix MetraFrame Server for Clientless SSL VPN Access
The ASA performs the connectivity functions of the Citrix secure gateway when the Citrix client connects to the Citrix MetaFrame Server. Therefore, you must configure the Citrix Web Interface software to operate in a mode that does not use the (Citrix) "secure gateway." Otherwise, the Citrix client cannot connect to the Citrix MetaFrame Server.
Note
If you are not already providing support for a plug-in, you must follow the instructions in the"Preparing the Security Appliance for a Plug-in" section before using this section.
Creating and Installing the Citrix Plug-in
To create and install the Citrix plug-in, perform the following steps:
Detailed Steps
Step 1
Download the ica-plugin.zip file from the Cisco Software Download web site.
This file contains files that Cisco customized for use with the Citrix plug-in.
Step 2
Download the Citrix Java client from the Citrix site.
Step 3
Extract the following files from the Citrix Java client, then add them to the ica-plugin.zip file:
•
JICA-configN.jar
•
JICAEngN.jar
You can use WinZip to perform this step.
Step 4
Ensure the EULA included with the Citrix Java client grants you the rights and permissions to deploy the client on your web servers.
Step 5
Open a CLI session with the ASA and install the plug-in by entering the following command in privileged EXEC mode:
import webvpn plug-in protocol ica URL
URL is the host name or IP address and path to the ica-plugin.zip file.
Note
After you import the plug-in, remote users can choose ica and enter host/?DesiredColor=4&DesiredHRes=1024&DesiredVRes=768 into the Address field of the portal page to access Citrix services. We recommend that you add a bookmark to make it easy for users to connect. Adding a bookmark is required if you want to provide SSO support for Citrix sessions.
Step 6
Establish an SSL VPN clientless session and click the bookmark or enter the URL for the Citrix server.
Use the Client for Java Administrator's Guide as needed.
Viewing the Plug-ins Installed on the Security Appliance
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
show import webvpn plug
Example:
hostname# show import webvpn plug
ica
|
Lists the Java-based client applications available to users of clientless SSL VPN.
|
Step 2
|
show import webvpn plug detail
Example:
hostname show import webvpn plug
post GXN2BIGGOAOkBMibDQsMu2GWZ3Q= Tues, 29 Apr 2008
19:57:03 GMT
rdp fHeyReIOUwDCgAL9HdTs PnjdBoo= Tues, 15 Sep 2009
23:23:56 GMT
rdp2 shw8c22T2SsILLk6zyCd6H6VOz8= Wed, 11 Feb 2009
21:17:54 GMT
|
Includes hash and date of the plug-in.
|
Why a Microsoft Kerberos Constrained Delegation Solution
Many organizations want to authenticate their Clientless VPN users and extend their authentication credentials seamlessly to web-based resources using authentication methods beyond what the ASA SSO feature can offer today. With the growing demand to authenticate remote access users with Smart Cards and One-time Passwords (OTP), the SSO feature falls short in meeting that demand, because it only forwards conventional user credentials, such as static username and password, to clientless web-based resources when authentication is required.
For example, neither certificate- or OTP-based authentication methods encompass a conventional username and password necessary for the ASA to seamlessly perform SSO access to web-based resources. When authenticating with a certificate, a username and password is not required for the ASA to extend to web-based resources, making it an unsupported authentication method for SSO. On the other hand, OTP does include a static username; however, the password is dynamic and will subsequently change throughout the VPN session. In general, Web-based resources are configured to accept static usernames and passwords, thus also making OTP an unsupported authentication method for SSO.
Microsoft's Kerberos Constrained Delegation (KCD), a new feature introduced in software release 8.4 of the ASA, provides access to Kerberos-protected Web applications in the private network. With this benefit, you can seamlessly extend certificate- and OTP-based authentication methods to web applications. Thus, with SSO and KCD working together although independently, many organizations can now authenticate their clientless VPN users and extend their authentication credentials seamlessly to web applications using all authentication methods supported by the ASA.
Requirements
In order for the kcd-server command to function, the ASA must establish a trust relationship between the source domain (the domain where the ASA resides) and the target or resource domain (the domain where the web services reside). The ASA, using its unique format, crosses the certification path from the source to the destination domain and acquires the necessary tickets on behalf of the remote access user to access the services.
This crossing of the certificate path is called cross-realm authentication. During each phase of cross-realm authentication, the ASA relies on the credentials at a particular domain and the trust relationship with the subsequent domain.
Understanding How KCD Works
Kerberos relies on a trusted third party to validate the digital identity of entities in a network. These entities (such as users, host machines, and services running on hosts) are called principals and must be present in the same domain. Instead of secret keys, Kerberos uses tickets to authenticate a client to a server. The ticket is derived from the secret key and consists of the client's identity, an encrypted session key, and flags. Each ticket is issued by the key distribution center and has a set lifetime.
The Kerberos security system is a network authentication protocol used to authenticate entities (users, computers, or applications) and protect network transmissions by scrambling the data so that only the device that the information was intended for can decrypt it. You can configure KCD to provide Clientless SSL VPN (also known as WebVPN) users with SSO access to any web services protected by Kerberos. Examples of such web services or applications include Outlook Web Access (OWA), Sharepoint, and Internet Information Server (IIS).
Two extensions to the Kerberos protocol were implemented: protocol transition and constrained delegation. These extensions allow the Clientless or WebVPN remote access users to access Kerberos authenticated applications in the private network.
The protocol transition provides you with increased flexibility and security by supporting different authentication mechanisms at the user authentication level and by switching to the Kerberos protocol for security features (such as mutual authentication and constrained delegation) in subsequent application layers. Constrained delegation provides a way for domain administrators to specify and enforce application trust boundaries by limiting where application services can act on a user's behalf. This flexibility improves application security designs by reducing the chance of compromise by an untrusted service.
For more information on constrained delegation, see RFC 1510 via the IETF website (http://www.ietf.org).
Authentication Flow with KCD
Figure 73-8 depicts the packet and process flow a user will experience directly and indirectly when accessing resources trusted for delegation via the clientless portal. This process assumes that the following tasks have been completed:
•
Configured KCD on ASA
•
Joined the Windows Active Directory and ensured services are trusted for delegation
•
Delegated ASA as a member of the Windows Active Directory domain
Figure 73-8 KCD Process
Note
A clientless user session is authenticated by the ASA using the authentication mechanism configured for the user. (In the case of Smartcard credentials, ASA performs LDAP authorization with the userPrincipalName from the digital certificate against the Windows Active Directory).
1.
After successful authentication, the user logs in to the ASA clientless portal page. The user accesses a Web service by entering a URL in the portal page or by clicking on the bookmark. If the Web service requires authentication, the server challenges ASA for credentials and sends a list of authentication methods supported by the server.
Note
KCD for Clientless SSL VPN is supported for all authentication methods (RADIUS, RSA/SDI, LDAP, digital certificates, and so on). Refer to the AAA Support table at http://www.cisco.com/en/US/partner/docs/security/asa/asa84/configuration/guide/access_aaa.html#wp1069492.
2.
Based on the HTTP headers in the challenge, ASA determines whether the server requires Kerberos authentication. (This is part of the SPNEGO mechanism.) If connecting to a backend server requires Kerberos authentication, the ASA requests a service ticket for itself on behalf of the user from the key distribution center.
3.
The key distribution center returns the requested tickets to the ASA. Even though these tickets are passed to the ASA, they contain the user's authorization data.ASA requests a service ticket from the KDC for the specific service that the user wants to access.
Note
Steps 1 to 3 comprise protocol transition. After these steps, any user who authenticates to ASA using a non-Kerberos authentication protocol is transparently authenticated to the key distribution center using Kerberos.
4.
ASA requests a service ticket from the key distribution center for the specific service that the user wants to access.
5.
The key distribution center returns a service ticket for the specific service to the ASA.
6.
ASA uses the service ticket to request access to the web service.
7.
The Web server authenticates the Kerberos service ticket and grants access to the service. The appropriate error message is displayed and requires acknowledgement if there is an authentication failure. If the Kerberos authentication fails, the expected behavior is to fall back to basic authentication.
Before Configuring KCD
To configure the ASA for cross-realm authentication, you must use the following commands:
| |
Command
|
Purpose
|
Step 1
|
ntp
hostname
Example:
hostname(config)# config t
-----Create an alias for the Domain
Controller-------------
hostname(config)# name 10.1.1.10 DC
----Configure the Name
server------------------------------
|
Joins the Active Directory domain.
Shows a 10.1.1.10 domain controller (which is reachable inside the interface) with a domain name of private.net and a service account on the domain controller using dcuser as the username and dcuser123! as the password.
|
Step 2
|
Example:
SMENC=ISO-8859-1&SMLOCALE=US-EN&USERID=Anyuser&USER_PASSWORD=XXXXXX&target=https%3A%2F%2Fwww.example.com%2Femco%2Fmyemco%2F&smauthreason=0
----Enable a DNS lookup by configuring the DNS
server and Domain name --------------
hostname(config)# dns domain-lookup inside
hostname(config)# dns server-group DefaultDNS
hostname(config-dns-server-group)# name-server DC
hostname(config-dns-server-group)# domain-name
private.net
----Configure the AAA server group with Server and
Realm------------------------------
hostname(config)# aaa-server KerberosGroup protocol
Kerberos
hostname(config-asa-server-group)# aaa-server
KerberosGroup (inside) host DC
hostname(config-asa-server-group)# Kerberos-realm
PRIVATE.NET
----Configure the Domain
Join------------------------------
hostname(config-webvpn)# kcd-server KerberosGroup
username dcuser password dcuser123!
|
Performs a lookup.
Shows a domain name of private.net and a service account on the domain controller using dcuser as the username and dcuser123! as the password.
|
Configuring KCD
To have the ASA join a Windows Active Directory domain and return a success or failure status, follow these commands:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
kcd-server
|
|
Step 3
|
kcd-server aaa-server-group
Example:
ASA(config)# aaa-server KG protocol kerberos
ASA(config)# aaa-server KG (inside) host DC
ASA(config-aaa-server-host_# kerberos-realm test.edu
ASA(webvpn-config)# kcd-server KG username user1
password abc123
ASA(webvpn-config)# no kcd-server
|
Specifies the domain controller name and realm. The AAA server group must be a Kerberos type.
Shows sample output.
|
Step 4
|
(Optional)
no kcd-server
|
Removes the specified behavior for the ASA.
|
Step 5
|
(Optional)
kcd-server reset
|
Resets to the internal state.
|
Step 6
|
kcd domain-join username <user> password <pass>
user—Does not correspond to a specific administrative user but simply a user with service-level privileges to add a device on the Windows domain controller.
pass—The password does not correspond to a specific password but simply a user with service-level password privileges to add a device on the Windows domain controller.
|
Checks for the presence of a kcd-server and starts the domain join process.
The Active Directory username and password are used only in exec-mode and are not saved in the configuration.
|
Step 7
|
kcd domain-leave
|
Verifies if the kcd-server command has a valid domain join status and then initiates a domain leave.
|
Showing KCD Status Information
To display the domain controller information and the domain join status, follow these commands:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
show webvpn kcd
Example:
|
Displays the domain controller information and the domain join status.
Shows sample output returned from this command.
|
Showing Cached Kerberos Tickets
To display all Kerberos tickets cached on the ASA, enter the following commands:
| |
Command
|
Function
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
show aaa kerberos
|
Displays all Kerberos tickets cached on the ASA.
|
Step 3
|
show aaa kerberos [username user | host ip |
hostname]
• user—Used to view the Kerberos tickets of a specific user
• hostname—Used to view the Kerberos tickets issued for a specific host
Example:
Default Principal Valid Starting Expires
Service Principal
asa@BXB.COM 06/29/10 18:33:00 06/30/10
18:33:00 krbtgt/BXB.COM@BXB.COM
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 asa$/BXB.COM@BXB.COM
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 http/owa.bxb.com@BXB.COM
ASA# show aaa kerberos username kcduser
Default Principal Valid Starting Expires
Service Principal
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 asa$/BXB.COM@BXB.COM
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 http/owa.bxb.com@BXB.COM
ASA# show aaa kerberos host owa.bxb.com
Default Principal Valid Starting Expires
Service Principal
kcduser@BXB.COM 06/29/10 06/30/10 17:33:00
http/owa.bxb.com@BXB.COM
ASA# show aaa kerberos username kcduser
Default Principal Valid Starting Expires
Service Principal
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 asa$/BXB.COM@BXB.COM
kcduser@BXB.COM 06/29/10 17:33:00 06/30/10
17:33:00 http/owa.bxb.com@BXB.COM
ASA# show aaa kerberos host owa.bxb.com
Default Principal Valid Starting Expires
Service Principal
kcduser@BXB.COM 06/29/10 06/30/10
17:33:00 http/owa.bxb.com@BXB.COM
|
Shows sample output returned from this command.
|
Clearing Cached Kerberos Tickets
To clear all Kerberos ticket information on the ASA, follow these commands:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
clear aaa kerberos
|
Clears all Kerberos ticket information on the ASA.
|
Step 3
|
clear aaa kerberos [username user | host ip |
hostname]
• user—Used to clear the Kerberos tickets of a specific user
• hostname—Used to clear the Kerberos tickets of a specific host
|
|
Configuring Application Access
The following sections describe how to enable smart tunnel access and port forwarding on clientless SSL VPN sessions, specify the applications to be provided with such access, and provide notes on using it:
•
Logging Off Smart TunnelConfiguring Smart Tunnel Access
A smart tunnel list identifies one or more applications eligible for smart tunnel access and the endpoint operating system associated with the list. Because each group policy or local user policy supports one smart tunnel list, you must group the nonbrowser-based applications to be supported into a smart tunnel list. Without writing a script or uploading anything, an administrator can specify which homepage in the group policy to connect with via smart tunnel (with the homepage use-smart-tunnel CLI command or on the GUI). Following the configuration of a list, you can assign it to one or more group policies or local user policies. If the administrator has it configured as such, you can browse the internet directly while accessing company internal resources via smart tunnel.
The following sections describe smart tunnels and how to configure them:
•
About Smart Tunnels
•
Why Smart Tunnels?
•
Adding Applications to Be Eligible for Smart Tunnel Access
•
Adding Applications to Be Eligible for Smart Tunnel Access
•
Assigning a Smart Tunnel List
•
Configuring and Applying a Smart Tunnel Tunnel Policy
•
Specifying Servers for Smart Tunnel Auto Sign-on
•
Adding or Editing a Smart Tunnel Auto Sign-on Server Entry
•
Enabling and Disabling Smart Tunnel Access
About Smart Tunnels
A smart tunnel is a connection between a TCP-based application and a private site, using a clientless (browser-based) SSL VPN session with the security appliance as the pathway, and the ASA as a proxy server. You can identify applications to which you want to grant smart tunnel access, and specify the local path to each application. For applications running on Microsoft Windows, you can also require a match of the SHA-1 hash of the checksum as a condition for granting smart tunnel access.
Lotus SameTime and Microsoft Outlook are examples of applications to which you might want to grant smart tunnel access.
Configuring smart tunnels requires one of the following procedures, depending on whether the application is a client or is a web-enabled application:
•
Create one or more smart tunnel lists of the client applications, then assign the list to the group policies or local user policies for whom you want to provide smart tunnel access.
•
Create one or more bookmark list entries that specify the URLs of the web-enabled applications eligible for smart tunnel access, then assign the list to the group policies or local user policies for whom you want to provide smart tunnel access.
You can also list web-enabled applications for which to automate the submission of login credentials in smart tunnel connections over clientless SSL VPN sessions.
Why Smart Tunnels?
Smart tunnel access lets a client TCP-based application use a browser-based VPN connection to access a service. It offers the following advantages to users, compared to plug-ins and the legacy technology, port forwarding:
•
Smart tunnel offers better performance than plug-ins.
•
Unlike port forwarding, smart tunnel simplifies the user experience by not requiring the user connection of the local application to the local port.
•
Unlike port forwarding, smart tunnel does not require users to have administrator privileges.
The advantage of a plug-in is that it does not require the client application to be installed on the remote computer.
Prerequisites
Smart tunnel supports the following Windows platforms:
•
Windows 7 x86 (32-bit) and x64 (64-bit) via Internet Explorer 8.x and Firefox 3.x.
•
Windows Vista x64 via Internet Explorer 7.x/8.x, or Firefox 3.x.
•
Windows Vista x86 SP2 via Internet Explorer 7.x, or Firefox 3.x.
•
Windows XP x64 via Internet Explorer 6.x/7.x/8.x and Firefox 3.x.
•
Windows XP x86 SP2 or later via Internet Explorer 6.x/7.x, or Firefox 3.x.
In addition to these requirements, the following requirements and limitations apply to smart tunnel access on Windows:
•
ActiveX or Sun JRE 5, Update 1.5 or later (JRE 6 or later recommended) on Windows must be enabled on the browser.
ActiveX pages require that you enter the activex-relay command on the associated group policy. If you do so or assign a smart tunnel list to the policy, and the browser proxy exception list on the endpoint specifies a proxy, the user must add a "shutdown.webvpn.relay." entry to this list.
Note
Browser-based VPN access does not support Windows Shares (CIFS) Web Folders on Windows 7, Vista, Internet Explorer 8, Mac OS, and Linux. Windows XP SP2 requires a Microsoft hotfix to support Web Folders.
•
Only Winsock 2, TCP-based applications are eligible for smart tunnel access.
•
For users of Microsoft Windows Vista who use smart tunnel or port forwarding, we recommend that you add the URL of the ASA to the Trusted Site zone. To access the Trusted Site zone, they must start Internet Explorer and choose the Tools > Internet Options > Security tab. Vista users can also disable Protected Mode to facilitate smart tunnel access; however, we recommend against this method because it increases vulnerability to attack.
•
Smart tunnel supports Mac OS running on an Intel processor only.
•
Java Web Start must be enabled on the browser.
Restrictions
•
Smart tunnel supports only proxies placed between computers running Microsoft Windows and the security appliance. Smart tunnel uses the Internet Explorer configuration (that is, the one intended for system-wide use in Windows). If the remote computer requires a proxy server to reach the ASA, the URL of the terminating end of the connection must be in the list of URLs excluded from proxy services. If the proxy configuration specifies that traffic destined for the ASA goes through a proxy, all smart tunnel traffic goes through the proxy.
•
In an HTTP-based remote access scenario, sometimes a subnet does not provide user access to the VPN gateway. In this case, a proxy placed in front of the ASA to route traffic between the web and the end user's location provides web access. However, only VPN users can configure proxies placed in front of the ASA. When doing so, they must make sure these proxies support the CONNECT method. For proxies that require authentication, smart tunnel supports only the basic digest authentication type.
•
When smart tunnel starts, the ASA by default passes all browser traffic through the VPN session if the browser process is the same. The ASA also does this if a tunnel-all policy applies. If the user starts another instance of the browser process, it passes all traffic through the VPN session. If the browser process is the same and the security appliance does not provide access to a URL, the user cannot open it. As a workaround, assign a tunnel policy that is not tunnel-all.
•
A stateful failover does not retain smart tunnel connections. Users must reconnect following a failover.
•
If it takes too long for smart tunnel to load, perform the following:
–
Clear the SSL state (with Internet Explorer, go to Tools > Internet Options > Content).
–
Disable the Check for server certificate revocation check box (with Internet Explorer, go to Tools > Internet Options > Advanced > Security).
–
Delete cookies (with Internet Explorer, go to Tools > Internet Options > General).
•
The Mac version of smart tunnel does not support POST bookmarks, form-based auto sign-on, or POST macro substitution.
•
Only applications started from the portal page can establish smart tunnel connections. This requirement includes smart tunnel support for Firefox. Using Firefox to start another instance of Firefox during the first use of a smart tunnel requires the user profile named csco_st. If this user profile is not present, the session prompts the user to create one.
•
In a Mac OS, applications using TCP that are dynamically linked to the SSL library can work over a smart tunnel.
•
Smart tunnel does not support the following on Mac OS:
–
Proxy services.
–
Auto sign-on.
–
Applications that use two-level name spaces.
–
Console-based applications, such as Telnet, SSH, and cURL.
–
Applications using dlopen or dlsym to locate libsocket calls.
–
Statically linked applications to locate libsocket calls.
•
For Windows, if you want to add smart tunnel access to an application started from the command prompt, you must specify "cmd.exe" in the Process Name of one entry in the smart tunnel list, and specify the path to the application itself in another entry, because "cmd.exe" is the parent of the application.
•
Mac OS requires the full path to the process and is case-sensitive. To avoid specifying a path for each username, insert a tilde (~) before the partial path (e.g., ~/bin/vnc).
•
Smart Tunnel and Secure Desktop (Vault) Interoperability
Cisco supports smart tunneling inside a Secure Desktop (Vault) environment on all operating systems that support Vault. We also support smart tunneling of desktop applications and browser-based applications.
ASA 8.3 or later is required to perform smart tunneling from an endpoint using IE8 or a 64-bit Windows operating system.
To implement smart tunneling with IE8, from within a Secure Desktop (Vault), the endpoint must be connected to a secure gateway running ASA 8.3 or later; in addition, the endpoint must have Cisco Secure Desktop 3.5 or later installed.
Smart tunneling is not intended to restrict network access to only internal resources.
Adding Applications to Be Eligible for Smart Tunnel Access
The clientless SSL VPN configuration of each ASA supports smart tunnel lists, each of which identifies one or more applications eligible for smart tunnel access. Because each group policy or username supports only one smart tunnel list, you must group each set of applications to be supported into a smart tunnel list.
To add an entry to a list of applications that can use a clientless SSL VPN session to connect to private sites, enter the following commands:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
smart-tunnel list list application path [platform
OS] [hash]
|
Adds an entry to a list of applications that can use a clientless SSL VPN session to connect to private sites.
• platform is windows or mac to indicate the host OS of the application. The default value is platform windows.
• hash (Optional) To obtain this value, enter the checksum of the application (that is, the checksum of the executable file) into a utility that calculates a hash using the SHA-1 algorithm. One example of such a utility is the Microsoft File Checksum Integrity Verifier (FCIV), which is available at http://support.microsoft.com/kb/841290/. After installing FCIV, place a temporary copy of the application to be hashed on a path that contains no spaces (for example, c:/fciv.exe), then enter fciv.exe -sha1 application at the command line (for example, fciv.exe -sha1 c:\msimn.exe) to display the SHA-1 hash.
The SHA-1 hash is always 40 hexadecimal characters.
Before authorizing an application for smart tunnel access, clientless SSL VPN calculates the hash of the application matching the path. It qualifies the application for smart tunnel access if the result matches the value of hash.
|
Step 3
|
(Optional)
no smart-tunnel list list application
|
Removes an application from a list, specifying both the list and the name of the application.
|
Step 4
|
(Optional)
no smart-tunnel list list
|
Removes an entire list of applications from the ASA configuration.
• list is the name for a list of applications or programs. Use quotation marks around the name if it includes a space. The CLI creates the list if it is not present in the configuration. Otherwise, it adds the entry to the list.
• application is a string that serves as a unique index to each entry in the smart tunnel list. It typically names the application to be granted smart tunnel access. To support multiple versions of an application for which you choose to specify different paths or hash values, you can use this attribute to differentiate entries, specifying the OS, and name and version of the application supported by each list entry. The string can be up to 64 characters. To change an entry already present in a smart tunnel list, enter the name of the entry to be changed.
• path is the filename and extension of the application; or a path to the application, including its filename and extension. The string can be up to 128 characters.
Windows requires an exact match of this value to the right side of the application path on the remote host to qualify the application for smart tunnel access. If you specify only the filename for Windows, SSL VPN does not enforce a location restriction on the remote host to qualify the application for smart tunnel access.
If you specify a path and the user installed the application in another location, that application does not qualify. The application can reside on any path as long as the right side of the string matches the value you enter.
|
Step 5
|
smart-tunnel list
entering the same list string but specifying the unique application string and path value in each command
OR
smart-tunnel list
entering the same list string but specifying the unique application string and a unique hash value
|
Enter once for each path to authorize an application for smart tunnel access when it is present on one of several paths on the remote host.
Note A sudden problem with smart tunnel access may be an indication that a Process Name value is not up-to-date with an application upgrade. For example, the default path to an application sometimes changes following the acquisition of the company that produces the application and the next application upgrade.
Enter once for each version when multiple versions of an application exist. Entering a hash provides a reasonable assurances that SSL VPN does not qualify an illegitimate file that matches the string you specified in the path.
Note You must maintain the smart tunnel list in the future if you enter hash values and you want to support future versions or patches of an application with smart tunnel access. A sudden problem with smart tunnel access may be an indication that the application list containing hash values is not up-to-date with an application upgrade. You can avoid this problem by not entering a hash.
|
Step 6
|
Example:
smart-tunnel list apps LotusSametime connect.exe
smart-tunnel list apps lotusnotes notes.exefs
smart-tunnel list apps lotusnlnotes nlnotes.exe
smart-tunnel list apps lotusntaskldr ntaskldr.exe
smart-tunnel list apps lotusnfileret nfileret.exe
smart-tunnel list apps CommandPrompt cmd.exe
hostname(config-webvpn)# smart-tunnel list apps1
Outlook2010 outlook.exe
smart-tunnel list apps OutlookExpress msimn.exe
smart-tunnel list apps OutlookExpress "\Program Files\Outlook Express\msimn.exe"
smart-tunnel list apps OutlookExpress msimn.exe
4739647b255d3ea865554e27c3f96b9476e75061
smart-tunnel list apps Safari "/Applications/Safari"
platform mac
smart-tunnel list apps Terminal terminal platform
mac
smart-tunnel list apps Terminal "terminal open -a MacTelnet" platform mac
smart-tunnel list apps vnc "~/bin/vnc" platform mac
|
(Windows) Adds Lotus SameTime to a smart tunnel list named apps.
((Windows) Adds the Lotus 6.0 thick client with Domino Server 6.5.5.
((Windows) Adds the command prompt to a smart tunnel list named apps.
Note This action provide smart tunnel access to a Microsoft Windows application started from the command prompt. You must also add the application itself to the list.
(Windows) Adds Microsoft Outlook 2010 to a smart tunnel list named apps1:
Adds Windows Outlook Express.
(Windows) Add Windows Outlook Express, permitting smart tunnel support for it only if its path on the remote host matches the string.
(Windows) Add Windows Outlook Express, permitting smart tunnel support for it only if its hash matches the string.
(Mac) Add Safari, permitting smart tunnel support for it only if its path on the remote host matches the string.
(Mac) Add smart tunnel support for a new Terminal window.
(Mac) Add smart tunnel support for an application started from a Mac Terminal window. All words after Terminal inside the quotation marks enter the command line.
(Mac) Add smart tunnel support for VNC, regardless of the user path to the VNC executable file.
|
Step 7
|
(Optional)
show running-config webvpn
|
Shows the smart tunnel list entries in the SSL VPN configuration.
|
Assigning a Smart Tunnel List
For each group policy and username, you can configure clientless SSL VPN to do one of the following:
•
Start smart tunnel access automatically upon user login.
•
Enable smart tunnel access upon user login, but require the user to start it manually, using the Application Access > Start Smart Tunnels button on the clientless SSL VPN Portal Page.
Restrictions
These options are mutually exclusive for each group policy and username. Use only one.
The following smart tunnel commands are available to each group policy and username. The configuration of each group policy and username supports only one of these commands at a time, so when you enter one, the ASA replaces the one present in the configuration of the group policy or username in question with the new one, or in the case of the last command, simply removes the smart-tunnel command already present in the group policy or username.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
smart-tunnel auto-start list
OR
smart-tunnel enable list
OR
smart-tunnel disable
OR
no smart-tunnel [auto-start list | enable list |
disable]
|
Starts smart tunnel access automatically upon user login.
Enables smart tunnel access upon user login, but requires the user to start smart tunnel access manually, using the Application Access > Start Smart Tunnels button on the clientless SSL VPN portal page.
Prevents smart tunnel access.
Removes a smart-tunnel command from the group policy or username configuration, which then inherits the [no] smart-tunnel command from the default group-policy. The keywords following the no smart-tunnel command are optional, however, they restrict the removal to the named smart-tunnel command.
|
Step 2
|
Refer to section that addresses the option you want to use.
|
|
Configuring and Applying Smart Tunnel Policy
The smart tunnel policy requires a per group policy/username configuration. Each group policy/username references a globally configured list of networks. When the smart tunnel is turned on, you can allow traffic outside of the tunnel with the use of 2 CLIs: one configures the network (a set of hosts), and the other uses the specified smart-tunnel network to enforce a policy on a user. The following commands create a list of hosts to use for configuring smart tunnel policies:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
[no] smart-tunnel network <network name> ip <ip> <netmask>
|
Creates a list of hosts to use for configuring smart tunnel policies. <network name> is the name to apply to the tunnel policy. <ip> is the IP address of the network. <netmask> is the netmask of the network.
|
Step 3
|
[no] smart-tunnel network <network name> host <host mask>
|
Establishes the hostname mask, such as *.cisco.com.
|
Step 4
|
[no] smart-tunnel tunnel-policy ((excludespecified | tunnelspecified) <network name> | tunnelall)
OR
[no smart-tunnel tunnel-policy ((excludespecified | tunnelspecified) <network name> | tunnelall)
|
Applies smart tunnel policies to a particular group or user policy. <network name> is a list of networks to be tunneled. <tunnelall> makes everything tunneled (encrypted). tunnelspecified tunnels only networks specified by network name. excludespecified tunnels only networks that are outside of the networks specified by network name.
|
Configuring and Applying a Smart Tunnel Tunnel Policy
Like the split tunnel configuration in SSL VPN client, the smart tunnel tunnel policy is a per group-policy/username configuration. Each group policy/username references a globally configured list of networks:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
config-group-webvpn
|
Switches to config-group-webvpn configuration mode.
|
Step 3
|
[no] smart-tunnel tunnel-policy ((excludespecified |
tunnelspecified) <network name> | tunnelall)
OR
[no] smart-tunnel tunnel-policy ((excludespecified |
tunnelspecified) <network name> | tunnelall)
|
References a globally configured list of networks. <network name> is a list of networks to be tunneled. <tunnelall> makes everything tunneled (encrypted). tunnelspecified tunnels only networks specified by network name. excludespecified tunnels only networks that are outside of the networks specified by network name.
|
Step 4
|
ciscoasa(config-webvpn)# [no] smart-tunnel network
<network name> ip <ip> <netmask>
ciscoasa(config-webvpn)# [no] smart-tunnel network
<network name> host <host mask>
<network name> Name of network to apply to tunnel
policy
<ip address> IP address of a network
<netmask> Netmask of a network
<host mask> Hostname mask, such as *.cisco.com
Example:
ciscoasa(config-webvpn)# smart-tunnel network
inventory ip 10.5.2.2
ciscoasa(config-webvpn)# smart-tunnel network
inventory host www.example.com
ciscoasa(config-group-webvpn)# smart-tunnel
tunnel-policy tunnelspecified inventory
(Optional)
ciscoasa(config-group-webvpn)# homepage value
http://www.example.com
ciscoasa(config-group-webvpn)# homepage
use-smart-tunnel
(Optional)
ciscoasa(config-webvpn)# smart-tunnel
notification-icon
|
Applies a tunnel policy to a group-policy/user policy. One command specifies host and the other specifies network IPs; use only one.
|
|
Smart tunnel tunnel policy configuration is a good option when a vendor wants to provide a partner with clientless access to an internal inventory server page upon login without going through the clientless portal first. Creates a tunnel policy that contains only one host (assuming the inventory pages are hosted at www.example.com (10.5.2.2), and you want to configure both IP address and name for the hosts.
Applies the tunnel-specified tunnel policy to the partner's group policy.
Specifies the group policy home page and enables smart tunnel on it.
By default, configuration of a smart tunnel application is not necessary because all processes initiated by the browser with smart tunnel enabled have access to the tunnel. However, because no portal is visible, you may want to enable the logout notification icon.
|
Specifying Servers for Smart Tunnel Auto Sign-on
The Add Smart Tunnel Auto Sign-on Server List dialog box lets you add one or more lists of servers for which to automate the submission of login credentials during smart tunnel setup. The Edit Smart Tunnel Auto-signon Server List dialog box lets you modify the contents of these lists. This feature is available for Internet Explorer and Firefox.
To create a list of servers for which to automate the submission of credentials in smart tunnel connections, enter the following commands:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
smart-tunnel auto-signon list [use-domain] {ip
ip-address [netmask] | host hostname-mask}
|
Use for each server you want to add to the server list
• list —names the list of remote servers. Use quotation marks around the name if it includes a space. The string can be up to 64 characters. The ASA creates the list if it is not already present in the configuration. Otherwise, it adds the entry to the list. Assign a name that will help you to distinguish.
• use-domain (optional)—Adds the Windows domain to the username if authentication requires it. If you enter this keyword, be sure to specify the domain name when assigning the smart tunnel list to one or more group policies, or usernames.
• ip—Specifies the server by its IP address and netmask.
• ip-address[netmask]—Identifies the sub-network of hosts to auto-authenticate to.
• host—Specifies the server by its host name or wildcard mask. Using this option protects the configuration from dynamic changes to IP addresses.
• hostname-mask—Specifies which host name or wildcard mask to auto-authenticate to.
|
Step 3
|
(Optional)
[no] smart-tunnel auto-signon list [use-domain] {ip
ip-address [netmask] | host hostname-mask}
|
Removes an entry from the list of servers, specifying both the list and IP address or hostname as it appears in the ASA configuration.
|
Step 4
|
show running-config webvpn smart-tunnel
|
Displays the smart tunnel auto sign-on list entries.
|
Step 5
|
config-webvpn
|
Switches to config-webvpn configuration mode.
|
Step 6
|
smart-tunnel auto-signon HR use-domain ip
192.32.22.56 255.255.255.0
|
Adds all hosts in the subnet and adds the Windows domain to the username if authentication requires it.
|
Step 7
|
(Optional)
no smart-tunnel auto-signon HR use-domain ip
192.32.22.56 255.255.255.0
|
Removes that entry from the list and the list named HR if the entry removed is the only entry in the list.
|
Step 8
|
no smart-tunnel auto-signon HR
|
Removes the entire list from the ASA configuration.
|
Step 9
|
smart-tunnel auto-signon intranet host
*.exampledomain.com
|
Adds all hosts in the domain to the smart tunnel auto sign-on list named intranet.
|
Step 10
|
no smart-tunnel auto-signon intranet host
*.exampledomain.com
|
Removes that entry from the list.
|
Following the configuration of the smart tunnel auto sign-on server list, you must assign it to a group policy or a local user policy for it to become active, as described in the next section.
Adding or Editing a Smart Tunnel Auto Sign-on Server Entry
This section describes how to list the servers for which to provide auto sign-on in smart tunnel connections and assign the lists to group policies or usernames.
Prerequisites
You must use the smart-tunnel auto-signon list command to create a list of servers first. You can assign only one list to a group policy or username.
Restrictions
•
The smart-tunnel auto sign-on feature supports only applications communicating HTTP and HTTPS using the Microsoft WININET library. For example, Microsoft Internet Explorer uses the WININET dynamic linked library to communicate with web servers.
•
Firefox requires the administrator to specify hosts using an exact host name or IP address (instead of a host mask with wild cards, a subnet using IP addresses, or a netmask). For example, within Firefox, you cannot enter *.cisco.com and expect auto sign-on to host email.cisco.com.
Detailed Steps
To enable smart tunnel auto sign-on in clientless (browser-based) SSL VPN sessions, use the following commands:
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
group-policy webvpn
or
username webvpn
|
Switches to group-policy webvpn configuration mode.
Switches to username webvpn configuration mode.
|
Step 3
|
smart-tunnel auto-signon enable
|
Enables smart tunnel auto sign-on clientless SSL VPN sessions.
|
Step 4
|
(Optional)
[no] smart-tunnel auto-signon enable list [domain
domain] [host host name] [realm realm string] [port
port number]
|
Disables smart tunnel auto sign-on clientless SSL VPN session, removes it from the group policy or username, and uses the default.
• list—The name of a smart tunnel auto sign-on list already present in the ASA webvpn configuration.
• (Optional) domain domain—The name of the domain to be added to the username during authentication. If you enter a domain, enter the use-domain keyword in the list entries.
• host—Specifies the server by its host name or wildcard mask. Using this option protects the configuration from dynamic changes to IP addresses.
• port—Specifies which port performs auto sign-on. For Firefox, if no port number is specified, auto sign is performed on HTTP and HTTPS, accessed by the default port numbers 80 and 443 respectively.
• realm—Configures a realm for the authentication. Realm is associated with the protected area of the website and is passed back to the browser either in the authentication prompt or in the HTTP headers during authentication. Once auto-sign is configured and a realm string is specified, users can configure the realm string on a web application (such as Outlook Web Access) and access web applications without signing on.
|
Step 5
|
show running-config webvpn smart-tunnel
|
Views the smart tunnel auto sign-on list entries in the SSL VPN configuration.
|
Step 6
|
smart-tunnel auto-signon enable HR
|
Enables the smart tunnel auto sign-on list named HR.
|
Step 7
|
smart-tunnel auto-signon enable HR domain CISCO
|
Enables the smart tunnel auto sign-on list named HR and adds the domain named CISCO to the username during authentication.
|
Step 8
|
(Optional)
no smart-tunnel auto-signon enable HR
|
Removes the smart tunnel auto sign-on list named HR from the group policy and inherits the smart tunnel auto sign-on list command from the default group policy.
|
Automating Smart Tunnel Access
To start smart tunnel access automatically upon user login, enter the following commands:
Requirements
For Mac OS X, you must click the link for the application in the portal's Application Access panel, with or without auto-start configured.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
group-policy webvpn
OR
username webvpn
|
Switches to group-policy webvpn configuration mode.
Switches to username webvpn configuration mode.
|
Step 3
|
smart-tunnel auto-start list
Example:
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# smart-tunnel
auto-start apps1
|
Starts smart tunnel access automatically upon user login. list is the name of the smart tunnel list already present.
Assigns the smart tunnel list named apps1 to the group policy.
|
Step 4
|
show running-config webvpn
|
Views the smart tunnel list entries in the SSL VPN configuration.
|
Step 5
|
(Optional)
no smart-tunnel
|
Removes the smart-tunnel command from the group policy or username and reverts to the default.
|
Enabling and Disabling Smart Tunnel Access
By default, smart tunnels are disabled.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
group-policy webvpn
OR
username webvpn
|
Switches to group-policy webvpn configuration mode.
Switches to username webvpn configuration mode.
|
Step 3
|
smart-tunnel [enable list | disable]
Example:
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# smart-tunnel enable
apps1
|
Enables smart tunnel access. list is the name of the smart tunnel list already present. You do not have to start smart tunnel access manually if you entered smart-tunnel auto-start list from the previous table.
Assigns the smart tunnel list named apps1 to the group policy.
|
Step 4
|
show running-config webvpn
|
Shows the smart tunnel list entries in the SSL VPN configuration.
|
Step 5
|
(Optional)
no smart-tunnel
|
Removes the smart-tunnel command from the group policy or local user policy and reverts to the default group-policy.
|
Step 6
|
(Optional)
smart-tunnel disable
|
Disables smart tunnel access.
|
Logging Off Smart Tunnel
This section describes how to ensure that the smart tunnel is properly logged off. Smart tunnel can be logged off when all browser windows have been closed, or you can right click the notification icon and confirm log out.
Note
We strongly recommend the use of the logout button on the portal. This method pertains to clientless SSL VPNs and logs off regardless of whether smart tunnel is used or not. The notification icon should be used only when using standalone applications without the browser.
When Its Parent Process Terminates
This practice requires the closing of all browsers to signify log off. The smart tunnel lifetime is now tied to the starting process lifetime. For example, if you started a smart tunnel from Internet Explorer, the smart tunnel is turned off when no iexplore.exe is running. Smart tunnel can determine that the VPN session has ended even if the user closed all browsers without logging out.
Note
In some cases, a lingering browser process is unintentional and is strictly a result of an error. Also, when a Secure Desktop is used, the browser process can run in another desktop even if the user closed all browsers within the secure desktop. Therefore, smart tunnel declares all browser instances gone when no more visible windows exist in the current desktop.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
[no] smart-tunnel notification-icon
|
Allows administrators to turn on the notification icon on a global basis. This command configures log out properties and controls whether the user is presented with a logout icon for logging out, as opposed to having logout triggered by closing browser windows. This command also controls logging off when a parent process terminates, which is automatically turned on or off when the notification icon is turned on or off.
notification-icon is the keyword that specifies when to use the icon for logout.
Note The no version of this CLI is the default, in which case, closing all browser windows logs off the SSL VPN session.
Note Portal logout still takes effect and is not impacted.
|
Step 2
|
*.webvpn.
|
When using a proxy and adding to the proxy list exception, it ensures that smart tunnel is properly closed when you log off, regardless of icon usage or not.
|
With A Notification Icon
You may also choose to disable logging off when a parent process terminates so that a session survives if you close a browser. For this practice, you use a notification icon in the system tray to log out. The icon remains until the next connection is tried. You may have to wait for the session status to update in the system tray.
Note
This icon is an alternative way to log out of SSL VPN. It is not an indicator of VPN session status.
Configuring Port Forwarding
The following sections describe port forwarding and how to configure it:
•
Information About Port Forwarding
•
Configuring DNS for Port Forwarding
•
Adding Applications to Be Eligible for Port ForwardingAssigning a Port Forwarding List
•
Automating Port Forwarding
Information About Port Forwarding
Port forwarding lets users access TCP-based applications over a clientless SSL VPN connection. Such applications include the following:
•
Lotus Notes
•
Microsoft Outlook
•
Microsoft Outlook Express
•
Perforce
•
Sametime
•
Secure FTP (FTP over SSH)
•
SSH
•
TELNET
•
Windows Terminal Service
•
XDDTS
Other TCP-based applications may also work, but we have not tested them. Protocols that use UDP do not work.
Port forwarding is the legacy technology for supporting TCP-based applications over a clientless SSL VPN connection. You may choose to use port forwarding because you have built earlier configurations that support this technology.
Consider the following alternatives to port forwarding:
•
Smart tunnel access offers the following advantages to users:
–
Smart tunnel offers better performance than plug-ins.
–
Unlike port forwarding, smart tunnel simplifies the user experience by not requiring the user connection of the local application to the local port.
–
Unlike port forwarding, smart tunnel does not require users to have administrator privileges.
•
Unlike port forwarding and smart tunnel access, a plug-in does not require the client application to be installed on the remote computer.
When configuring port forwarding on the ASA, you specify the port the application uses. When configuring smart tunnel access, you specify the name of the executable file or its path.
Prerequisites
•
The remote host must be running a 32-bit version of one of the following:
–
Microsoft Windows Vista, Windows XP SP2 or SP3; or Windows 2000 SP4.
–
Apple Mac OS X 10.4 or 10.5 with Safari 2.0.4(419.3).
–
Fedora Core 4
•
The remote host must also be running Sun JRE 1.5 or later.
•
Browser-based users of Safari on Mac OS X 10.5.3 must identify a client certificate for use with the URL of the ASA, once with the trailing slash and once without it, because of the way Safari interprets URLs. For example,
–
https://example.com/
–
https://example.com
For details, go to the Safari, Mac OS X 10.5.3: Changes in client certificate authentication.
•
Users of Microsoft Windows Vista who use port forwarding or smart tunnels must add the URL of the ASA to the Trusted Site zone. To access the Trusted Site zone, they must start Internet Explorer and choose the Tools > Internet Options > Security tab. Vista users can also disable Protected Mode to facilitate smart tunnel access; however, we recommend against this method because it increases the computer's vulnerability to attack.
•
Make sure Sun Microsystems Java Runtime Environment (JRE) 1.5.x or later is installed on the remote computers to support port forwarding (application access) and digital certificates. If JRE 1.4.x is running and the user authenticates with a digital certificate, the application fails to start because JRE cannot access the web browser certificate store.
Restrictions
•
Port forwarding supports only TCP applications that use static TCP ports. Applications that use dynamic ports or multiple TCP ports are not supported. For example, SecureFTP, which uses port 22, works over clientless SSL VPN port forwarding, but standard FTP, which uses ports 20 and 21, does not.
•
Port forwarding does not support protocols that use UDP.
•
Port forwarding does not support Microsoft Outlook Exchange (MAPI) proxy. However, you can configure smart tunnel support for Microsoft Office Outlook in conjunction with Microsoft Outlook Exchange Server.
•
A stateful failover does not retain sessions established using Application Access (either port forwarding or smart tunnel access). Users must reconnect following a failover.
•
Port forwarding does not support connections to personal digital assistants.
•
Because port forwarding requires downloading the Java applet and configuring the local client, and because doing so requires administrator permissions on the local system, it is unlikely that users will be able to use applications when they connect from public remote systems.
The Java applet displays in its own window on the end user HTML interface. It shows the contents of the list of forwarded ports available to the user, as well as which ports are active, and amount of traffic in bytes sent and received.
•
The port forwarding applet displays the local port and the remote port as the same when the local IP address 127.0.0.1 is being used and cannot be updated by the clientless SSL VPN connection from the ASA. As a result, the ASA creates new IP addresses 127.0.0.2, 127.0.0.3, and so on for local proxy IDs. Because you can modify the hosts file and use different loopbacks, the remote port is used as the local port in the applet. To connect, you can use Telnet with the host name, without specifying the port. The correct local IP addresses are available in the local hosts file.
Configuring DNS for Port Forwarding
Port Forwarding forwards the domain name of the remote server or its IP address to the ASA for resolution and connection. In other words, the port forwarding applet accepts a request from the application and forwards it to the ASA. The ASA makes the appropriate DNS queries and establishes the connection on behalf of the port forwarding applet. The port forwarding applet only makes DNS queries to the ASA. It updates the host file so that when a port forwarding application attempts a DNS query, the query redirects to a loopback address. Configure the ASA to accept the DNS requests from the port forwarding applet as follows:
| |
Command
|
Purpose
|
Step 1
|
dns server-group
Example:
hostname(config)# dns server-group example.com
hostname(config-dns-server-group)# domain-name
example.com
hostname(config-dns-server-group)# name-server
192.168.10.10
|
Enters the dns server-group mode.
Configures a DNS server group named example.com.
|
Step 2
|
domain-name
|
Specifies the domain name. The default setting of domain-name is DefaultDNS.
|
Step 3
|
name-server
|
Resolves the domain name to an IP address.
|
Step 4
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 5
|
tunnel-group webvpn
|
Switches to tunnel-group webvpn configuration mode.
|
Step 6
|
(Required only if you are using a domain name other than the default one [DefaultDNS])
dns-group
Example:
asa2(config-dns-server-group)# exit
asa2(config)# tunnel-group DefaultWEBVPNGroup
webvpn-attributes
asa2(config-tunnel-webvpn)# dns-group example.com
|
Specifies the domain name the tunnel groups will use. By default, the security appliance assigns the Default WEBVPNGroup as the default tunnel group for clientless connections. Follow this instruction if the ASA uses that tunnel group to assign settings to the clientless connections. Otherwise, follow this step for each tunnel configured for clientless connections.
|
Adding Applications to Be Eligible for Port Forwarding
The clientless SSL VPN configuration of each ASA supports port forwarding lists, each of which specifies local and remote ports used by the applications for which you want to provide access. Because each group policy or username supports only one port forwarding list, you must group each set of applications to be supported into a list. To display the port forwarding list entries already present in the ASA configuration, enter the following commands:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
show run webvpn port-forward
|
Displays the port forwarding list entries already present in the ASA configuration.
|
Step 2
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 3
|
port-forward {list_name local_port remote_server remote_port description}
Example:
hostname(config-webvpn)# port-forward
SalesGroupPorts 20143 IMAP4Sserver 143 Get Mail
hostname(config-webvpn)# port-forward
SalesGroupPorts 20025 SMTPSserver 25 Send Mail
hostname(config-webvpn)# port-forward
SalesGroupPorts 20022 DDTSserver 22 DDTS over SSH
csco-config/97/plugin port-forward
SalesGroupPorts 20023 Telnetserver 23 Telnet
|
Adds a port forwarding entry to a list.
• list_name—Name for a set of applications (technically, a set of forwarded TCP ports) for users of clientless SSL VPN sessions to access. The ASA creates a list using the name you enter if it does not recognize it. Otherwise, it adds the port forwarding entry to the list. Maximum 64 characters.
• local_port—Port that listens for TCP traffic for an application running on the user's computer. You can use a local port number only once for each port forwarding list. Enter a port number in the range 1-65535 or port name. To avoid conflicts with existing services, use a port number greater than 1024.
• remote_server—DNS name or IP address of the remote server for an application. The IP address can be in IPv4 or IPv6 format. We recommend a DNS name so that you do not have to configure the client applications for a specific IP address.
Note The DNS name must match the one assigned to the tunnel group to establish the tunnel and resolve to an IP address, per the instructions in the previous section. The default setting for both the domain-name group and dns-group commands described in that section is DefaultDNS.
• remote_port—Port to connect to for this application on the remote server. This is the actual port the application uses. Enter a port number in the range 1-65535 or port name.
• description—Application name or short description that displays on the end user Port Forwarding Java applet screen. Maximum 64 characters.
Shows how to create a port forwarding list called SalesGroupPorts that provides access to these applications.
|
Step 4
|
(Optional)
no port-forward list_name local_port
|
Removes an entry from the list, specifying both the list and the local port.
|
Following the configuration of a port forwarding list, assign the list to group policies or usernames, as described in the next section.
Step 7
(Optional) Highlight a port forwarding list and click Assign to assign the selected list to one or more group policies, dynamic access policies, or user policies.
Assigning a Port Forwarding List
You can add or edit a named list of TCP applications to associate with users or group policies for access over clientless SSL VPN connections. For each group policy and username, you can configure clientless SSL VPN to do one of the following:
•
Start port forwarding access automatically upon user login.
Note
These options are mutually exclusive for each group policy and username. Use only one.
Prerequisites
Before initiating the port-forward enable list_name command, the user is required to start port forwarding manually, using the Application Access > Start Applications button on the clientless SSL VPN portal page.
Detailed Steps
These commands are available to each group policy and username. The configuration of each group policy and username supports only one of these commands at a time, so when you enter one, the ASA replaces the one present in the configuration of the group policy or username in question with the new one, or in the case of the last command, simply removes the port-forward command from the group policy or username configuration.
| |
Command
|
Purpose
|
Step 1
|
port-forward auto-start list_name
OR
port-forward enable list_name
OR
port-forward disable
OR
no port-forward [auto-start list_name |
enable list_name | disable]
|
Starts port forwarding automatically upon user login.
Enables port forwarding upon user login.
Prevents port forwarding.
Removes a port-forward command from the group policy or username configuration, which then inherits the [no] port-forward command from the default group-policy. The keywords following the no port-forward command are optional, however, they restrict the removal to the named port-forward command.
|
For details, go to the section that addresses the option you want to use.
Automating Port Forwarding
To start port forwarding automatically upon user login, enter the following commands:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
group-policy webvpn
username webvpn
|
Switches to group-policy webvpn configuration mode.
Switches to username webvpn configuration mode.
|
Step 3
|
port-forward auto-start list_name
Example:
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# port-forward
auto-start apps1
|
Starts port forwarding automatically upon user login.
list_name names the port forwarding list already present in the ASA webvpn configuration. You cannot assign more than one port forwarding list to a group policy or username.
Assigns the port forwarding list named apps1 to the group policy.
|
Step 4
|
show run webvpn port-forward
|
Displays the port forwarding list entries present in the ASA configuration.
|
Step 5
|
(Optional)
no port-forward
|
Removes the port-forward command from the group policy or username and reverts to the default.
|
Enabling and Disabling Port Forwarding
By default, port forwarding is disabled.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
port-forward [enable list_name | disable]
Example:
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# port-forward enable
apps1
|
Enables port forwarding. You do not have to start port forwarding manually if you entered port-forward auto-start list_name from the previous table.
list_name is the name of the port forwarding list already present in the ASA webvpn configuration. You cannot assign more than one port forwarding list to a group policy or username.
Assigns the port forwarding list named apps1 to the group policy.
|
Step 2
|
show running-config port-forward
|
Views the port forwarding list entries.
|
Step 3
|
(Optional)
no port-forward
|
Removes the port-forward command from the group policy or username and reverts to the default.
|
Step 4
|
(Optional)
port-forward disable
|
Disables port forwarding.
|
•
Assign—Highlight an SSO server and click this button to assign the selected server to one or more VPN group policies or user policies.
Application Access User Notes
The following sections provide information about using application access:
•
Using Application Access on Vista
•
Closing Application Access to Prevent hosts File Errors
•
Recovering from hosts File Errors When Using Application Access
Using Application Access on Vista
Users of Microsoft Windows Vista who use smart tunnels or port forwarding must add the URL of the ASA to the Trusted Site zone. To access the Trusted Site zone, they must start Internet Explorer and choose the Tools > Internet Options > Security tab. Vista users can also disable Protected Mode to facilitate smart tunnel access; however, we recommend against this method because it increases the computer's vulnerability to attack.
Closing Application Access to Prevent hosts File Errors
To prevent hosts file errors that can interfere with Application Access, close the Application Access window properly when you finish using Application Access. To do so, click the close icon.
Recovering from hosts File Errors When Using Application Access
The following errors can occur if you do not close the Application Access window properly:
•
The next time you try to start Application Access, it might be disabled; you receive a csco-config/97/plugin error message.
•
The applications themselves might be disabled or might malfunction, even when you are running them locally.
These errors can result from terminating the Application Access window in any improper way. For example:
•
Your browser crashes while you are using Application Access.
•
A power outage or system shutdown occurs while you are using Application Access.
•
You minimize the Application Access window while you are working, then shut down your computer with the window active (but minimized).
This section includes the following topics:
•
Understanding the hosts File
•
Stopping Application Access Improperly
•
Reconfiguring a Host's File Automatically Using Clientless SSL VPN
•
Reconfiguring hosts File Manually
Understanding the hosts File
The hosts file on your local system maps IP addresses to host names. When you start Application Access, clientless SSL VPN modifies the hosts file, adding clientless SSL VPN-specific entries. Stopping Application Access by properly closing the Application Access window returns the file to its original state.
Before invoking Application Access...
|
hosts file is in original state.
|
When Application Access starts....
|
• Clientless SSL VPN copies the hosts file to hosts.webvpn, thus creating a backup.
• Clientless SSL VPN then edits the hosts file, inserting clientless SSL VPN-specific information.
|
When Application Access stops...
|
• Clientless SSL VPN copies the backup file to the hostname(config)# config t
file, thus restoring the hosts file to its original state.
• Clientless SSL VPN deletes hosts.webvpn.
|
After finishing Application Access...
|
hosts file is in original state.
|
Note
Microsoft anti-spyware software blocks changes that the port forwarding Java applet makes to the hosts file. See www.microsoft.com for information on how to allow hosts file changes when using anti-spyware software.
Stopping Application Access Improperly
When Application Access terminates abnormally, the hostname(config)# name 10.1.1.10 DC
file remains in a clientless SSL VPN-customized state. Clientless SSL VPN checks the state the next time you start Application Access by searching for a hosts.webvpn file. If it finds one, a hostname(config)# ntp server DC
error message appears, and Application Access is temporarily disabled.
Once you shut down Application Access improperly, you leave your remote access client/server applications in limbo. If you try to start these applications without using clientless SSL VPN, they might malfunction. You might find that hosts that you normally connect to are unavailable. This situation could commonly occur if you run applications remotely from home, fail to quit the Application Access window before shutting down the computer, then try to run the applications later from the office.
Reconfiguring a Host's File Automatically Using Clientless SSL VPN
If you are able to connect to your remote access server, follow these steps to reconfigure the host's file and re-enable both Application Access and the applications.
Detailed Steps
Step 1
Start clientless SSL VPN and log in. The home page opens.
Step 2
Click the Applications Access link. A hostname(config)# dns domain-lookup inside
message appears.
Step 3
Choose one of the following options:
•
Restore from backup—Clientless SSL VPN forces a proper shutdown. It copies the hosts.webvpn backup file to the hostname(config)# dns server-group DefaultDNS
file, restoring it to its original state, then deletes hosts.webvpn. You then have to restart Application Access.
•
Do nothing—Application Access does not start. The remote access home page reappears.
•
Delete backup—Clientless SSL VPN deletes the hosts.webvpn file, leaving the hosts file in its clientless SSL VPN-customized state. The original hostname(config-dns-server-group)# name-server file settings are lost. Application Access then starts, using the clientless SSL VPN-customized hosts file as the new original. Choose this option only if you are unconcerned about losing hosts file settings. If you or a program you use might have edited the hosts file after Application Access has shut down improperly, choose one of the other options, or edit the hosts file manually. (See "Reconfiguring hosts File Manually.")
Reconfiguring hosts File Manually
If you are not able to connect to your remote access server from your current location, or if you have customized the hosts file and do not want to lose your edits, follow these steps to reconfigure the hosts file and reenable both Application Access and the applications.
Detailed Steps
Step 1
Locate and edit your hosts file. The most common location is c:\windows\sysem32\drivers\etc\hosts.
Step 2
Check to see if any lines contain the string: hostname(config-dns-server-group)# domain-name
If any lines contain this string, your hosts file is clientless SSL VPN-customized. If your hosts file is clientless SSL VPN-customized, it looks similar to the following example:
123.0.0.3 server1 # added by WebVpnPortForward
123.0.0.3 server1.example.com cisco.invalid.com # added by WebVpnPortForward
123.0.0.4 server2 # added by WebVpnPortForward
123.0.0.4 server2.example.com.cisco.invalid.com # added by WebVpnPortForward
123.0.0.5 server3 # added by WebVpnPortForward
123.0.0.5 server3.example.com cisco.invalid.com # added by WebVpnPortForward
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# 102.54.94.97 cisco.example.com # source server
# 38.25.63.10 x.example.com # x client host
Step 3
Delete the lines that contain the string: hostname(config)# aaa-server KerberosGroup protocol
Kerberos
Step 4
Save and close the file.
Step 5
Start clientless SSL VPN and log in.
The home page appears.
Step 6
Click the Application Access link.
The Application Access window appears. Application Access is now enabled.
Configuring File Access
Clientless SSL VPN serves remote users with HTTPS portal pages that interface with proxy CIFS and/or FTP clients running on the ASA. Using either CIFS or FTP, clientless SSL VPN provides users with network access to the files on the network, to the extent that the users meet user authentication requirements and the file properties do not restrict access. The CIFS and FTP clients are transparent; the portal pages delivered by clientless SSL VPN provide the appearance of direct access to the file systems.
When a user requests a list of files, clientless SSL VPN queries the server designated as the master browser for the IP address of the server containing the list. The ASA gets the list and delivers it to the remote user on a portal page.
Clientless SSL VPN lets the user invoke the following CIFS and FTP functions, depending on user authentication requirements and file properties:
•
Navigate and list domains and workgroups, servers within a domain or workgroup, shares within a server, and files within a share or directory
•
Create directories
•
Download, upload, rename, move, and delete files
The ASA uses a master browser, WINS server, or DNS server, typically on the same network as the ASA or reachable from that network, to query the network for a list of servers when the remote user clicks Browse Networks in the menu of the portal page or on the toolbar displayed during the clientless SSL VPN session.
The master browser or DNS server provides the CIFS/FTP client on the ASA with a list of the resources on the network, which clientless SSL VPN serves to the remote user.
Note
Before configuring file access, you must configure the shares on the servers for user access.
CIFS File Access Requirement and Limitation
To access \\server\share\subfolder\personal folder, the user must have list permission for all points above personal folder.
Clientless SSL VPN does not support the Copy and Paste buttons displayed on the CIFS browser. Users must click Download to copy files from CIFS directories to the local desktop.
The CIFS browse server feature does not support double-byte character share names (share names exceeding 13 characters in length). This only affects the list of folders displayed, and does not affect user access to the folder. As a workaround, you can pre-configure the bookmark(s) for the CIFS folder(s) that use double-byte share names, or the user can enter the URL or bookmark of the folder in the format cifs://server/<long-folder-name> . For example:
cifs://server/Do you remember?
cifs://server/Do%20you%20remember%3F
Adding Support for File Access
Configure file access as follows:
Note
The first procedure describes how to specify the master browser and WINS servers. As an alternative, you can use ASDM to configure URL lists and entries that provide access to file shares.
Adding a share in ASDM does not require a master browser or a WINS server. However, it does not provide support for the Browse Networks link. You can use a hostname or an IP address to refer to ServerA when entering this command. If you use a hostname, the ASA requires a DNS server to resolve it to an IP address.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
tunnel-group webvpn
|
Switches to tunnel-group webvpn configuration mode.
|
Step 3
|
nbns-server {IPaddress | hostname} [master] [timeout
timeout] [retry retries]
Example:
hostname(config-tunnel-webvpn)# nbns-server
192.168.1.20 master
hostname(config-tunnel-webvpn)# nbns-server
192.168.1.41
hostname(config-tunnel-webvpn)# nbns-server
192.168.1.47
|
Browses a network or domain for each NetBIOS Name Server (NBNS).
• master is the computer designated as the master browser. The master browser maintains the list of computers and shared resources. Any NBNS server you identify with this command without entering the master portion of the command must be a Windows Internet Naming Server (WINS). Specify the master browser first, then specify the WINS servers. You can specify up to three servers, including the master browser, for a connection profile.
• retries is the number of times to retry queries to the NBNS server. The ASA recycles through the list of servers this number of times before sending an error message. The default value is 2; the range is 1 through 10.
• timeout is the number of seconds the ASA waits before sending the query again, to the same server if it is the only one, or another server if there are more than one. The default timeout is 2 seconds; the range is 1 to 30 seconds.
|
Step 4
|
show tunnel-group webvpn-attributes
|
Displays the NBNS servers already present in the connection profile configuration.
|
Step 5
|
(Optional)
character-encoding charset
Example:
hostname(config-webvpn)# character-encoding
shift_jis
hostname(config-webvpn)# customization
DfltCustomization
hostname(config-webvpn-custom)# page style
background-color:white
|
Specifies the character set to encode in clientless SSL VPN portal pages delivered to remote users. By default, the encoding type set on the remote browser determines the character set for clientless SSL VPN portal pages, so you need to set the character encoding only if it is necessary to ensure proper encoding on the browser.
Charset is a string consisting of up to 40 characters, and equal to one of the valid character sets identified in http://www.iana.org/assignments/character-sets. You can use either the name or the alias of a character set listed on that page. Examples include iso-8859-1, shift_jis, and ibm850.
Note The character-encoding and file-encoding values do not exclude the font family to be used by the browser. You need to complement the setting of one these values with the page style command in webvpn customization command mode to replace the font family if you are using Japanese Shift_JIS character encoding, as shown in the following example, or enter the no page style command in webvpn customization command mode to remove the font family.
Sets the character-encoding attribute to support Japanese Shift_JIS characters, removes the font family, and retains the default background color.
|
Step 6
|
(Optional)
file-encoding {server-name | server-ip-address}
charset
Example:
hostname(config-webvpn)# file-encoding 10.86.5.174
cp860
|
Specifies the encoding for clientless SSL VPN portal pages from specific CIFS servers. Thus, you can use different file-encoding values for CIFS servers that require different character encodings.
Sets the file-encoding attribute of the CIFS server 10.86.5.174 to support IBM860 (alias "CP860") characters/.
|
For a complete description of these commands, see the Cisco Security Appliance Command Reference.
Ensuring Clock Accuracy for SharePoint Access
The clientless SSL VPN server on the ASA uses cookies to interact with applications such as Microsoft Word on the endpoint. The cookie expiration time set by the ASA can cause Word to malfunction when accessing documents on a SharePoint server if the time on the ASA is incorrect. To prevent this malfunction, set the ASA clock properly. We recommend configuring the ASA to dynamically synchronize the time with an NTP server. For instructions, see "Setting the Date and Time."
Using Clientless SSL VPN with PDAs
You can access clientless SSL VPN from your Pocket PC or other certified personal digital assistant device. Neither the ASA administrator nor the clientless SSL VPN user need do anything special to use clientless SSL VPN with a certified PDA.
Cisco has certified the following PDA platform:
HP iPaq H4150
Pocket PC 2003
Windows CE 4.20.0, build 14053
Pocket Internet Explorer (PIE)
ROM version 1.10.03ENG
ROM Date: 7/16/2004
Some differences in the PDA version of clientless SSL VPN exist:
•
A banner web page replaces the popup clientless SSL VPN window.
•
An icon bar replaces the standard clientless SSL VPN floating toolbar. This bar displays the Go, Home and Logout buttons.
•
The Show Toolbar icon is not included on the main clientless SSL VPN portal page.
•
Upon clientless SSL VPN logout, a warning message provides instructions for closing the PIE browser properly. If you do not follow these instructions and you close the browser window in the common way, PIE does not disconnect from clientless SSL VPN or any secure website that uses HTTPS.
Restrictions
•
Clientless SSL VPN supports OWA 2000 and OWA 2003 Basic Authentication. If Basic Authentication is not configured on an OWA server and a clientless SSL VPN user attempts to access that server, access is denied.
•
Unsupported clientless SSL VPN features:
–
Application Access and other Java-dependent features.
–
HTTP proxy.
–
The Citrix Metaframe feature (if the PDA does not have the corresponding Citrix ICA client software).
Using E-Mail over Clientless SSL VPN
Clientless SSL VPN supports several ways to access e-mail. This section includes the following methods:
•
Configuring E-mail Proxies
•
Configuring Web E-mail: MS Outlook Web App
Configuring E-mail Proxies
Clientless SSL VPN supports IMAP4S, POP3S, and SMTPS e-mail proxies. The following attributes apply globally to e-mail proxy users.
Restrictions
E-mail clients such as MS Outlook, MS Outlook Express, and Eudora lack the ability to access the certificate store.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
accounting-server-group
|
Specifies the previously configured accounting servers to use with e-mail proxy.
|
Step 2
|
authentication
|
Specifies the authentication method(s) for e-mail proxy users. The default values are as follows:
• IMAP4S: Mailhost (required)
• POP3S Mailhost (required)
• SMTPS: AAA
|
Step 3
|
authentication-server-group
|
Specifies the previously configured authentication servers to use with e-mail proxy. The default is LOCAL.
|
Step 4
|
authorization-server-group
|
Specifies the previously configured authorization servers to use with clientless SSL VPN.
|
Step 5
|
authorization-required
|
Requires users to authorize successfully to connect. The default is Disabled.
|
Step 6
|
authorization-dn-attributes
|
Identifies the DN of the peer certificate to use as a username for authorization. The defaults are as follows:
• Primary attribute: CN
• Secondary attribute: OU
|
Step 7
|
default-group-policy
|
Specifies the name of the group policy to use. The default is DfltGrpPolicy.
|
Step 8
|
enable
|
Enables e-mail proxy on the specified interface. The default is disabled.
|
Step 9
|
name-separator
|
Defines the separator between the e-mail and VPN usernames and passwords. The default is colon (:).
|
Step 10
|
outstanding
|
Configures the maximum number of outstanding non-authenticated sessions. The default is 20.
|
Step 11
|
port
|
Sets the port the e-mail proxy listens to. The default is as follows:
• IMAP4S:993
• POP3S: 995
• SMTPS: 9881
|
Step 12
|
server
|
Specifies the default e-mail server.
|
Step 13
|
server-separator
|
Defines the separator between the e-mail and server names. The default is @.
|
1 With the Eudora e-mail client, SMTPS works only on port 465, even though the default port for SMTPS connections is 988.
Configuring Web E-mail: MS Outlook Web App
The ASAsupports Microsoft Outlook Web App to Exchange Server 2010 and Microsoft Outlook Web Access to Exchange Server 2007, 2003, and 2000. OWA requires that users perform the following tasks:
Detailed Steps
Step 1
Enter the URL of the email service into the address field or click an associated bookmark in the clientless SSL VPN session.
Step 2
When prompted, enter the e-mail server username in the format domain\username.
Step 3
Enter the e-mail password.
Configuring Portal Access Rules
This enhancement allows customers to configure a global clientless SSL VPN access policy to permit or deny clientless SSL VPN sessions based on the data present in the HTTP header. If the ASA denies a clientless SSL VPN session, it returns an error code to the endpoint immediately.
The ASA evaluates this access policy before the endpoint authenticates to the ASA. As a result, in the case of a denial, fewer ASA processing resources are consumed by additional connection attempts from the endpoint.
Prerequisites
Log on to the ASA and enter global configuration mode. In global configuration mode, the ASA displays this prompt:
| |
Command
|
Purpose
|
Step 1
|
webvpn
Example:
hostname(config)# webvpn
|
Enter webvpn configuration mode.
|
Step 2
|
portal-access-rule priority [{permit | deny [code
code]} {any | user-agent match string}
Example:
hostname(config-webvpn)# portal-access-rule 1 deny code
403 user-agent match *Thunderbird*
hostname(config-webvpn)# portal-access-rule 1 deny code
403 user-agent match "*my agent*"
|
Permit or deny the creation of a clientless SSL VPN session based on an HTTP header code or a string in the HTTP header.
The second example shows the proper syntax for specifying a string with a space. Surround the string with wildcards (*) and then quotes (" ").
|
Detailed Steps
Optimizing Clientless SSL VPN Performance
The ASA provides several ways to optimize clientless SSL VPN performance and functionality. Performance improvements include caching and compressing web objects. Functionality tuning includes setting limits on content transformation and proxy-bypass. APCF provides an additional method of tuning content transformation. The following sections explain these features:
•
Configuring Caching
•
Configuring Content Transformation
Configuring Caching
Caching enhances clientless SSL VPN performance. It stores frequently reused objects in the system cache, which reduces the need to perform repeated rewriting and compressing of content. It reduces traffic between clientless SSL VPN and the remote servers, with the result that many applications run much more efficiently.
By default, caching is enabled. You can customize the way caching works for your environment by using the caching commands in cache mode.
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
disable
|
Disables caching.
|
Step 3
|
expiry-time
|
Configures an expiration time for caching objects.
|
Step 4
|
lmfactor
|
Configures terms for revalidating cached objects.
|
Step 5
|
max-object-size
|
Sets a maximum size for objects to cache.
|
Step 6
|
min-object-size
|
Sets a minimum size for objects to cache.
|
Step 7
|
cache-static-content
|
Caches all cacheable web objects, content not subject to rewriting. Examples include images and PDF files.
|
Detailed Steps
Configuring Content Transformation
By default, the ASA processes all clientless SSL VPN traffic through a content transformation/rewriting engine that includes advanced elements such as JavaScript and Java to proxy HTTP traffic that may have different semantics and access control rules depending on whether the user is accessing an application within or independently of an SSL VPN device.
Some web resources require highly individualized treatment. The following sections describe functionality that provides such treatment:
•
Configuring a Certificate for Signing Rewritten Java Content
•
Disabling Content Rewrite
•
Using Proxy Bypass
•
Configuring Application Profile Customization Framework
Subject to the requirements of your organization and the web content involved, you might use one of these features.
Configuring a Certificate for Signing Rewritten Java Content
Java objects which have been transformed by clientless SSL VPN can subsequently be signed using a PKCS12 digital certificate associated with a trustpoint.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
crypto ca import
|
Imports a certificate.
|
Step 2
|
ava-trustpoint
Example:t
hostname(config)# crypto ca import mytrustpoint
pkcs12 mypassphrase
Enter the base 64 encoded PKCS12.
End with the word "quit" on a line by itself.
INFO: Import PKCS12 operation completed
successfully.
hostname(config)# java-trustpoint mytrustpoint
|
Employs a certificate.
Shows the creation of a trustpoint named mytrustpoint and its assignment to signing Java objects
|
Disabling Content Rewrite
You might not want some applications and web resources, for example, public websites, to go through the ASA. The ASA therefore lets you create rewrite rules that let users browse certain sites and applications without going through the ASA. This is similar to split-tunneling in an IPsec VPN connection.
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
rewrite
|
Specifies applications and resources to access outside a clientless SSLN VPN tunnel. You can use this command multiple times.
|
Step 3
|
disable
|
Used in combination with the rewrite command. The order number of rules is important because the security appliance searches rewrite rules by order number, starting with the lowest, and applies the first rule that matches.
|
Using Proxy Bypass
You can configure the ASA to use proxy bypass when applications and web resources work better with the special content rewriting this feature provides. Proxy bypass is an alternative method of content rewriting that makes minimal changes to the original content. It is often useful with custom web applications.
You can use this command multiple times. The order in which you configure entries is unimportant. The interface and path mask or interface and port uniquely identify a proxy bypass rule.
If you configure proxy bypass using ports rather than path masks, depending on your network configuration, you might need to change your firewall configuration to allow these ports access to the ASA. Use path masks to avoid this restriction. Be aware, however, that path masks can change, so you might need to use multiple pathmask statements to exhaust the possibilities.
A path is everything in a URL after the .com or .org or other types of domain name. For example, in the URL www.mycompany.com/hrbenefits, hrbenefits is the path. Similarly, for the URL www.mycompany.com/hrinsurance, hrinsurance is the path. If you want to use proxy bypass for all hr sites, you can avoid using the command multiple times by using the * wildcard as follows: /hr*.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
proxy-bypass
|
Configures proxy bypass.
|
Configuring Application Profile Customization Framework
An APCF profile for clientless SSL VPN lets the ASA handle non-standard applications and web resources so that they display correctly over a clientless SSL VPN connection. An APCF profile contains a script that specifies when (pre, post), where (header, body, request, response), and what data to transform for a particular application. The script is in XML and uses sed (stream editor) syntax for string/text transformation. Multiple APCF profiles can run in parallel on a ASA. Within an APCF profile script, multiple APCF rules can apply. In this case, the ASA processes the oldest rule first (based on configuration history), then the next oldest rule, and so forth.
You can store APCF profiles on the ASA flash memory, or on an HTTP, HTTPS, or TFTP server.
Restrictions
We recommend that you configure an APCF profile only with the assistance of Cisco personnel.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
apcf
Example:
hostname(config-asa-server-group)# aaa-server
KerberosGroup (inside) host DC
apcf flash:/apcf/apcf1.xml
hostname(config-asa-server-group)# Kerberos-realm
PRIVATE.NET
apcf
https://myserver:1440/apcf/apcf2.xml
|
Identifies and locates an APCF profile that you want to load on the ASA.
Shows how to enable an APCF profile named apcf1.xml, located on flash memory.
Shows how to enable an APCF profile named apcf2.xml, located on an https server called myserver, port 1440 with the path being /apcf.
|
APCF Syntax
APCF profiles use XML format, and sed script syntax, with the XML tags in Table 73-7.
Guidelines
Misuse of an APCF profile can result in reduced performance and undesired rendering of content. In most cases, Cisco Engineering supplies APCF profiles to solve specific application rendering issues.
Table 73-7 APCF XML Tags
Tag
|
Use
|
<APCF>...</APCF>
|
The mandatory root element that opens any APCF XML file.
|
<version>1.0</version>
|
The mandatory tag that specifies the APCF implementation version. Currently the only version is 1.0.
|
<application>...</application>
|
The mandatory tag that wraps the body of the XML description.
|
<id> text </id>
|
The mandatory tag that describes this particular APCF functionality.
|
<apcf-entities>...</apcf-entities>
|
The mandatory tag that wraps a single or multiple APCF entities.
|
<js-object>...</js-object>
<html-object>...</html-object>
<process-request-header>...</process-request-header>
<process-response-header>...</process-response-header>
<preprocess-response-body>...</preprocess-response-body>
<postprocess-response-body>...</postprocess-response-body>
|
One of these tags specifies type of content or the stage at which the APCF processing should take place.
|
<conditions>... </conditions>
|
A child element of the pre/post-process tags that specifies criteria for processing such as:
http-version (such as 1.1, 1.0, 0.9)
http-method (get, put, post, webdav)
http-scheme (http, https, other)
server-regexp regular expression containing ("a".."z" | "A".."Z" | "0".."9" | ".-_*[]?"))
server-fnmatch (regular expression containing ("a".."z" | "A".."Z" | "0".."9" | ".-_*[]?+()\{},")),
user-agent-regexp
user-agent-fnmatch
request-uri-regexp
request-uri-fnmatch
If more than one of condition tags is present, the ASA performs a logical AND for all tags.
|
<action> ... </action>
|
Wraps one or more actions to perform on the content under specified conditions; you can use the following tags to define these actions (shown below): <do>, <sed-script>, <rewrite-header>, <add-header>, <delete-header>.
|
<do>...</do>
|
Child element of the action tag used to define one of the following actions:
<no-rewrite/>—Do not mangle the content received from the remote server.
<no-toolbar/>—Do not insert the toolbar.
<no-gzip/>—Do not compress the content.
<force-cache/>—Preserve the original caching instructions.
<force-no-cache/>—Make object non-cacheable.
< downgrade-http-version-on-backend>—Use HTTP/1.0 when sending the request to remote server.
|
<sed-script> TEXT </sed-script>
|
Child element of the action tag used to change the content of text-based objects. The Text must be a valid Sed script. The <sed-script> applies to the <conditions> tag defined before it.
|
<rewrite-header></rewrite-header>
|
Child element of the action tag. Changes the value of the HTTP header specified in the child element <header> tag shown below.
|
<add-header></add-header>
|
Child element of the action tag used to add a new HTTP header specified in the child element <header> tag shown below.
|
<delete-header></delete-header>
|
Child element of the action tag used to delete the specified HTTP header specified by the child element <header> tag shown below.
|
<header></header>
|
Specifies the name HTTP header to be rewritten, added, or deleted. For example, the following tag changes the value of the HTTP header named Connection:
<header>Connection</header>
|
Configuration Examples for APCF
Example:
<id>Do not compress content from notsogood.com</id>
<server-fnmatch>*.notsogood.com</server-fnmatch>
</process-request-header>
Example:
<id>Change MIME type for all .xyz objects</id>
<process-response-header>
<request-uri-fnmatch>*.xyz</request-uri-fnmatch>
<header>Content-Type</header>
</process-response-header>
Clientless SSL VPN End User Setup
This section is for the system administrator who sets up clientless SSL VPN for end users. It describes how to customize the end-user interface.
This section summarizes configuration requirements and tasks for a remote system. It specifies information to communicate to users to get them started using clientless SSL VPN. It includes the following topics:
•
Defining the End User Interface
•
Customizing Clientless SSL VPN Pages
•
Customizing Help
•
Requiring Usernames and Passwords
•
Communicating Security Tips
•
Configuring Remote Systems to Use Clientless SSL VPN Features
•
Translating the Language of User Messages
Defining the End User Interface
The clientless SSL VPN end user interface consists of a series of HTML panels. A user logs on to clientless SSL VPN by entering the IP address of a ASA interface in the format https://address. The first panel that displays is the login screen (Figure 73-9).
Figure 73-9 Clientless SSL VPN Login Screen
Viewing the Clientless SSL VPN Home Page
After the user logs in, the portal page opens.
The home page displays all of the clientless SSL VPN features you have configured, and its appearance reflects the logo, text, and colors you have selected. This sample home page includes all available clientless SSL VPN features with the exception of identifying specific file shares. It lets users browse the network, enter URLs, access specific websites, and use Application Access (port forwarding and smart tunnels) to access TCP applications.
Viewing the Clientless SSL VPN Application Access Panel
To start port forwarding or smart tunnels, a user clicks the Go button in the Application Access box. The Application Access window opens (Figure 73-10).
Figure 73-10 Clientless SSL VPN Application Access Window
This window displays the TCP applications configured for this clientless SSL VPN connection. To use an application with this panel open, the user starts the application in the normal way.
Note
A stateful failover does not retain sessions established using Application Access. Users must reconnect following a failover.
Viewing the Floating Toolbar
The floating toolbar shown in Figure 73-11 represents the current clientless SSL VPN session.
Figure 73-11 Clientless SSL VPN Floating Toolbar
Be aware of the following characteristics of the floating toolbar:
•
The toolbar lets you enter URLs, browse file locations, and choose preconfigured web connections without interfering with the main browser window.
•
If you configure your browser to block popups, the floating toolbar cannot display.
•
If you close the toolbar, the ASA prompts you to confirm that you want to end the clientless SSL VPN session.
See Table 73-10 for detailed information about using clientless SSL VPN.
Customizing Clientless SSL VPN Pages
You can change the appearance of the portal pages displayed to clientless SSL VPN users. This includes the Login page displayed to users when they connect to the security appliance, the Home page displayed to users after the security appliance authenticates them, the Application Access window displayed when users launch an application, and the Logout page displayed when users log out of clientless SSL VPN sessions.
After you customize the portal pages, you can save your customization and apply it to a specific connection profile, group policy, or user. The changes do not take effect until you reload the ASA, or you disable and then enable clientless SSL.
You can create and save many customization objects, enabling the security appliance to change the appearance of portal pages for individual users or groups of users.
This section contains the following topics and tasks:
•
Information About Customization
•
Exporting a Customization Template
•
Editing the Customization Template
•
Importing a Customization Object
•
Applying Customizations to Connection Profiles, Group Policies and Users
•
Login Screen Advanced Customization
Information About Customization
The ASA uses customization objects to define the appearance of user screens. A customization object is compiled from an XML file which contains XML tags for all the customizable screen items displayed to remote users. The ASA software contains a customization template that you can export to a remote PC. You can edit this template and import the template back into the ASA as a new customization object.
When you export a customization object, an XML file containing XML tags is created at the URL you specify. The XML file created by the customization object named Template contains empty XML tags, and provides the basis for creating new customization objects. This object cannot be changed or deleted from cache memory but can be exported, edited, and imported back into the ASA as a new customization object.
Customization Objects, Connection Profiles, and Group Policies
Initially, when a user first connects, the default customization object (named DfltCustomization) identified in the connection profile (tunnel group) determines how the logon screen appears. If the connection profile list is enabled, and the user selects a different group which has its own customization, the screen changes to reflect the customization object for that new group.
After the remote user is authenticated, the screen appearance is determined by whether a customization object that has been assigned to the group policy.
Exporting a Customization Template
When you export a customization object, an XML file is created at the URL you specify. The customization template (named Template) contains empty XML tags and provides the basis for creating new customization objects. This object cannot be changed or deleted from cache memory but can be exported, edited, and imported back into the ASA as a new customization object.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
export webvpn customization
|
Exports a customization object and allows you to make changes to the XML tags.
|
Step 2
|
import webvpn customization
Example:
hostname# export webvpn customization
DfltCustomization tftp://209.165.200.225/dflt_custom
!!!!!!!!!!!!!!!!INFO: Customization object
'DfltCustomization' was exported to
tftp://10.86.240.197/dflt_custom
hostname#
|
Imports the file as a new object.
Exports the default customization object (DfltCustomization) and creates the XML file named dflt_custom.
|
Editing the Customization Template
This section shows the contents of the customization template and has convenient figures to help you quickly choose the correct XML tag and make changes that affect the screens.
You can use a text editor or an XML editor to edit the XML file. The following example shows the XML tags of the customization template. Some redundant tags have been removed for easier viewing:
Example:
<languages>en,ja,zh,ru,ua</languages>
<default-language>en</default-language>
<title-text l10n="yes"><![CDATA[SSL VPN Service]]></title-text>
<title l10n="yes">Language:</title>
<text>丯å>½ (Chinese)</text>
<text>日本 (Japanese)</text>
<text>РуÑÑкий (Russian)</text>
<text>УкраїнÑька (Ukrainian)</text>
<title-text l10n="yes"><![CDATA[Login]]></title-text>
<title-background-color><![CDATA[#666666]]></title-background-color>
<title-font-color><![CDATA[#ffffff]]></title-font-color>
<message-text l10n="yes"><![CDATA[Please enter your username and
password.]]></message-text>
<username-prompt-text l10n="yes"><![CDATA[USERNAME:]]></username-prompt-text>
<password-prompt-text l10n="yes"><![CDATA[PASSWORD:]]></password-prompt-text>
<internal-password-prompt-text l10n="yes">Internal
Password:</internal-password-prompt-text>
<internal-password-first>no</internal-password-first>
<group-prompt-text l10n="yes"><![CDATA[GROUP:]]></group-prompt-text>
<submit-button-text l10n="yes"><![CDATA[Login]]></submit-button-text>
<title-font-color><![CDATA[#ffffff]]></title-font-color>
<title-background-color><![CDATA[#666666]]></title-background-color>
<font-color>#000000</font-color>
<background-color>#ffffff</background-color>
<border-color>#858A91</border-color>
<title-text l10n="yes"><![CDATA[Logout]]></title-text>
<message-text l10n="yes"><![CDATA[Goodbye.<br>
For your own security, please:<br>
<li>Clear the browser's cache
<li>Delete any downloaded files
<li>Close the browser's window]]></message-text>
<login-button-text l10n="yes">Logon</login-button-text>
<hide-login-button>no</hide-login-button>
<title-background-color><![CDATA[#666666]]></title-background-color>
<title-font-color><![CDATA[#ffffff]]></title-font-color>
<title-font-color><![CDATA[#ffffff]]></title-font-color>
<title-background-color><![CDATA[#666666]]></title-background-color>
<font-color>#000000</font-color>
<background-color>#ffffff</background-color>
<border-color>#858A91</border-color>
<text l10n="yes"><![CDATA[SSL VPN Service]]></text>
<logo-url l10n="yes">/+CSCOU+/csco_logo.gif</logo-url>
<background-color><![CDATA[#ffffff]]></background-color>
<font-size><![CDATA[larger]]></font-size>
<font-color><![CDATA[#800000]]></font-color>
<font-weight><![CDATA[bold]]></font-weight>
<image-url l10n="yes">/+CSCOU+/clear.gif</image-url>
<image-position>above</image-position>
<text l10n="yes"><![CDATA[SSL VPN Service]]></text>
<logo-url l10n="yes">/+CSCOU+/csco_logo.gif</logo-url>
<background-color><![CDATA[#ffffff]]></background-color>
<font-size><![CDATA[larger]]></font-size>
<font-color><![CDATA[#800000]]></font-color>
<font-weight><![CDATA[bold]]></font-weight>
<browse-network-title l10n="yes">Browse Entire Network</browse-network-title>
<access-network-title l10n="yes">Start AnyConnect</access-network-title>
<tab-title l10n="yes">Home</tab-title>
<tab-title l10n="yes"><![CDATA[Web Applications]]></tab-title>
<url-list-title l10n="yes"><![CDATA[Web Bookmarks]]></url-list-title>
<tab-title l10n="yes"><![CDATA[Browse Networks]]></tab-title>
<url-list-title l10n="yes"><![CDATA[File Folder Bookmarks]]></url-list-title>
<tab-title l10n="yes"><![CDATA[Application Access]]></tab-title>
<tab-title l10n="yes">AnyConnect</tab-title>
<tab-title l10n="yes">Help</tab-title>
<logout-prompt-text l10n="yes">Logout</logout-prompt-text>
<prompt-box-title l10n="yes">Address</prompt-box-title>
<browse-button-text l10n="yes">Browse</browse-button-text>
Figure 73-12 shows the Logon page and its customizing XML tags. All these tags are nested within the higher-level tag <auth-page>.
Figure 73-12 Logon Page and Associated XML Tags
Figure 73-13 shows the Language Selector drop-down list that is available on the Logon page, and the XML tags for customizing this feature. All these tags are nested within the higher-level <auth-page> tag.
Figure 73-13 Language Selector on Logon Screen and Associated XML Tags
Figure 73-14 shows the Information Panel that is available on the Logon page, and the XML tags for customizing this feature. This information can appear to the left or right of the login box. These tags are nested within the higher-level <auth-page> tag.
Figure 73-14 Information Panel on Logon Screen and Associated XML Tags
Figure 73-15 shows the Portal page and the XML tags for customizing this feature. These tags are nested within the higher-level <auth-page> tag.
Figure 73-15 Portal Page and Associated XML Tags
Importing a Customization Object
After you edit and save the XML file, import it into cache memory of the ASA using the following commands:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
import webvpn customization
Example:
hostname# import webvpn customization custom1
tftp://209.165.201.22/customization /General.xml
Accessing
tftp://209.165.201.22/customization/General.xml...!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing file disk0:/csco_config/97/custom1...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
329994 bytes copied in 5.350 secs (65998 bytes/sec)
|
Imports an XML file into cache memory of the ASA. When you import the customization object, the ASA checks the XML code for validity. If the code is valid, the ASA stores the object in a hidden location in cache memory.
Imports the customization object General.xml from the URL 209.165.201.22/customization and names it custom1.
|
Applying Customizations to Connection Profiles, Group Policies and Users
After you create a customization, you can apply the customization to a connection profile (tunnel group), a group, or a user, with the customization command. The options displayed with this command are different depending on the mode you are in.
Note
After you customize the portal pages, the changes do not take effect until you reload the ASA, or you disable and then enable clientless SSL.
For more information about configuring connection profiles, group policies, and users, see Chapter 66 "Configuring Connection Profiles, Group Policies, and Users.".
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
tunnel-group webvpn
OR
group-policy webvpn
OR
username webvpn
|
Switches to tunnel-group webvpn configuration mode.
Switches to group-policy webvpn configuration.
Switches to username webvpn configuration.
|
Step 3
|
customization name
Example:
hostname(config)# tunnel-group cisco_telecommuters
webvpn-attributes
hostname(tunnel-group-webvpn)# customization cisco
OR
customization {none | value name}
Example:
hostname(config)# group-policy cisco_sales
attributes
hostname(config-group-policy)# webvpn
hostname(config-username-webvpn)# customization
value ?
config-username-webvpn mode commands/options:
Available configured customization profiles:
hostname(config-group-webvpn)# customization value
cisco
Example:
hostname(config)# username cisco_employee attributes
hostname(config-username)# webvpn
hostname(config-username-webvpn)# customization
value cisco
|
Applies a customization to a connection profile. name is the name of a customization to apply to the connection profile.
Enters tunnel-group webvpn configuration mode and enables the customization cisco for the connection profile cisco_telecommutes.
Applies a customization to a group or use. The following options are included:
• none disables the customization for the group or user, prevents the value from being inherited, and displays the default clientless SSL VPN pages.
• value name is the name of a cu
Enters group policy webvpn configuration mode, queries the security appliance for a list of customizations, and enables the customization cisco for the group policy cisco_sales.
Enters username webvpn configuration mode and enables the customization cisco for the user cisco_employee.
|
Step 4
|
(Optional)
[no] customization name
OR
[no] customization {none | value name}
|
Removes the command from the configuration and removes a customization from the connection profile.
Removes the command from the configuration and reverts to the default.
|
Step 5
|
customization command followed by a question mark
(?)
|
Shows a list of existing customizations.
|
Login Screen Advanced Customization
If you prefer to use your own, custom login screen, rather than changing specific screen elements of the login screen we provide, you can perform this advanced customization using the Full Customization feature.
With Full Customization, you provide the HTML for your own login screen, and you insert Cisco HTML code that calls functions on the ASA that create the Login form and the Language Selector drop-down list.
This section describes the modifications you need to make to your HTML code and the tasks required to configure the ASA to use your code.
Figure 73-16 shows the standard Cisco login screen that displays to clientless SSL VPN users. The Login form is displayed by a function called by the HTML code.
Figure 73-16 Standard Cisco Login Page
Figure 73-17 shows the Language Selector drop-down list. This feature is an option for clientless SSL VPN users and is also called by a function in the HTML code of the login screen.
Figure 73-17 Language Selector Drop-down List
Figure 73-18 shows a simple example of a custom login screen enabled by the Full Customization feature.
Figure 73-18 Example of Full Customization of Login Screens
The following HTML code is used as an example and is the code that displays:
Example:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<img border="0" src="/+CSCOU+/cisco_logo.jpg" width="188" height="48"><font face="Snap
ITC" size="6" color="#FF00FF">
</font><font face="Snap ITC" color="#FF00FF" size="7"> </font><i><b><font
color="#FF0000" size="7" face="Sylfaen"> SSL VPN Service by the Cisco
ASA5500</font></b></i></p>
<body onload="csco_ShowLoginForm('lform');csco_ShowLanguageSelector('selector')">
<tr><td colspan=3 height=20 align=right><div id="selector" style="width:
300px"></div></td></tr>
<tr><td></td><td></td><td></td></tr>
<td align=middle valign=middle>
<td align=right valign=right width="800">
<img border="1" src="/+CSCOU+/asa5500.jpg" width="660" height="220" align="middle">
The indented code injects the Login form and the Language Selector on the screen. The function csco_ShowLoginForm('lform') injects the logon form. csco_ShowLanguageSelector('selector') injects the Language Selector.
Modifying Your HTML File
Follow these steps to modify your HTML file:
Detailed Steps
Step 1
Name your file logon.inc. When you import the file, the ASA recognizes this filename as the logon screen.
Step 2
Modify the paths of images used by the file to include /+CSCOU+/.
Files that are displayed to remote users before authentication must reside in a specific area of the ASA cache memory represented by the path /+CSCOU+/. Therefore, the source for each image in the file must include this path. For example:
src="/+CSCOU+/asa5520.gif"
Step 3
Insert the special HTML code below. This code contains the Cisco functions, described earlier, that inject the login form and language selector onto the screen.
<body onload="csco_ShowLoginForm('lform');csco_ShowLanguageSelector('selector')">
<tr><td colspan=3 height=20 align=right><div id="selector" style="width:
300px"></div></td></tr>
<tr><td></td><td></td><td></td></tr>
<td align=middle valign=middle>
<td align=right valign=right width="800">
<img border="1" src="/+CSCOU+/asa5500.jpg" width="660" height="220" align="middle">
Step 4
(Optional) Click Find to search for a customization object. Start typing in the field, and the tool searches the beginning characters of every field for a match. You can use wild cards to expand your search. For example, typing sal in the Find field matches a customization object named sales but not a customization object named wholesalers. If you type *sal in the Find field, the search finds the first instance of either sales or wholesalers in the table.
Use the up and down arrows to skip up or down to the next string match. Check the Match Case checkbox to make your search case sensitive.
Step 5
Specify when the onscreen keyboard shows on portal pages. The choices are as follows:
•
Do not show OnScreen Keyboard
•
Show only for the login page
•
Show for all portal pages requiring authentication
Step 6
(Optional) Highlight a customization object and click Assign to assign the selected object to one or more group policies, connection profiles, or LOCAL users.
•
Configuring Browser Access to Client-Server Plug-ins
The Client-Server Plug-in table displays the plug-ins the ASA makes available to browsers in clientless SSL VPN sessions.
To add, change, or remove a plug-in, do one of the following:
•
To add a plug-in, click Import. The Import Plug-ins dialog box opens.
•
To remove a plug-in, choose it and click Delete.
The following sections describe the integration of browser plug-ins for Clientless SSL VPN browser access:
•
About Installing Browser Plug-ins
•
Preparing the Security Appliance for a Plug-in
•
Installing Plug-ins Redistributed By Cisco
About Installing Browser Plug-ins
A browser plug-in is a separate program that a web browser invokes to perform a dedicated function, such as connect a client to a server within the browser window. The ASA lets you import plug-ins for download to remote browsers in clientless SSL VPN sessions. Of course, Cisco tests the plug-ins it redistributes, and in some cases, tests the connectivity of plug-ins we cannot redistribute. However, we do not recommend importing plug-ins that support streaming media at this time.
The ASA does the following when you install a plug-in onto the flash device:
•
(Cisco-distributed plug-ins only) Unpacks the jar file specified in the URL.
•
Writes the file to the csco-config/97/plugin directory on the ASA file system.
•
Populates the drop-down menu next to the URL attributes in ASDM.
•
Enables the plug-in for all future clientless SSL VPN sessions, and adds a main menu option and an option to the drop-down menu next to the Address field of the portal page.
Table 73-8 shows the changes to the main menu and address field of the portal page when you add the plug-ins described in the following sections.
Table 73-8 Effects of Plug-ins on the Clientless SSL VPN Portal Page
Plug-in
|
Main Menu Option Added to Portal Page
|
Address Field Option Added to Portal Page
|
ica
|
Citrix Client
|
citrix://
|
rdp
|
Terminal Servers
|
rdp://
|
rdp2
|
Terminal Servers Vista
|
rdp2://
|
ssh,telnet
|
SSH
|
ssh://
|
Telnet
|
telnet://
|
vnc
|
VNC Client
|
vnc://
|
Note
A secondary ASA obtains the plug-ins from the primary ASA.
When the user in a clientless SSL VPN session clicks the associated menu option on the portal page, the portal page displays a window to the interface and displays a help pane. The user can select the protocol displayed in the drop-down menu and enter the URL in the Address field to establish a connection.
Note
Some Java plug-ins may report a status of connected or online even when a session to the destination service is not set up. The open-source plug-in reports the status, not the ASA.
Before installing the first plug-in, you must follow the instructions in the next section.
Prerequisites
•
The plug-ins do not work if the security appliance configures the clientless session to use a proxy server.
Note
The remote desktop protocol plug-in does not support load balancing with a session broker. Because of the way the protocol handles the redirect from the session broker, the connection fails. If a session broker is not used, the plug-in works.
•
The plug-ins support single sign-on (SSO). They use the same credentials entered to open the clientless SSL VPN session. Because the plug-ins do not support macro substitution, you do not have the options to perform SSO on different fields such as the internal domain password or on an attribute on a RADIUS or LDAP server.
•
To configure SSO support for a plug-in, you install the plug-in, add a bookmark entry to display a link to the server, and specify SSO support when adding the bookmark.
•
The minimum access rights required for remote use belong to the guest privilege mode.
Requirements
•
Per the GNU General Public License (GPL), Cisco redistributes plug-ins without having made any changes to them. Per the GPL, Cisco cannot directly enhance these plug-ins.
•
Clientless SSL VPN must be enabled on the ASA to provide remote access to the plug-ins.
•
A stateful failover does not retain sessions established using plug-ins. Users must reconnect following a failover.
•
Plug-ins require ActiveX or Sun JRE 5, Update 1.4 or later (JRE 6 or later recommended) to be enabled on the browser. An ActiveX version of the RDP plug-in is unavailable for 64-bit browsers.
RDP Plug-in ActiveX Debug Quick Reference
To set up and use an RDP plug-in, you must add a new environment variable. For the process of adding a new environment variable, use the following steps:
Step 1
Right click on My Computer to access the System Properties and choose the Advanced tab.
Step 2
On the Advanced tab, choose the environment variables button.
Step 3
In the new user variable dialog box, enter the RF_DEBUG variable.
Step 4
Verify the new Environment Variable in the user variables section.
Step 5
If you used the client computer with versions of WebVPN before version 8.3, you must remove the old Cisco Portforwarder Control. Go to the C:/WINDOWS/Downloaded Program Files directory, right click on the portforwarder control, and choose Remove.
Step 6
Clear all of the Internet Explorer browser cache.
Step 7
Launch your WebVPN session and establish an RDP session with the RDP ActiveX Plug-in.
You can now observe events in the Windows Application Event viewer.
Preparing the Security Appliance for a Plug-in
Before installing a plug-in, prepare the ASA by performing the following steps:
Step 1
Make sure clientless SSL VPN ("webvpn") is enabled on a ASA interface.
Step 2
Install an SSL certificate onto the ASA interface to which remote users use a fully-qualified domain name (FQDN) to connect.
Note
Do not specify an IP address as the common name (CN) for the SSL certificate. The remote user attempts to use the FQDN to communicate with the ASA. The remote PC must be able to use DNS or an entry in the System32\drivers\etc\hosts file to resolve the FQDN.
Configuring the ASA to Use the New HTML File
Follow these steps to configure the ASA to use the new HTML file you just customized in the previous steps.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
import webvpn webcontent
Example:
hostname# import webvpn webcontent
/+CSCOU+/login.inc tftp://209.165.200.225/login.inc
!!!!* Web resource `+CSCOU+/login.inc' was
successfully initialized
hostname#
|
Imports the file and images as Web Content.
|
Step 2
|
export webvpn customization
Example:
hostname2# export webvpn customization template
tftp://209.165.200.225/sales_vpn_login
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%INFO: Customization object 'Template' was exported
to tftp://10.21.50.120/sales
_vpn_login
|
Exports a customization template.
|
Step 3
|
Change the full customization mode tag in the file to enable
Example:
<url>+CSCOU+/login.inc</url>
</full-customization>
|
Supplies the URL of the login file stored in the ASA memory.
|
Step 4
|
Import the file as a new customization object
Example:
hostname# import webvpn customization
sales_vpn_login tftp://10.21.50.120/sales_vpn_login$
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%INFO: customization object 'sales_vpn_login' was
successfully imported
|
|
Step 5
|
Apply the customization object to a Connection Profile (tunnel group)
Example:
hostname(config)# tunnel-group Sales
webvpn-attributes
hostname(config-tunnel-webvpn)#customization
sales_vpn_login
|
|
Customizing Help
The ASA displays help content on the application panels during clientless SSL VPN sessions. You can customize the help files provided by Cisco or create help files in other languages. You then import them to flash memory for display during subsequent clientless sessions. You can also retrieve previously imported help content files, modify them, and reimport them to flash memory.
Each clientless application panel displays its own help file content using a predetermined filename. The prospective location of each is in the /+CSCOE+/help/language/ URL within flash memory of the ASA. Table 73-9 shows the details about each of the help files you can maintain for clientless SSL VPN sessions.
Table 73-9 Clientless SSL VPN Application Help Files
Application Type
|
Panel
|
URL of Help File in Flash Memory of the Security Appliance
|
Help File Provided By Cisco in English?
|
Standard
|
Application Access
|
/+CSCOE+/help/language/app-access-hlp.inc
|
Yes
|
Standard
|
Browse Networks
|
/+CSCOE+/help/language/file-access-hlp.inc
|
Yes
|
Standard
|
AnyConnect Client
|
/+CSCOE+/help/language/net-access-hlp.inc
|
Yes
|
Standard
|
Web Access
|
/+CSCOE+/help/language/web-access-hlp.inc
|
Yes
|
Plug-in
|
MetaFrame Access
|
/+CSCOE+/help/language/ica-hlp.inc
|
No
|
Plug-in
|
Terminal Servers
|
/+CSCOE+/help/language/rdp-hlp.inc
|
Yes
|
Plug-in
|
Telnet/SSH Servers
|
/+CSCOE+/help/language/ssh,telnet-hlp.inc
|
Yes
|
Plug-in
|
VNC Connections
|
/+CSCOE+/help/language/vnc-hlp.inc
|
Yes
|
language is the abbreviation of the language rendered by the browser. This field is not used for file translation; it indicates the language used in the file. To specify a particular language code, copy the language abbreviation from the list of languages rendered by your browser. For example, a dialog window displays the languages and associated language codes when you use one of the following procedures:
•
Open Internet Explorer and choose Tools > Internet Options > Languages > Add.
•
Open Mozilla Firefox and choose Tools > Options > Advanced > General, click Choose next to Languages, and click Select a language to add.
The following sections describe how to customize the help content visible on clientless sessions:
•
Customizing a Help File Provided By Cisco
•
Creating Help Files for Languages Not Provided by Cisco
•
Importing a Help File to Flash Memory
•
Exporting a Previously Imported Help File from Flash Memory
Customizing a Help File Provided By Cisco
To customize a help file provided by Cisco, you need to get a copy of the file from the flash memory card first. Get the copy and customize it as follows:
Detailed Steps
Step 1
Use your browser to establish a clientless SSL VPN session with the ASA.
Step 2
Display the help file by appending the string in "URL of Help File in Flash Memory of the Security Appliance" in Table 73-9, to the address of the ASA, then press Enter.
Note
Enter en in place of language to get the help file in English.
The following example address displays the English version of the Terminal Servers help:
https://address_of_security_appliance/+CSCOE+/help/en/rdp-hlp.inc
Step 3
Choose File > Save (Page) As.
Note
Do not change the contents of the File name box.
Step 4
Change the Save as type option to Web Page, HTML only and click Save.
Step 5
Use your preferred HTML editor to modify the file.
Note
You can use most HTML tags, but do not use tags that define the document and its structure (e.g., do not use <html>, <title>, <body>, <head>, <h1>, <h2>, etc. You can use character tags, such as the <b> tag, and the <p>, <ol>, <ul>, and <li> tags to structure content.
Step 6
Save the file as HTML only, using the original filename and extension.
Step 7
Make sure the filename matches the one in Table 73-9, and that it does not have an extra filename extension.
See "Importing a Help File to Flash Memory" to import the modified file for display in clientless SSL VPN sessions.
Creating Help Files for Languages Not Provided by Cisco
Use HTML to create help files in other languages.
We recommend creating a separate folder for each language you want to support.
Save the file as HTML only. Use the filename following the last slash in "URL of Help File in Flash Memory of the Security Appliance" in Table 73-9.
See the next section to import the files for display in clientless SSL VPN sessions.
Restrictions
You can use most HTML tags, but do not use tags that define the document and its structure (e.g., do not use <html>, <title>, <body>, <head>, <h1>, <h2>, etc. You can use character tags, such as the <b> tag, and the <p>, <ol>, <ul>, and <li> tags to structure content.
Importing a Help File to Flash Memory
To import a help content file to flash memory for display in clientless SSL VPN sessions, follow these steps:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
import webvpn webcontent destination_url source_url
Example:
hostname# import webvpn webcontent
/+CSCOE+/help/en/app-access-hlp.inc
tftp://209.165.200.225/app-access-hlp.inc
|
Imports a help content file to flash memory for display in clientless SSL VPN sessions.
• destination_url is the string in the URL of Help File in Flash Memory of the Security Appliance column of Clientless SSL VPN Application Help Files.
• source_url is the URL of the file to import. Valid prefixes are ftp://, http://, and tftp://.
Copies the help file app-access-hlp.inc to flash memory from the TFTP server at 209.165.200.225. The URL includes the abbreviation en for the English language.
|
Exporting a Previously Imported Help File from Flash Memory
To retrieve a previously imported help content file for subsequent edits, follow these steps:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
export webvpn webcontent source_url destination_url
Example:
hostname# export webvpn webcontent
/+CSCOE+/help/en/file-access-hlp.inc
tftp://209.165.200.225/file-access-hlp.inc
|
Retrieves a previously imported help content file for subsequent edits.
• source_url is the string in "URL of Help File in Flash Memory of the Security Appliance" in Table 73-9.
• destination_url is the target URL. Valid prefixes are ftp:// and tftp://. The maximum number of characters is 255.
Copies the English language help file file-access-hlp.inc displayed on the Browser Networks panel to TFTP Server 209.165.200.225.
|
Requiring Usernames and Passwords
Depending on your network, during a remote session users might have to log in to any or all of the following: the computer itself, an Internet service provider, clientless SSL VPN, mail or file servers, or corporate applications. Users might have to authenticate in many different contexts, requiring different information, such as a unique username, password, or PIN.
Table 73-10 lists the type of usernames and passwords that clientless SSL VPN users might need to know.
Table 73-10 Usernames and Passwords to Give to Users of Clientless SSL VPN Sessions
Login Username/ Password Type
|
Purpose
|
Entered When
|
Computer
|
Access the computer
|
Starting the computer
|
Internet Service Provider
|
Access the Internet
|
Connecting to an Internet service provider
|
Clientless SSL VPN
|
Access remote network
|
Starting clientless SSL VPN
|
File Server
|
Access remote file server
|
Using the clientless SSL VPN file browsing feature to access a remote file server
|
Corporate Application Login
|
Access firewall-protected internal server
|
Using the clientless SSL VPN web browsing feature to access an internal protected website
|
Mail Server
|
Access remote mail server via clientless SSL VPN
|
Sending or receiving e-mail messages
|
Communicating Security Tips
Advise users to always click the logout icon on the toolbar to close the clientless SSL VPN session. (Closing the browser window does not close the session.)
Clientless SSL VPN ensures the security of data transmission between the remote PC or workstation and the ASA on the corporate network. Advise users that using clientless SSL VPN does not ensure that communication with every site is secure. If a user then accesses a non-HTTPS web resource (located on the Internet or on the internal network), the communication from the corporate ASA to the destination web server is not private because it is not encrypted.
"Observing Clientless SSL VPN Security Precautions" on page 5 addresses an additional tip to communicate with users, depending on the steps you follow within that section.
Configuring Remote Systems to Use Clientless SSL VPN Features
This section describes how to set up remote systems to use clientless SSL VPN and includes the following topics:
•
Starting Clientless SSL VPN
•
Using the Clientless SSL VPN Floating Toolbar
•
Browsing the Web
•
Browsing the Network (File Management)
•
Using Port Forwarding
•
Using Email Via Port Forwarding
•
Using Email Via Web Access
•
Using Email Via Email Proxy
•
Using Smart Tunnel
You may configure user accounts differently and different clientless SSL VPN features can be available to each user.
Starting Clientless SSL VPN
You can connect to the internet using any supported connection including:
•
home DSL, cable, or dial-ups
•
public kiosks
•
hotel hook-ups
•
airport wireless nodes
•
internet cafes
Note
See the Cisco ASA 5500 Series VPN Compatibility Reference for the list of web browsers supported by clientless SSL VPN.
Prerequisites
•
Cookies must be enabled on the browser in order to access applications via port forwarding.
•
You must have a URL for clientless SSL VPN. The URL must be an https address in the following form: https://address, where address is the IP address or DNS hostname of an interface of the ASA (or load balancing cluster) on which SSL VPN is enabled. For example, https://cisco.example.com.
•
You must have a clientless SSL VPN username and password.
Restrictions
•
Clientless SSL VPN supports local printing, but it does not support printing through the VPN to a printer on the corporate network.
Using the Clientless SSL VPN Floating Toolbar
A floating toolbar is available to simplify the use of clientless SSL VPN. The toolbar lets you enter URLs, browse file locations, and choose preconfigured web connections without interfering with the main browser window.
The floating toolbar represents the current clientless SSL VPN session. If you click the Close button, the ASA prompts you to confirm that you want to close the clientless SSL VPN session.
Tip
To paste text into a text field, use Ctrl-V. (Right-clicking is disabled on the toolbar displayed during the clientless SSL VPN session.)
Restrictions
If you configure your browser to block popups, the floating toolbar cannot display.
Browsing the Web
Using clientless SSL VPN does not ensure that communication with every site is secure. See Communicating Security Tips.
The look and feel of web browsing with clientless SSL VPN might be different from what users are accustomed to. For example:
•
The title bar for clientless SSL VPN appears above each web page.
•
You access websites by:
–
Entering the URL in the Enter Web Address field on the clientless SSL VPN Home page
–
Clicking on a preconfigured website link on the clientless SSL VPN Home page
–
Clicking a link on a webpage accessed via one of the previous two methods
Also, depending on how you configured a particular account, it might be that:
•
Some websites are blocked
•
Only the websites that appear as links on the clientless SSL VPN Home page are available
Prerequisites
•
You need the username and password for protected websites.
Restrictions
Also, depending on how you configured a particular account, it might be that:
•
Some websites are blocked
•
Only the websites that appear as links on the clientless SSL VPN Home page are available
Browsing the Network (File Management)
Users might not be familiar with how to locate their files through your organization network.
Note
Do not interrupt the Copy File to Server command or navigate to a different screen while the copying is in progress. Interrupting the operation can cause an incomplete file to be saved on the server.
Prerequisites
•
You must configure file permissions for shared remote access.
•
You must have the server names and passwords for protected file servers.
•
You must have the domain, workgroup, and server names where folders and files reside.
Restrictions
Only shared folders and files are accessible via clientless SSL VPN.
Using Port Forwarding
Note
Users should always close the Application Access window when they finish using applications by clicking the Close icon. Failure to quit the window properly can cause Application Access or the applications themselves to be disabled. See Recovering from hosts File Errors When Using Application Access for details.
Prerequisites
•
On Macintosh OS X, only the Safari browser supports this feature.
•
You must have client applications installed.
•
You must have Cookies enabled on the browser.
•
You must have administrator access on the PC if you use DNS names to specify servers, because modifying the hosts file requires it.
•
You must have Sun Microsystems Java Runtime Environment (JRE) version 1.4.x and 1.5.x installed.
If JRE is not installed, a pop-up window displays, directing users to a site where it is available. On rare occasions, the port forwarding applet fails with JAVA exception errors. If this happens, do the following:
a.
Clear the browser cache and close the browser.
b.
Verify that no JAVA icons are in the computer task bar.
c.
Close all instances of JAVA.
d.
Establish a clientless SSL VPN session and launch the port forwarding JAVA applet.
•
You must have Javascript enabled on the browser. By default, it is enabled.
•
If necessary, you must configure client applications.
Note
The Microsoft Outlook client does not require this configuration step. All non-Windows client applications require configuration. To determine if configuration is necessary for a Windows application, check the value of the Remote Server field. If the Remote Server field contains the server hostname, you do not need to configure the client application. If the Remote Server field contains an IP address, you must configure the client application.
Restrictions
Because this feature requires installing Sun Microsystems Java™ Runtime Environment and configuring the local clients, and because doing so requires administrator permissions on the local system or full control of C:\windows\System32\drivers\etc, it is unlikely that users will be able to use applications when they connect from public remote systems.
Detailed Steps
.To configure the client application, use the server's locally mapped IP address and port number. To find this information:
1.
Start a clientless SSL VPN session and click the Application Access link on the Home page. The Application Access window appears.
2.
In the Name column, find the name of the server you want to use, then identify its corresponding client IP address and port number (in the Local column).
3.
Use this IP address and port number to configure the client application. Configuration steps vary for each client application.
Note
Clicking a URL (such as one in an -e-mail message) in an application running over a clientless SSL VPN session does not open the site over that session. To open a site over the session, paste the URL into the Enter Clientless SSL VPN (URL) Address field.
Using Email Via Port Forwarding
To use email, start Application Access from the clientless SSL VPN home page. The mail client is then available for use.
Note
If you are using an IMAP client and you lose your mail server connection or are unable to make a new connection, close the IMAP application and restart clientless SSL VPN.
Prerequisites
You must fulfill requirements for application access and other mail clients.
Restrictions
We have tested Microsoft Outlook Express versions 5.5 and 6.0.
Clientless SSL VPN should support other SMTPS, POP3S, or IMAP4S e-mail programs via port forwarding, such as Lotus Notes and Eudora, but we have not verified them.
Using Email Via Web Access
The following email applications are supported:
•
Microsoft Outlook Web App to Exchange Server 2010.
OWA requires Internet Explorer 7 or later, or Firefox 3.01 or later.
•
Microsoft Outlook Web Access to Exchange Server 2007, 2003, and 2000.
For best results, use OWA on Internet Explorer 6.x or later, or Firefox 3.x.
•
Lotus iNotes
Prerequisites
You must have the web-based email product installed.
Restrictions
Other web-based email applications should also work, but we have not verified them.
Using Email Via Email Proxy
The following legacy email applications are supported:
•
Microsoft Outlook 2000 and 2002
•
Microsoft Outlook Express 5.5 and 6.0
See the instructions and examples for your mail application in Using E-Mail over Clientless SSL VPN.
Prerequisites
•
You must have the SSL-enabled mail application installed.
•
Do not set the ASA SSL version to TLSv1 Only. Outlook and Outlook Express do not support TLS.
•
You must have your mail application properly configured.
Restrictions
•
Other SSL-enabled clients should also work, but we have not verified them.
Using Smart Tunnel
JAVA is not automatically downloaded for you as in port forwarder.
Administration privileges are not required.
Prerequisites
•
Smart tunnel requires either ActiveX or JRE on Windows and Java Web Start on Mac OS.
•
You must enable cookies on the browser. (By default, they are enabled.)
•
You must install Sun Microsystems Java Runtime Environment (JRE) version 1.4.x and 1.5.x.
•
You must enable Javascript on the browser. (By default, it is enabled.)
Restrictions
•
Mac OS does not support a front-side proxy.
•
Supports only the operating systems and browsers specified in "Logging Off Smart TunnelConfiguring Smart Tunnel Access" section.
•
Only TCP socket-based applications are supported.
Translating the Language of User Messages
The ASA provides language translation for the portal and screens displayed to users that initiate browser-based, clientless SSL VPN connections, as well as the interface displayed to Cisco AnyConnect VPN Client users.
This section describes how to configure the ASA to translate these user messages and includes the following sections:
•
Understanding Language Translation
•
Creating Translation Tables
•
Referencing the Language in a Customization Object
•
Changing a Group Policy or User Attributes to Use the Customization Object
Understanding Language Translation
Functional areas and their messages that are visible to remote users are organized into translation domains. Table 73-11 shows the translation domains and the functional areas translated.
Table 73-11 Translation Domains and Functional Areas Affected
Translation Domain
|
Functional Areas Translated
|
AnyConnect
|
Messages displayed on the user interface of the Cisco AnyConnect VPN Client.
|
CSD
|
Messages for Cisco Secure Desktop.
|
customization
|
Messages on the logon and logout pages, portal page, and all the messages customizable by the user.
|
banners
|
Banners displayed to remote users and messages when VPN access is denied.
|
PortForwarder
|
Messages displayed to Port Forwarding users.
|
url-list
|
Text that user specifies for URL bookmarks on the portal page.
|
webvpn
|
All the layer 7, AAA and portal messages that are not customizable.
|
plugin-ica
|
Messages for the Citrix plug-in.
|
plugin-rdp
|
Messages for the Remote Desktop Protocol plug-in.
|
plugin-telnet,ssh
|
Messages for the Telnet and SSH plug-in.
|
plugin-vnc
|
Messages for the VNC plug-in.
|
The software image package for the ASA includes a translation table template for each domain that is part of the standard functionality. The templates for plug-ins are included with the plug-ins and define their own translation domains.
You can export the template for a translation domain, which creates an XML file of the template at the URL you provide. The message fields in this file are empty. You can edit the messages and import the template to create a new translation table object that resides in flash memory.
You can also export an existing translation table. The XML file created displays the messages you edited previously. Reimporting this XML file with the same language name creates a new version of the translation table object, overwriting previous messages.
Some templates are static, but some change based on the configuration of the ASA. Because you can customize the logon and logout pages, portal page, and URL bookmarks for clientless users, the ASA generates the customization and url-list translation domain templates dynamically, and the template automatically reflects your changes to these functional areas.
After creating translation tables, they are available to customization objects that you create and apply to group policies or user attributes. With the exception of the AnyConnect translation domain, a translation table has no affect, and messages are not translated on user screens until you create a customization object, identify a translation table to use in that object, and specify that customization for the group policy or user. Changes to the translation table for the AnyConnect domain are immediately visible to AnyConnect client users.
Creating Translation Tables
The following procedure describes how to create translation tables:
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
export webvpn translation-table
Example:
hostname# show import webvpn translation-table
Translation Tables' Templates:
Example:
hostname# export webvpn translation-table
customization template tftp://209.165.200.225/portal
|
Exports a translation table template to a computer.
Shows available translation table templates and tables.
Exports the translation table template for the customization domain, which affects messages displayed for users in clientless SSL VPN sessions. The filename of the XML file created is portal (user-specified) and contains empty message fields.
|
Step 2
|
Edit the translation table XML file
Example:
# Copyright (C) 2006 by Cisco Systems, Inc.
"Project-Id-Version: ASA\n"
"Report-Msgid-Bugs-To: vkamyshe@cisco.com\n"
"POT-Creation-Date: 2007-03-12 18:57 GMT\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: DfltCustomization:24 DfltCustomization:64
msgid "Clientless SSL VPN Service"
|
Shows a portion of the template that was exported as portal. The end of this output includes a message ID field (msgid) and a message string field (msgstr) for the message SSL VPN, which is displayed on the portal page when a user establishes a clientless SSL VPN session. The complete template contains many pairs of message fields.
|
Step 3
|
import webvpn translation-table
Example:
hostname# import webvpn translation-table
customization language es-us
tftp://209.165.200.225/portal
hostname# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
hostname# show import webvpn translation-table
Translation Tables' Templates:
|
Imports the translation table.
Import the XML file. es-us is the abbreviation for Spanish spoken in the United States.
|
If you import a translation table for the AnyConnect domain, your changes are effective immediately. If you import a translation table for any other domain, you must create a customization object, identify the translation table to use in that object, and specify that customization object for the group policy or user.
Referencing the Language in a Customization Object
This section describes how to export the customization template, edit it, and import it as a customization object so that you can refer to it.
Prerequisites
For the customization object to call these translation tables correctly, the tables must have been previously imported using the same names. These names must be compatible with language options of the browser.
Detailed Steps
| |
Command
|
Function
|
Step 1
|
export webvpn customization template
Example:
hostname# export webvpn customization template
tftp://209.165.200.225/sales
|
Exports a customization template to a URL where you can edit it.
Exports the template and creates the copy sales at the URL specified.
|
Step 2
|
Edit the customization template and reference the previously-imported translation table
Example:
<languages>en,ja,zh,ru,ua</languages>
<default-language>en</default-language>
</localization>
Example:
<title l10n="yes">Language:</title>
|
Two areas of XML code in the customization template pertain to translation tables.
Specifies the translation table to use.
• The <languages> tag in the XML code is followed by the names of the translation tables. In this example, they are en, ja, zh, ru, and ua.
• The <default-language> tag specifies the language that the remote user first encounters when connecting to the ASA. In the example code above, the language is English.
Note Figure 73-19 shows the Language Selector that displays on the logon page. The Language Selector gives the remote user establishing an SSL VPN connection the ability to choose a language.
Affects the display of the Language Selector and includes the <language selector> tag and the associated <language> tags that enable and customize the Language Selector:
• The <language-selector> group of tags includes the <mode> tag that enables and disables the displaying of the Language Selector and the <title> tag that specifies the title of the drop-down box listing the languages.
• The <language> group of tags includes the <code> and <text> tags that map the language name displayed in the Language Selector drop-down box to a specific translation table.
|
Step 3
|
Save the file after making your changes.
|
|
Step 4
|
import webvpn customization
Example:
hostname# import webvpn customization sales
tftp://209.165.200.225/sales
hostname# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
Imports the customization template as a new object.
|
Step 5
|
show import webvpn customization
Example:
hostname# import webvpn customization sales
tftp://209.165.200.225/sales
hostname# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
Shows the new customization object sales.
|
Figure 73-19 Language Selector
Changing a Group Policy or User Attributes to Use the Customization Object
This section describes how to activate your changes for specific groups or users.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
webvpn
|
Switches to webvpn configuration mode.
|
Step 2
|
group-policy webvpn
|
Switches to group-policy webvpn configuration mode.
|
Step 3
|
customization
Example:
hostname(config)# group-policy sales attributes
hostname(config-group-policy)# webvpn
hostname(config-group-webvpn)# customization value
sales
|
Enables the customization object.
Shows the customization object sales enabled in the group policy sales.
|
•
Step 8
(Optional) Highlight a bookmark and click Assign to assign the selected bookmark to one or more group policies, dynamic access policies, or LOCAL users.
Capturing Data
The CLI capture command lets you log information about websites that do not display properly over a clientless SSL VPN session. This data can help your Cisco customer support engineer troubleshoot problems. The following sections describe how to capture and view clientless SSL VPN session data:
•
Creating a Capture File
•
Using a Browser to Display Capture Data
Prerequisites
•
Enabling clientless SSL VPN capture affects the performance of the security appliance. Be sure to disable the capture after you generate the capture files needed for troubleshooting.
Creating a Capture File
Perform the following steps to capture data about a clientless SSL VPN session to a file.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
capture capture_name type webvpn user
webvpn_username
Example:
hostname# capture hr type webvpn user user2
hostname# no capture hr
|
Starts the capture utility for clientless SSL VPN.
• capture_name is a name you assign to the capture, which is also prepended to the name of the capture files.
• webvpn_user is the username to match for capture.
Creates a capture named hr, which captures traffic for user2 to a file.
|
Step 2
|
(Optional)
no capture capture_name
|
Stops the capture utility from capturing packets after a user has logged in and began a clientless SSL VPN session. The capture utility creates a capture_name.zip file, which is encrypted with the password koleso.
|
Step 3
|
Send the .zip file to Cisco Systems or attach it to a Cisco TAC service request.
|
|
Step 4
|
Unzip the contents of the file using the koleso password.
|
|
Using a Browser to Display Capture Data
Perform the following steps to capture data about a clientless SSL VPN session and view it in a browser.
Detailed Steps
| |
Command
|
Purpose
|
Step 1
|
capture capture_name type webvpn user
webvpn_username
|
Starts the capture utility for clientless SSL VPN.
• capture_name is a name you assign to the capture, which is also prepended to the name of the capture files.
• webvpn_user is the username to match for capture.
|
Step 2
|
(Optional)
no capture capture_name
|
Stops the capture utility from capturing packets after a user has logged in and began a clientless SSL VPN session.
|
Step 3
|
Open a browser and enter the following:
https://asdm_enabled_interface_of_the_security_appli
ance:port/admin/capture/capture_name/pcap
Example:
https://192.0.2.1:60000/admin/capture/hr/pcap
|
Displays the capture named hr in a sniffer format.
|
Step 4
|
Repeat Step 2.
|
|