Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

Can't connect to Windows VPN Server behind ASA 5505

I have a Windows 2003 Server with VPN Service sitting behind an ASA 5505, and I can't connect to it via Windows VPN client. My client just hangs at the "Verifying username and password..." prompt. I've done quite a bit of searching on this problem and feel that I should have everything configured correctly (see below). While trying to connect, I watch the logs (also shown below) and see the GRE translation get built with no errors. Any advice is greatly appreciated.


interface Vlan1
nameif inside
security-level 100
ip address
interface Vlan2
nameif outside
security-level 0
ip address dhcp setroute
interface Vlan3
no forward interface Vlan1
nameif dmz
security-level 50
ip address
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
interface Ethernet0/4
interface Ethernet0/5
interface Ethernet0/6
interface Ethernet0/7
ftp mode passive
dns domain-lookup inside
dns server-group DefaultDNS
domain-name mydomainnameismaskedforforumpost
same-security-traffic permit intra-interface
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
object-group service windows-remotedesktop tcp-udp
description Windows Remote Desktop
port-object eq 3389
access-list inside_access_in extended permit ip any any
access-list outside_access_in extended permit tcp any any eq 3389
access-list outside_access_in extended permit tcp any any eq pptp
access-list outside_access_in extended permit tcp any any eq 1701
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1
static (inside,outside) tcp interface 3389 3389 netmask
static (inside,outside) tcp interface 1701 1701 netmask
static (inside,outside) tcp interface pptp pptp netmask
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
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
http server enable
http outside
http inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
dhcpd address inside
dhcpd auto_config outside interface inside
dhcprelay timeout 60

class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
  message-length maximum 512
policy-map global_policy
class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny
  inspect sunrpc
  inspect xdmcp
  inspect sip
  inspect netbios
  inspect tftp
  inspect pptp
  inspect ipsec-pass-thru
service-policy global_policy global
prompt hostname context
: end


6|Oct 29 2010|14:30:22|302013|||Built outbound TCP connection 96041 for outside: ( to inside: (
6|Oct 29 2010|14:30:22|305011|||Built dynamic TCP translation from inside: to outside:
6|Oct 29 2010|14:30:19|305012|||Teardown dynamic TCP translation from inside: to outside: duration 0:00:30
6|Oct 29 2010|14:30:14|302015|||Built outbound UDP connection 96040 for outside: ( to inside: (
6|Oct 29 2010|14:30:14|305012|||Teardown dynamic GRE translation from inside: to outside: duration 0:00:30
6|Oct 29 2010|14:30:10|302015|||Built outbound UDP connection 96039 for outside: ( to inside: (
6|Oct 29 2010|14:30:07|302016|||Teardown UDP connection 96009 for outside: to inside: duration 0:02:02 bytes 99
6|Oct 29 2010|14:30:07|305011|||Built dynamic GRE translation from inside: to outside:
6|Oct 29 2010|14:30:07|302013|||Built inbound TCP connection 96036 for outside: ( to inside: (


Re: Can't connect to Windows VPN Server behind ASA 5505


You're trying a PPTP, L2TP or L2TP/IPsec connection to the internal windows server?

PPTP uses TCP 1723 and GRE

L2TP uses TCP 1701 and GRE

IPsec uses UDP 500, UDP 4500 and ESP

So, if you want to connect to the outside IP of the ASA and be redirected to the windows server, you need to use the ports above in the ACL and in the NAT rules.


CreatePlease to create content