SSL VPN with Anyconnect
From Internetworkpro
[edit] Overview
From cisco.com:
"The Cisco AnyConnect VPN Client is the next-generation VPN client, providing remote users with secure VPN connections to the Cisco 5500 Series Adaptive Security Appliance running ASA version 8.0 and higher or ASDM 6.0 and higher. It does not connect with a PIX device nor with a VPN 3000 Series Concentrator."
[edit] Example Config:
Define split tunelling and IP pool for VPN users:
access-list VPN_SPLIT standard permit 172.16.0.0 255.240.0.0
!
ip local pool VPN_POOL 172.16.100.1-172.16.100.254 mask 255.255.255.0
Define LDAP Server (or substitute with RADIUS, etc)
aaa-server LDAP protocol ldap
aaa-server LDAP host x.x.x.x
server-port 636
ldap-base-dn ou=people,dc=domain,dc=com
ldap-scope onelevel
ldap-naming-attribute uid
ldap-login-password *
ldap-login-dn uid=vpn_svc,ou=ServiceAccounts,dc=domain,dc=com
ldap-over-ssl enable
server-type openldap
!
- Enable webvpn on the chosen interfaces
- Define Anyconnect packages
- Enable svc
- Enable the listing of the tunnel group list on login
webvpn
enable inside
enable outside
svc image disk0:/anyconnect-win-2.1.0148-k9.pkg 1
svc image disk0:/anyconnect-macosx-i386-2.1.0148-k9.pkg 2
svc image disk0:/anyconnect-macosx-powerpc-2.1.0148-k9.pkg 3
svc image disk0:/anyconnect-linux-2.1.0148-k9.pkg 4
svc enable
tunnel-group-list enable
!
!
Define default group police attributes (apply to all groups):
- DNS Server
- Domain name
- WebVPN parameters
group-policy DfltGrpPolicy attributes
dns-server value x.x.x.x y.y.y.y
vpn-tunnel-protocol svc
default-domain value domain.com
webvpn
svc rekey time 30
svc rekey method ssl
svc ask none default svc timeout 10
!
Not entirely sure why these are needed:
group-policy vpn-users internal
group-policy split-users internal
Define the split tunnel ACL here:
group-policy split-users attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value VPN_SPLIT
!
Define the tunnel group that will use the LDAP server:
- Tunnel group type
- Address pool
- Authentication server
- Group alias, which is what is shown on the login page
tunnel-group vpn-users type remote-access
tunnel-group vpn-users general-attributes
address-pool VPN_POOL
authentication-server-group LDAP
default-group-policy vpn-users
tunnel-group vpn-users webvpn-attributes
group-alias "Regular VPN Users" enable
Define the tunnel group tha will use local authentication:
tunnel-group split-users type remote-access
tunnel-group split-users general-attributes
address-pool VPN_POOL
default-group-policy split-users
tunnel-group split-users webvpn-attributes
group-alias "Split Tunnel Users" enable
!
!
Links:
- Cisco Security Appliance Command Line Configuration Guide, Version 8.0
- Cisco AnyConnect VPN Client Administrator Guide, Release 2.2
- PIX/ASA 8.0: Use LDAP Authentication to Assign a Group Policy at Login
- SSL Remote Access VPNs - Cisco Press
If there are any mistakes, please feel free to add/edit!
--IPv6Freely 10:01, 1 July 2008 (CDT)

