This document describes how to set up a Cisco IOS® router to perform Secure Sockets Layer (SSL) VPN on a stick with Cisco AnyConnect VPN client using Cisco Configuration Professional (CCP). This setup applies to a specific case where AnyConnect on the Router is configured with split tunneling, and it allows the client secure access to corporate resources and also provides unsecured access to the Internet.
SSL VPN or WebVPN technology is supported on most router platforms such as the Integrated Services Router (ISR) Generation 1, Generation 2 (Refer ISR Products for the list of ISR products). Customers are advised to refer the feature navigator guide in order to obtain a complete list of Cisco IOS platforms that support the AnyConnect VPN (SSL) client (or any other feature/ technology for that matter). This information is available in the Feature Navigator.
CCP is a GUI-based device management tool that allows you to configure Cisco IOS-based access routers. CCP is installed on a PC and simplifies router, security, unified communications, wireless, WAN, and basic LAN configurations through GUI-based, easy-to-use wizards.
Ensure that you meet these requirements before you attempt this configuration:
Web Browser with SUN JRE Version 1.4 or later or an ActiveX controlled browser
Local administrative privileges on the client
Cisco IOS Router with Advanced Security image -12.4(20)T or later
Note: Cisco recommends that you run IOS version 15.3(2)T or higher to overcome known defects that can cause Anyconenct clients to not conenct to an IOS headend running a lower version.
If the Cisco Configuration Professional is not already loaded on your computer, you can obtain a free copy of the software and install the .exe (cisco-config-pro-k9-pkg-2_7-en.zip) file from Software Download. For detailed information on the installation and configuration of CCP, refer to Cisco Configuration Professional Quick Start Guide.
The information in this document is based on these software and hardware versions:
Cisco IOS Series CISCO2811 Router with Software Version 15.3(2)T
CCP Version 2.7
Cisco AnyConnect SSL VPN Client Version for Windows 3.1.05160
Note: Cisco recommends that you use the latest Anyconnect client version available on cisco.com.
The information in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Download a copy of the Anyconnect VPN .pkg file to your management PC.
In this section, you are presented with the steps necessary in order to configure the features described in this document. This example configuration uses the CCP Wizard in order to enable the operation of the Anyconnect VPN on the IOS router.
Complete these steps in order to configure Anyconnect VPN on the Cisco IOS router:
Set up the CCP and discover the Cisco IOS router.
Install and enable the Anyconnect VPN Software on the Cisco IOS Router.
Configure a SSL VPN Context and SSL VPN Gateway with the CCP Wizard.
Configure the User Database for Anyconnect VPN Users.
Configure the AnyConnect Full Tunnel.
Each of these steps is described in more detail in the next sections of this document.
Step 1: Set up the CCP and Discover the Cisco IOS Router
Click Router Status on the CCP window in order to view the router device information.
Click Configure in order to begin the configuration.
Step 2: Install and Enable the Anyconnect VPN Software on the IOS Router
Complete these steps in order to install and enable the Anyconnect VPN software on the IOS router:
Open the CCP application, navigate to Configure > Security, and then click VPN.
Expand SSLVPN, and choose Packages.
Ensure that the SSL VPN Feature license is installed on the device, otherwise you might get the warning shown in the previous image. Refer Feature License link in order to view the Ordering Information section.
In the Cisco SSLVPN client software, click Browse.
The Select SVC location dialog box appears.
Specify the location of the Cisco Anyconnect VPN client image (choose either of the two options available).
If the Cisco Anyconnect VPN client image is in the router flash, click the Router File System radio button dialog box, and click Browse.
If the Cisco Anyconnect VPN client image is not in the router flash, click the My Computer radio dialog box, and click Browse.
Select the client image that you want to install and click OK.
Once you specify the location of the client image, click Install.
Click Yes and then click OK.
Once the client image is successfully installed, you receive the success message. Click OK in order to continue.
Once installed, view the installed package details under Security > VPN > SSL VPN > Packages.
Step 3: Configure a SSLVPN Context and SSLVPN Gateway with the CCP Wizard
Complete these steps in order to configure a SSL VPN context and the SSL VPN gateway:
Go to Configure > Security > VPN, and then click SSL VPN.
Click the SSL VPN Manager and then click the Create SSL VPN tab.
Follow the prompts in order to enable Authentication, Authorization, and Accounting (AAA) if it is not already enabled.
Check the Create a New SSL VPN radio button and then click Launch the selected task.
The SSL VPN Wizard dialog box appears.
Note: If the SSL VPN is configured under the interface through which Cisco CP is invoked, it might cause Cisco CP to disconnect from the router. As a better practice, you can access the Cisco IOS router via CCP from the internal interface (in this example, 10.106.44.141) or any other interface, while the SSL VPN is configured under the external interface FastEthernet0/0 (in this example, 10.105.130.149).
Enter the IP address of the new SSL VPN gateway and enter a unique name for this SSL VPN context.
You can create different SSL VPN contexts for the same IP address (SSL VPN gateway), but each name must be unique. This example uses this IP address: https://10.105.130.149/
Click Next, and continue to the next section.
Step 4: Configure the User Database for Anyconnect VPN Users
For authentication, you can use an AAA Server, local users, or both. This configuration example uses locally-created users for authentication.
Complete these steps in order to configure the user database for Anyconnect VPN users:
After you complete Step 2, click the Locally on this router radio button located in the SSL VPN Wizard User Authentication dialog box.
This dialog box allows you to add users to the local database.
Click Add and enter user information.
Click OK and add additional users as necessary.
After you add the necessary users, click Next, and continue to the next section.
Step 5. Configure the Anyconnect Tunnel
Complete these steps in order to configure the Anyconnect tunnel and pool of IP addresses for the users:
Because Anyconnect provides the direct access to corporate intranet resources, the URL list is not needed in order to configure. Click the Next button located in the Configure Intranet Websites dialog box.
Verify that the Enable Full Tunnel check box is checked.
Create a pool of IP addresses that clients of this SSL VPN context can use.
The pool of addresses must correspond to addresses available and routable on your intranet.
Click the ellipses (...) next to the IP Address Pool field, and choose Create a new IP Pool.
In the Add IP Local Pool dialog box, enter a namefor the pool (for example, new), and click Add.
In the Add IP address range dialog box, enter the address pool range for the Anyconnect VPN clients and click OK.
Note: Before Version12.4(20)T, the IP address pool should be in a range of an interface directly connected to the router. If you want to use a different pool range, you can create a loopback address associated with your new pool in order to satisfy this requirement.
Configure advanced tunnel options, such as split tunneling, split DNS, browser proxy settings, and Domain Name System (DNS) and Windows Internet Name Service (WINS) servers.
Note: Cisco recommends that you configure at least DNS and WINS servers.
Complete these steps in order to configure advanced tunnel options, such as split tunneling:
Click the Advanced Tunnel Options button.
Click the DNS and WINS Servers tab and enter the primary IP addresses for the DNS and WINS servers.
Click the Split Tunneling tab in order to configure split tunneling.
The ability to transmit both secured and unsecured traffic on the same interface is known as split tunneling. Split tunneling requires that you specify exactly which traffic is secured and what the destination of that traffic is, so that only the specified traffic enters the tunnel while the rest is transmitted unencrypted across the public network (Internet).
In the example, split tunnel is configured in order to include traffic.
After you configure the necessary options, click Next. Choose the appropriate SSL VPN Tunnel Interface option and click Next.
Customize the SSL VPN Portal Page or select the default values.
The Customize SSL VPN Portal Page allows you to customize how the SSL VPN Portal Page appears to your customers.
After you customize the SSL VPN portal page, click Next.
Click Deliver in order to save your configuration and then click OK.
The SSL VPN Wizard submits your commands to the router.
Note: If you receive an error message, the SSL VPN license might be incorrect.
Complete these steps in order to correct a license issue:
Go to Configure > Security > VPN, and then click SSL VPN.
Click SSL VPN Manager and then click the Edit SSL VPN tab in the right-hand side.
Highlight your newly created context and click the Edit button.
In the Maximum Number of Users field, enter the correct number of users for your license.
Click OK, and then click Deliver.
The commands are written to the configuration file.
Enter the URL or IP address of the router WebVPN interface in your web browser in the format as shown.
https://<IP address of the Router WebVPN interface>
Enter your user name and password.
Click Start in order to initiate the Anyconnect VPN Tunnel Connection.
This window appears before the SSL VPN connection is established.
Note: ActiveX software must be installed on your computer before you download the Anyconnect VPN.
Once the connection is successfully established, click the Statistics tab.
The Statistics tab displays information about the SSL connection.
The Statistics Details dialog box displays detailed connection statistical information, which includes the tunnel state and mode, the duration of the connection, the number of bytes and frames sent and received, address information, transport information, and the Cisco Secure Desktop posture assessment status. The Reset button on this tab resets the transmission statistics. The Export Stats button allows you to export the current statistics, interface, and routing table to a text file. The AnyConnect client prompts you for a name and location for the text file. The default name is AnyConnect-ExportedStats.txt and the default location is on the desktop.
Check the route details (based on split tunnel configuration) under the Route Details tab.
In the Cisco AnyConnect VPN Client dialog box, click the About tab in order to display the Cisco AnyConnect VPN Client Version information.
Use this section in order to confirm that your configuration works properly.
Several show commands are associated with WebVPN. You can execute these commands at the CLI in order to show statistics and other information. For detailed information about show commands, refer to Verifying WebVPN Configuration.
show webvnp session context all
Router#show webvpn session context all WebVPN context name: Test Client_Login_Name Client_IP_Address No_of_Connections Created Last_Used user1 18.104.22.168 1 00:03:40 00:00:00
show webvpn session user user1 context Test
Router#show webvpn session user user1 context Test Session Type : Full Tunnel Client User-Agent : AnyConnect Windows 3.1.05160
Username : user1 Num Connection : 1 Public IP : 22.214.171.124 VRF Name : None Context : Test Policy Group : policy_1 Last-Used : 00:00:19 Created : *02:26:05.755 UTC Mon Apr 21 2014 Session Timeout : Disabled Idle Timeout : 2100 DNS primary serve : 10.106.44.10 WINS primary s : 10.106.44.12 DPD GW Timeout : 300 DPD CL Timeout : 300 Address Pool : IP_Pool MTU Size : 1199 Rekey Time : 3600 Rekey Method : Lease Duration : 43200 Tunnel IP : 192.168.1.11 Netmask : 255.255.255.255 Rx IP Packets : 0 Tx IP Packets : 1 CSTP Started : 00:00:21 Last-Received : 00:00:20 CSTP DPD-Req sent : 0 Virtual Access : 2 Msie-ProxyServer : None Msie-PxyPolicy : Disabled Msie-Exception : Split Include : 10.106.44.0 255.255.255.0 Client Ports : 61652
show webvpn stats
Router#show webvpn stats User session statistics: Active user sessions : 1 AAA pending reqs : 0 Peak user sessions : 1 Peak time : 00:08:26 Active user TCP conns : 1 Terminated user sessions : 1 Session alloc failures : 0 Authentication failures : 0 VPN session timeout : 0 VPN idle timeout : 0 User cleared VPN sessions: 0 Exceeded ctx user limit : 0 Exceeded total user limit: 0 Client process rcvd pkts : 94 Server process rcvd pkts : 0 Client process sent pkts : 1272 Server process sent pkts : 0 Client CEF received pkts : 588 Server CEF received pkts : 0 Client CEF rcv punt pkts : 26 Server CEF rcv punt pkts : 0 Client CEF sent pkts : 0 Server CEF sent pkts : 0 Client CEF sent punt pkts: 0 Server CEF sent punt pkts: 0
SSLVPN appl bufs inuse : 0 SSLVPN eng bufs inuse : 0 Active server TCP conns : 0
Server Client Packets in : 0 0 Packets out : 0 0 Bytes in : 0 0 Bytes out : 0 0
ACL statistics: Permit web request : 0 Deny web request : 0 Permit cifs request : 0 Deny cifs request : 0 Permit without ACL : 0 Deny without match ACL : 0 Permit with match ACL : 0 Deny with match ACL : 0
Tunnel Statistics: Active connections : 1 Peak connections : 1 Peak time : 00:07:52 Connect succeed : 4 Connect failed : 0 Reconnect succeed : 2 Reconnect failed : 0 DPD timeout : 0 Client in CSTP frames : 484 in CSTP control : 4 in CSTP data : 480 in CSTP bytes : 36056 out CSTP frames : 0 out CSTP control : 0 out CSTP data : 0 out CSTP bytes : 0 in CDTP frames : 0 in CDTP control : 0 in CDTP data : 0 in CDTP bytes : 0 out CDTP frames : 0 out CDTP control : 0 out CDTP data : 0 out CDTP bytes : 0 cef in CSTP data frames : 0 cef in CSTP data bytes : 0 cef out CSTP data frames : 0 cef out CSTP data bytes : 0 cef in CDTP data frames : 0 cef in CDTP data bytes : 0 cef out CDTP data frames : 0 cef out CDTP data bytes : 0 Server In IP pkts : 0 In IP bytes : 0 Out IP pkts : 480 Out IP bytes : 32037
In CCP, choose Monitoring > Security > VPN Status > SSL VPN (All Contexts) in order to view the current SSL VPN user lists in the router.
This section provides information you can use in order to troubleshoot your configuration.
Several clear commands are associated with WebVPN. For detailed information about these commands, refer to Using WebVPN Clear Commands.
Several debug commands are associated with WebVPN. For detailed information about these commands, refer to Using WebVPN Debug Commands.