cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
737
Views
0
Helpful
5
Replies

ASA 5505 (V. 8.2) - Need help with RDP access

c.ray.web
Level 1
Level 1

I am having trouble setting up RDP access to a LAN host from the WAN.  I have used a few cisco guides to create the ACL/NAT rules to try to make this work, but I have been unsuccessful.  

When I use the "packet trace" function it shows the packets are being dropped by the deny all ACL on the bottom of the "outside" ACL list.  I have created an "any any" rule and moved it above this deny all rule for testing purposes, but it still shows as being blocked by the deny all / implicit rule. 

Below is the running config:

ASA Version 8.2(5)
!
hostname ciscoasa
enable password  encrypted
passwd  encrypted
names
name 50.76.183.53 WAN
!
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
!
interface Vlan1
nameif inside
security-level 100
ip address 10.1.0.1 255.255.0.0
!
interface Vlan2
nameif outside
security-level 0
ip address WAN 255.255.255.252
!
ftp mode passive
access-list out_in extended permit tcp any interface outside eq smtp
access-list out_in extended permit tcp any interface outside eq www
access-list out_in extended permit tcp any host 10.1.0.10 eq 3389
access-list aplit standard permit 10.1.0.0 255.255.0.0
access-list natexempt extended permit ip 10.1.0.0 255.255.0.0 192.168.2.0 255.255.255.0
access-list 100 extended permit tcp any interface outside eq 3389
access-list OUTSIDE-IN extended permit tcp any interface inside eq 3389
access-list OUTSIDE-IN extended permit ip any any inactive
access-list inside_access_in extended permit ip any any
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool pool1 192.168.2.5-192.168.2.15 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list natexempt
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface smtp 10.1.0.12 smtp netmask 255.255.255.255
static (inside,outside) tcp interface www 10.1.0.12 www netmask 255.255.255.255
static (inside,outside) tcp interface 3389 10.1.0.10 3389 netmask 255.255.255.255
access-group inside_access_in in interface inside
access-group OUTSIDE-IN in interface outside
route outside 0.0.0.0 0.0.0.0 50.76.183.54 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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
aaa authentication ssh console LOCAL
aaa authentication http console LOCAL
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set esp3des-sha esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map dynamap 10 set transform-set esp3des-sha
crypto map cryto_map 65000 ipsec-isakmp dynamic dynamap
crypto map cryto_map interface outside
crypto ca trustpoint _SmartCallHome_ServerCA
crl configure
crypto ca certificate chain _SmartCallHome_ServerCA
certificate ca


quit
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 15
console timeout 0
management-access inside

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy MPD internal
group-policy MPD attributes
dns-server value 10.1.0.12
split-tunnel-policy tunnelspecified
split-tunnel-network-list value aplit
default-domain value mpd.local
username  password  encrypted privilege 15
tunnel-group MPD type remote-access
tunnel-group MPD general-attributes
address-pool pool1
default-group-policy MPD
tunnel-group MPD ipsec-attributes
pre-shared-key 
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
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 sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
Cryptochecksum:
: end
asdm location WAN 255.255.255.255 inside
no asdm history enable

5 Replies 5

mvsheik123
Level 7
Level 7

Hi,

access-list OUTSIDE-IN extended permit tcp any interface inside eq 3389

Try by changing the line to :

access-list OUTSIDE-IN extended permit tcp any interface outside eq 3389

hth

MS

Thanks MS, I have applied this change however this has not established RDP access.  I am hoping to learn from this and I have spent a substantial amount of time trying to figure this out.  

: Saved
:
ASA Version 8.2(5)
!
hostname 
enable password 
passwd 
names
name 
!
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
!
interface Vlan1
nameif inside
security-level 100
ip address 10.1.0.1 255.255.0.0
!
interface Vlan2
nameif outside
security-level 0
ip address WAN 255.255.255.252
!
ftp mode passive
access-list out_in extended permit tcp any interface outside eq smtp
access-list out_in extended permit tcp any interface outside eq www
access-list out_in extended permit tcp any host 10.1.0.10 eq 3389
access-list aplit standard permit 10.1.0.0 255.255.0.0
access-list natexempt extended permit ip 10.1.0.0 255.255.0.0 192.168.2.0 255.255.255.0
access-list 100 extended permit tcp any interface outside eq 3389
access-list OUTSIDE-IN extended permit ip any any inactive
access-list OUTSIDE-IN extended permit tcp any interface outside eq 3389
access-list inside_access_in extended permit ip any any
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool pool1 192.168.2.5-192.168.2.15 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list natexempt
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface smtp 10.1.0.12 smtp netmask 255.255.255.255
static (inside,outside) tcp interface www 10.1.0.12 www netmask 255.255.255.255
static (inside,outside) tcp interface 3389 10.1.0.10 3389 netmask 255.255.255.255
access-group inside_access_in in interface inside
access-group OUTSIDE-IN in interface outside
route outside 0.0.0.0 0.0.0.0 50.76.183.54 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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
aaa authentication ssh console LOCAL
aaa authentication http console LOCAL
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set esp3des-sha esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map dynamap 10 set transform-set esp3des-sha
crypto map cryto_map 65000 ipsec-isakmp dynamic dynamap
crypto map cryto_map interface outside
crypto ca trustpoint _SmartCallHome_ServerCA
crl configure
crypto ca certificate chain _SmartCallHome_ServerCA

quit
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 15
console timeout 0
management-access inside

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy  internal
group-policy  attributes
dns-server value 10.1.0.12
split-tunnel-policy tunnelspecified
split-tunnel-network-list value aplit
default-domain value 
username password  encrypted privilege 15
tunnel-group MPD type remote-access
tunnel-group MPD general-attributes
address-pool pool1
default-group-policy MPD
tunnel-group MPD ipsec-attributes
pre-shared-key 
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
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 sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
Cryptochecksum:
: end
asdm location WAN 255.255.255.255 inside
no asdm history enable

Hi,

Please share the packet tracer output to check the flow.

Thanks,

Shivapramod M

Results of trace:

http://imgbox.com/pf4SNrcw

Am I using that utility correctly?  The IP address field on the left is the public IP/WAN interface address.  The field on the right is the host machines IP address.  

Hi,

Could you copy it to a notepad file and upload it. 

Not able to open the domain.

Thanks,

Shivapramod M

Review Cisco Networking for a $25 gift card