Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Help on Redirection from Port to Port for RDP

Hi - I have a ASA which I will post the config down below.

Basically everything is working as normal however I have just been told we have another server at host which needs to be accessed over the external IP through RDP on port 3399 which then redirects to Port 3389 if that makes sense.

So currently I have the ASA internal IP and outside let say - I have a Server at host which works perfect for RDP on port 3389 when I connect through but since I now need to RDP to a second server through I need to be able to tell the user to connect to which then will connect to and that would leave the normal connecting to on the normal 3389

Hope that makes sense - I have replaced a old DLINK which basically redirected anything on to

Result of the command: "sh conf"

ASA Version 8.4(2)
hostname asa03

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 webserve
security-level 100
ip address
interface Vlan2
nameif outside
security-level 0
ip address
boot system disk0:/asa842-k8.bin
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns domain-lookup outside
dns server-group DefaultDNS
object network SigmaCareTest1
description SigmaCareTest1
object network SigmaCareTest2
description SigmaCareTest2
object network a-
object service a-http
service tcp source eq www
object service tcp-80
service tcp source eq www
object network InsideNat
object network WebServeNat
object service RDP-3389
service tcp source eq 3389
object network Testrdp
object service ftp-20
service tcp source eq ftp-data
object service ftp-21
service tcp source eq ftp
object network ser-rdp
object service rdp-3399
service tcp source eq 3399
object-group network obj_any
object-group network DM_INLINE_NETWORK_2
network-object object Testrdp

network-object object SigmaCareTest1
network-object object SigmaCareTest2
object-group service DM_INLINE_SERVICE_1
service-object object ftp-20
service-object object ftp-21
access-list outside_in extended permit tcp object-group DM_INLINE_NETWORK_2 host eq 3389

pager lines 24
logging enable
logging asdm informational
mtu webserve 1500
mtu outside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
nat (webserve,outside) source static a- interface service tcp-80 tcp-80
nat (webserve,outside) source static a- interface service RDP-3389 RDP-3389
nat (webserve,outside) source static a- interface service ftp-21 ftp-21
nat (webserve,outside) source static a- interface service ftp-20 ftp-20

object network WebServeNat
nat (webserve,outside) dynamic interface
access-group outside_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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
http server enable
http webserve
no snmp-server location
no snmp-server contact
telnet timeout 5
ssh outside
ssh timeout 5
console timeout 0

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp authenticate
ntp server source outside prefer

class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
  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 esmtp
  inspect sqlnet
  inspect skinny 
  inspect sunrpc
  inspect xdmcp
  inspect sip 
  inspect netbios
  inspect tftp
  inspect ip-options
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous

Everyone's tags (2)
Cisco Employee

Help on Redirection from Port to Port for RDP

Go it!


nat (webserve,outside) source static a- interface service rdp-3399 RDP-3389

access-list outside_in extended permit tcp any host eq 3389

Try it out, if it doesnt work send us the packet tracer output

packet-tracer input outside tcp 1025 3399