Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


MS L2TP over IPsec to a Cisco ASA 5505

Posted on 2010-11-24
Medium Priority
Last Modified: 2012-05-10
I am trying to make Windows VPN work to a Cisco ASA 5505.
Phase 1 seems to work , phase 2  I get an error.

This is the current config.

Result of the command: "show running-config"

: Saved
ASA Version 8.3(1) 
hostname MSRouter01
domain-name MS.local
enable password gaubr1Hw0IPQlSUl encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
interface Vlan1
 description LAN MS
 nameif inside
 security-level 100
 ip address 
interface Vlan2
 description Internet via ADSL KPN
 nameif outside
 security-level 0
 ip address 
interface Vlan12
 description DMZ zone
 no nameif
 security-level 50
 ip address 
interface Ethernet0/0
 switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
 switchport access vlan 12
interface Ethernet0/4
 switchport access vlan 12
interface Ethernet0/5
 switchport access vlan 12
interface Ethernet0/6
interface Ethernet0/7
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
dns domain-lookup inside
dns domain-lookup outside
dns server-group DefaultDNS
 domain-name MS.local
object network obj_any 
object network DNS_Router 
 description DNS Server/Thomson KPN Router     
object network MSRouter01 
 description Cisco ASA 5505 Internet FW/VPN Gateway     
object network ntp.xs4all.nl 
 description Timeserver xs4all     
object network xs2.xs4all.nl 
 description xs2.xs4all.nl     
object network MS-Inet-Range 
 description GeneTwister Public IP addresses    
object network MS_Internet_SubNet 
 description Subnet van het Internet voor GeneTwister    
object network MSWEB01 
 description MSWEB01 Tomcat Server    
object network MSWEB01.foo.bar 
 description MSWEB01 Tomcat Web server Outside    
object network MSWEB01_NAT 
 description MSWEB01 Tomcat Server    
object network TomcatWebServer 
 description Virtual Server for Tomcat on    
object network NAT_MSWEB01 
 description Tomcat Web Server    
object network WebServer 
 description Tomcat  Server    
object network internalnetwork 
 description Intern Netwerk    
object network internal_net 
 description Interne Netwerk    
object network DNS1.KPN.NET 
 description DNS server 1 KPN   
object network DNS2.KPN.NET 
 description DNS 2 server KPN   
object network NETWORK_OBJ_172.31.7.192_28 
object network NETWORK_OBJ_172.31.7.192_27 
object network NETWORK_OBJ_172.31.9.192_28 
object network PublicServer_NAT1 
object network PublicServer_NAT2 
object network NETWORK_OBJ_10.31.7.96_28 
object network A_10.10.10.149 
object network PublicServer_NAT3 
object-group service Web tcp
 description HTTP and HTTPS traffic
 port-object eq www
 port-object eq https
object-group service DM_INLINE_SERVICE_1
 service-object tcp destination eq domain 
 service-object udp destination eq domain 
object-group service DM_INLINE_TCP_1 tcp
 port-object eq www
 port-object eq https
 port-object eq 8080
object-group network DM_INLINE_NETWORK_1
 network-object object DNS_Router
 network-object object DNS1.KPN.NET
 network-object object DNS2.KPN.NET
object-group service Tomcat tcp
 description Tomcat Web Services
 port-object eq www
 port-object eq https
object-group service Tomcat8080 tcp
 description Tomcat on tcp/8080
 port-object eq 8080
object-group service DM_INLINE_TCP_2 tcp
 port-object eq www
 port-object eq https
 port-object eq 8080
object-group network DM_INLINE_NETWORK_2
 network-object object MSWEB01
 network-object object MSWEB01.foo.bar
object-group service DM_INLINE_TCP_3 tcp
 port-object eq ftp
 port-object eq ftp-data
 port-object eq ssh
object-group service DynamicPorts tcp
 description Dynamic Ports High
 port-object range 1024 65535
access-list inside_access_in remark Alllow POP3
access-list inside_access_in extended permit tcp any eq pop3 
access-list inside_access_in remark Allow web traffic http tcp/80 and https tcp/443
access-list inside_access_in extended permit tcp any object-group DM_INLINE_TCP_1 
access-list inside_access_in remark DNS Traffic to KPN router
access-list inside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 
access-list inside_access_in remark ntp traffic
access-list inside_access_in extended permit udp object ntp.xs4all.nl eq ntp 
access-list inside_access_in remark ssh to xs2.xs4all.nl
access-list inside_access_in extended permit tcp object xs2.xs4all.nl eq ssh 
access-list inside_access_in remark icmp traffic
access-list inside_access_in extended permit icmp any 
access-list inside_access_in remark Allow FTP, SCP & SSH
access-list inside_access_in extended permit tcp any object-group DM_INLINE_TCP_3 
access-list inside_access_in remark TCP High 1024-65535
access-list inside_access_in extended permit tcp any object-group DynamicPorts 
access-list inside_access_in remark Clean-up rule
access-list inside_access_in extended deny ip any any 
access-list outside_access_in extended permit tcp any host eq 3389 
access-list outside_access_in extended permit tcp any host eq 8080 
access-list outside_access_in remark Allow web traffic forwarded to MSWEB01
access-list outside_access_in extended permit tcp any object-group DM_INLINE_NETWORK_2 object-group DM_INLINE_TCP_2 
access-list outside_access_in remark icmp answers
access-list outside_access_in extended permit icmp any 
access-list outside_access_in extended permit tcp any object MSWEB01.foo.bar object-group Tomcat8080 
access-list outside_access_in remark Allow L2TP over IPsec Traffic for MS VPN's
access-list outside_access_in extended permit udp any interface outside eq 1701 
access-list outside_access_in remark Cleanup rule Outside
access-list outside_access_in extended deny ip any any 
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool VPN_IP_Pool mask
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
no asdm history enable
arp timeout 14400
nat (inside,outside) source static internalnetwork internalnetwork destination static NETWORK_OBJ_172.31.7.192_28 NETWORK_OBJ_172.31.7.192_28
nat (inside,outside) source static any any destination static NETWORK_OBJ_172.31.7.192_27 NETWORK_OBJ_172.31.7.192_27
nat (inside,outside) source static any any destination static NETWORK_OBJ_172.31.9.192_28 NETWORK_OBJ_172.31.9.192_28
nat (inside,outside) source static any any destination static NETWORK_OBJ_10.31.7.96_28 NETWORK_OBJ_10.31.7.96_28
object network internal_net
 nat (any,outside) dynamic interface
object network PublicServer_NAT2
 nat (inside,outside) static MSWEB01.foo.bar service tcp 8080 www 
object network PublicServer_NAT3
 nat (inside,outside) static A_10.10.10.149
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa-server WindowsAD protocol radius
aaa-server WindowsAD (inside) host
 timeout 5
 key *****
http server enable
http inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac 
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac 
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac 
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac 
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec transform-set TRANS_ESP_3DES_MD5 esp-3des esp-md5-hmac 
crypto ipsec transform-set TRANS_ESP_3DES_MD5 mode transport
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
group-delimiter @
telnet timeout 5
ssh inside
ssh timeout 5
console timeout 0
dhcpd auto_config outside

threat-detection basic-threat
threat-detection statistics host
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server prefer
 enable outside
 tunnel-group-list enable
 smart-tunnel list test test winword.exe platform windows
group-policy DefaultRAGroup internal
group-policy DefaultRAGroup attributes
 wins-server value
 dns-server value
 vpn-tunnel-protocol l2tp-ipsec 
 split-tunnel-policy tunnelspecified
 default-domain value MS.local
group-policy DfltGrpPolicy attributes
  url-list value Intranet
  smart-tunnel enable test
username admin password aacKuBhBgMG98f/B encrypted privilege 15
username henk password UahwxQobBtX0uq3y encrypted privilege 15
tunnel-group DefaultRAGroup general-attributes
 address-pool VPN_IP_Pool
 authentication-server-group WindowsAD
 authorization-server-group WindowsAD
tunnel-group DefaultRAGroup webvpn-attributes
 group-alias L2TP enable
tunnel-group DefaultRAGroup ipsec-attributes
 pre-shared-key *****
tunnel-group DefaultRAGroup ppp-attributes
 no authentication chap
 no authentication ms-chap-v1
 authentication ms-chap-v2
tunnel-group DefaultWEBVPNGroup webvpn-attributes
 group-alias Local enable
tunnel-group-map default-group DefaultWEBVPNGroup
prompt hostname context 
: end

Open in new window

Question by:howart
  • 3
  • 2
LVL 11

Accepted Solution

DIPRAJ earned 2000 total points
ID: 34203843

Author Comment

ID: 34204030
I use that one as a guideline, this does not work and is confusing. I use ASA 8.3.
I need someone who can point out were I go wrong.
LVL 33

Expert Comment

ID: 34209100
I think there is a discrepancy on step 7 of that doc.    

Step 7 Create a tunnel group with the tunnel-group command, and link the name of the group policy to the tunnel group with the default-group-policy command from tunnel group general-attributes mode:
hostname(config)# tunnel-group name type ipsec-ra
hostname(config)# tunnel-group name general-attributes
hostname(config-tunnel-general)# group-policy group_policy_name

I don't see ipsec-ra in your config.
Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

LVL 33

Expert Comment

ID: 34657039
Any updates?

Author Comment

ID: 34849805
Abandoned the original plan. Started to install Cisco VPN clients and configured the FW with the wizard to work with Cisco VPN.
Resolution did not work for me.


Author Closing Comment

ID: 34849810
ok thx

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question