This guide provides detailed design and implementation information for deployment of Easy VPN in client mode with the Cisco® Virtual Office.
Please refer to the Cisco Virtual Office overview (http://www.cisco.com/go/cvo) for more information about the solution, its architecture, and all of its components.
Introduction
This document describes deployment of Cisco Virtual Office with Easy VPN in client mode using firewall, Network Address Translation (NAT), Quality of Service (QoS), and IEEE 802.1x.
With Cisco Easy VPN in client mode configuration, the entire LAN behind the Easy VPN client undergoes NAT translation to the IP address that is pushed down by the Easy VPN server. In this mode, there is no need to manage the IP address space in the local LAN behind the remote-access router-the same local IP Dynamic Host Configuration Protocol (DHCP) server pool can be configured on all routers. When Easy VPN runs in client mode, after the IP Security (IPsec) tunnel is established, a loopback interface is dynamically configured on the spoke and assigned an IP address defined in the Easy VPN server's pool. This pool must be routable to the corporate network.
Optionally, you can enable split tunneling on the Easy VPN server, meaning that all noncorporate traffic is sent directly to the Internet. In this case only corporate traffic is routed through the tunnel, thereby lightening the load for the VPN headend.
Platforms and Images
This document provides configuration samples corresponding to the following platforms and images:
• Easy VPN server: Cisco 3845 Integrated Services Router with a VPN encryption module (AIM-VPN/SSL-3)
• Cisco IOS® Software Release 12.4(20)T or higher
Configuration of the Remote-Access Cisco 881W Integrated Services Router
The Easy VPN client configuration provided in this guide is a sample configuration and should be customized to your correct corporate servers.
QoS is necessary to provide a good end-user experience, because it guarantees quality for voice and video while simultaneously sending and receiving email messages, sharing applications, and browsing the web.
Dynamic Virtual Tunnel Interface
Cisco Enhanced Easy VPN is a new method for configuring Easy VPN using Dynamic Virtual Tunnel Interface (DVTI) instead of a cryptography map, which is used by traditional Easy VPN. You can use DVTI on both the Easy VPN server and Easy VPN remote routers. DVTI relies on the virtual tunnel interface to create a virtual access interface for every new Easy VPN tunnel. The configuration of the virtual access interface is cloned from a virtual template configuration. The cloned configuration includes the IPsec configuration and any Cisco IOS Software feature configured on the virtual template interface, such as QoS, NAT, stateful firewall, NetFlow, or access control lists (ACLs).
Using DVTI simplifies the VPN configuration and supports per-session features; in addition, you can apply tunnel-specific features with this protocol, so the deployment and management of the solution is simple.
Please note the following regarding configuration of Easy VPN on the Cisco 881W Cisco Integrated Services Router:
• To add wireless support to the Cisco 881W, refer to the Cisco Virtual Office─Secure Wireless.
• The four Cisco 881W switch ports-FastEthernet0 through FastEthernet3-are configured such that hosts with an 802.1x supplicant (client) gain corporate network access only if they provide proper credentials. Cisco IP phones are automatically detected; they bypass the 802.1x authentication and are put in the voice VLAN. You can use the MAC bypass feature to manually bypass other IP phones. Other devices, with no 802.1x supplicant for guests or spouse and kids, are put in the guest VLAN; these devices have only Internet connectivity.
• For QoS, replace the end-user Internet service provider (ISP) uplink speed in the corresponding configuration line. (You can determine the ISP uplink speed by running a public Internet speed testing tool.)
• The client is configured with a default peer and a backup peer. If the default peer goes down, the backup peer becomes the active one. When the default peer comes back up, it becomes the active server again. If you do not use the default keyword, the backup peer will remain the active server.
!!! Create VLANs
Vlan 20
Vlan 30
!
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service linenumber
service sequence-numbers
!
!!!! **** Encrypt the easyvpn passwords and keys with AES for extra security
description *** Corporate-access Data Vlan Interface ***
ip address 192.168.20.1 255.255.255.0
no ip redirects
no ip unreachables
ip pim sparse-dense-mode
ip nat inside
ip inspect firewall in
ip virtual-reassembly
ip tcp adjust-mss 1360
no autostate
crypto ipsec client ezvpn vpnserver inside
service-policy input mark_incoming_traffic
!
interface Vlan30
description *** Guest/Family Vlan Interface ***
ip address 192.168.30.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip inspect firewall in
ip virtual-reassembly
!
interface Virtual-Template1 type tunnel
no ip address
tunnel mode ipsec ipv4
service-policy output shaper
!
no ip http server
no ip http secure-server
!
ip nat inside source list nat_acl interface FastEthernet4 overload
!
ip access-list extended allow_skinny_acl
permit udp any any eq bootps
permit udp any any range bootps bootpc
permit udp any host <corporate-tftpserver-for-callManager> eq tftp
permit udp any host <corporate-tftpserver-backup> eq tftp
permit udp any host <corporate-dns-server> eq domain
permit tcp any any eq 2000
permit udp any any range 24576 24656
permit udp any any eq 5445
permit udp any any range 2326 2373
permit tcp any host <directory-services-server> eq www
permit tcp any host <phone-services-server> eq www
deny ip any any
!
ip access-list extended control_acl
permit udp any eq isakmp any eq isakmp
!
ip access-list extended firewall_acl
permit esp any any
permit udp any any eq isakmp
permit udp any eq isakmp any
permit udp any eq non500-isakmp any
permit udp any any eq bootpc
deny ip any any
!
ip access-list extended nat_acl
permit ip 192.168.1.0 0.0.0.255 any
permit ip 192.168.20.0 0.0.0.255 any
permit ip 192.168.30.0 0.0.0.255 any
!
End
Configuration of the Server
The Easy VPN server configuration using DVTI follows. The example shows Easy VPN configured with split tunneling. The ezvpn_split_tunnel ACL gets pushed to the client when it establishes a tunnel, allowing only corporate traffic through the tunnel, while other traffic goes directly to the internet.
Following is a sample configuration, so you must customize it to your correct corporate servers.