LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2006, 04:52 PM   #1
seanferd
LQ Newbie
 
Registered: Feb 2006
Distribution: Debian Wheezy
Posts: 13

Rep: Reputation: 0
Remote Desktop Port Numbers


I have been searching on and off for several weeks trying to figure out what port number tsclient or rdesktop uses. Basically, I'm trying to remote into my home machine from work but I have all incoming ports NAT'd except for one being forwarded. So I either want to figure out that port number and turn forwarding on for it or I want to tell rdesktop, etc. which port to use. Does anyone know how to get around this problem otherwise? Thanks for your help!

--Sean
 
Old 05-03-2006, 05:34 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Quick search on google pointed to me two these sites.
rdesktop http://www.microsoft.com/windowsxp/u...ity/rdfaq.mspx
tsclient http://support.microsoft.com/default...300847&sd=tech

Just have to make sure if there is a firewall on Windows that it is open also.

Brian1
 
Old 05-03-2006, 06:23 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
If you want to accept incoming requests at home, then you need to forward the port (3389) for udp and tcp.

NAT works by matching an incoming response to the outgoing request that it recorded. When you initiate the session from work, there is nothing to match with.
 
Old 05-04-2006, 08:40 AM   #4
seanferd
LQ Newbie
 
Registered: Feb 2006
Distribution: Debian Wheezy
Posts: 13

Original Poster
Rep: Reputation: 0
Wow! Thanks for the quick response time. I will forward 3389 tonight and let you know how it goes. Thanks again!

--Sean
 
Old 05-04-2006, 11:09 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
IANA maintains a comprehensive list of registered port numbers..

http://www.iana.org/assignments/port-numbers

rdesktop uses the msrdp protocol so you would simply search this doc for msrpd it is also called ms-wbt-server (I have no idea why they changed the name.. **sigh**

but either way the list will come in handy in teh future when you need to identify port numbers...
 
Old 05-04-2006, 12:05 PM   #6
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
You can always use tcpdump to see what port numbers are being used, assuming you have root access.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
max number multicast addresses and port numbers tara Programming 2 11-20-2005 05:53 PM
Port numbers and domain name question yanik Linux - Networking 2 09-01-2005 04:38 PM
Where are printer port numbers?!? mentalken Linux - Hardware 3 01-27-2005 08:10 PM
need help with port numbers. GEEF Linux - Networking 2 11-08-2004 07:07 PM
how do we find outbound port numbers mahanare Linux - Security 1 10-05-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration