What ports are used for Remote Desktop?

G

Gonzo

I need to connect to my PC from work and will need to open open the ports on
both firewalls at each end. I think it uses port 3389, is this TCP or UDP
and do I need to open this in both directions ineach firewall?
 
J

John Waller

Q.What port does Remote Desktop use? Does everything go over port 3389?

A.Port 3389 is the only port you need to open. Windows will attempt to
stream sound through User Datagram Protocol (UDP) first. If no port is
available for UDP, sound will stream through a virtual channel in Remote
Desktop Protocol, which uses port 3389.


From:
http://www.microsoft.com/windowsxp/using/mobility/rdfaq.mspx
 
P

Pegasus \(MVP\)

Gonzo said:
I need to connect to my PC from work and will need to open open the ports on
both firewalls at each end. I think it uses port 3389, is this TCP or UDP
and do I need to open this in both directions ineach firewall?

You need to open the port for incoming packets only and on
the host's firewall only. Instead of using port 3389, consider using
a different port in order to make yourself less of a target for
hackers. You can set the port on the host machine here. Reboot
the machine to make the change effective.
HKLM\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\Por
tNumber
 
G

Gonzo

only on UPD?

Pegasus (MVP) said:
You need to open the port for incoming packets only and on
the host's firewall only. Instead of using port 3389, consider using
a different port in order to make yourself less of a target for
hackers. You can set the port on the host machine here. Reboot
the machine to make the change effective.
HKLM\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\Por
tNumber
 
G

Gonzo

I have done an out bound on my work firewall and inbound on the hosts
firewall where i need to connect, sound ok?
 
P

Pegasus \(MVP\)

I don't know what you mean - please rephrase.


Gonzo said:
I have done an out bound on my work firewall and inbound on the hosts
firewall where i need to connect, sound ok?
 
G

Gonzo

Sorry,

I haveadded an outbound rule on my work firewall for TCP port 3389 and
inbound rule on the hosts firewall for TCP 3389 where I need to connect,
sound ok?
 
P

Pegasus \(MVP\)

Are you asking what command you should use to establish
a Remote Desktop connection?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Remote Desktop connection 4
Remote Desktop/Assitance 2
problem with network share and Windows FireWall 4
remote desktop 2
remote desktop 1
UDP ports for Internet Explorer 0
Firewall strealthing 4
ports 2

Top