PC Review


Reply
Thread Tools Rate Thread

Change RDP Web Connection Port number

 
 
Scott Goldman
Guest
Posts: n/a
 
      11th Aug 2004
I want have two W2K3 Terminal Servers that will run behind
my corp. firewall. The firewall currently uses port
forwarding to the correct internal server. I am using the
RDP Web Connection. As I understand, there is no way for
the RDP Web Connection to connect to another port other
than 3389. If I am wrong, please let me know how to
change the port. If the port cannot be changed, how can I
specify which server a user should connect to. There will
be two seperate groups I could use to distinguish between
the servers.


 
Reply With Quote
 
 
 
 
Alex K. Angelopoulos [MVP]
Guest
Posts: n/a
 
      11th Aug 2004
You certainly can change the port. The problem is that if you have only 1
public IP, you may need to change the listening port on one of the servers,
and that means it needs to be modified for local connections as well.
If your firewall supports redirecting a port on the outside to a different
port number internally, then just pick a high port number - something above
49000 or so to make sure it's not a registered port - and you don't need to
do anything off the firewall.

Here's how, assuming the firewall works for this. Let's assume you're going
to use 49001 as the port on the outside that listens for connections to the
2nd TS.

First, set up a rule for the firewall that redirects 49001 on the outside to
port 3389 on the TS.

Second, make a copy of the TSWeb page. Open it in a text editor, and look
for the line
MsRdpClient.Connect
Somewhere shortly before that line, insert a line that says
MsRdpClient.AdvancedSettings2.RdpPort = 49001
and the new page will now connect to port 49001.



Scott Goldman wrote:
> I want have two W2K3 Terminal Servers that will run behind
> my corp. firewall. The firewall currently uses port
> forwarding to the correct internal server. I am using the
> RDP Web Connection. As I understand, there is no way for
> the RDP Web Connection to connect to another port other
> than 3389. If I am wrong, please let me know how to
> change the port. If the port cannot be changed, how can I
> specify which server a user should connect to. There will
> be two seperate groups I could use to distinguish between
> the servers.



 
Reply With Quote
 
Guest
Posts: n/a
 
      11th Aug 2004
Alex,

Thank you very much. Your solution is perfect.

Scott
>-----Original Message-----
>You certainly can change the port. The problem is that if

you have only 1
>public IP, you may need to change the listening port on

one of the servers,
>and that means it needs to be modified for local

connections as well.
>If your firewall supports redirecting a port on the

outside to a different
>port number internally, then just pick a high port

number - something above
>49000 or so to make sure it's not a registered port - and

you don't need to
>do anything off the firewall.
>
>Here's how, assuming the firewall works for this. Let's

assume you're going
>to use 49001 as the port on the outside that listens for

connections to the
>2nd TS.
>
>First, set up a rule for the firewall that redirects

49001 on the outside to
>port 3389 on the TS.
>
>Second, make a copy of the TSWeb page. Open it in a text

editor, and look
>for the line
> MsRdpClient.Connect
>Somewhere shortly before that line, insert a line that

says
> MsRdpClient.AdvancedSettings2.RdpPort = 49001
>and the new page will now connect to port 49001.
>
>
>
>Scott Goldman wrote:
>> I want have two W2K3 Terminal Servers that will run

behind
>> my corp. firewall. The firewall currently uses port
>> forwarding to the correct internal server. I am using

the
>> RDP Web Connection. As I understand, there is no way

for
>> the RDP Web Connection to connect to another port other
>> than 3389. If I am wrong, please let me know how to
>> change the port. If the port cannot be changed, how

can I
>> specify which server a user should connect to. There

will
>> be two seperate groups I could use to distinguish

between
>> the servers.

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO: Change the COM Port Number Mike S. Windows XP Performance 1 28th Jul 2008 02:37 AM
Change the local port of a server connection after connection isestablished Samik R. Microsoft Dot NET Framework 5 14th Dec 2006 02:29 AM
Re: Change the DNS port number Ricardo Microsoft Windows 2000 0 19th Jul 2004 10:50 PM
Change RDP port number ? Stefano Microsoft Windows 2000 Terminal Server Applications 1 17th Nov 2003 08:07 PM
Change Port Number DJ Windows XP Work Remotely 4 6th Aug 2003 08:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:49 AM.