Results 1 to 4 of 4
-
10-28-2014, 02:36 PM #1
How to Change Windows VPS RDP/RDC Port & Allow New Port?
Hello,
Changing a Default RDP Port to other port is recommended for your VPS Security, My English is good so I will add some images so you can easily understand this.
Only for Windows 2008 R2
Step 1:
How to Change Default RDP Port?
Login to your VPS Via RDP(Because VNC is slow so I recommended you to use RDP) and go to Start Menu and type "regedit.exe" in search box(without quota)
(See Screenshot)
In Registry Editor, Go to:
Code:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
2. Click on "Modify" option and then Select "Decimal" and change value from "3389" to other port number like 3399
3. Press "OK" and Exit from Registry Editor.
(Screen Shot)
Step2:
Allow your New RDP Port to Firewall?
1. Go to Start Menu, Type "Windows Firewall" (without quota) and open "Windows Firewall with Advanced Security"
(Screenshot - Open Firewall)
2. In Firewall, Click on "Inbound Rules" and then click on "New Rules"
(Screenshot)
3. Select "Port" in list and then click on "Next"
(Screenshot - Select Port - Stp 1)
4. TCP is Selected by Default, We just need to enter our new RDP Port in "Specific Local Ports" so enter your new Port 3399(or your new other port) and then click "Next"
(Screenshot - Step 2)
5. We need to Select "Allow the connection" and then press "Next" button.
6. Click on "Next" Button without changing anything.
7. In name field enter "Remote Desktop Port" and then Press "Next" button.
(Screenshot)
8. Exit from Firewall and Reboot your VPS/Operating System.
After few minute, When your VPS will become online then you will be able to access your RDP Account by using your IP: PORT in RDP Application.
Eg: 233.233.233.x:3399 (Just for example)
(Screen shoot)
(Tip: Do not reboot your VPS without allowing your new port in Firewall otherwise you will be unable to access your RDP until you fix this via VNC/Console)
Thanks.Last edited by DewlanceHosting; 10-28-2014 at 02:43 PM.
Dewlance® Shared/Reseller/Master Reseller - US/UK/EU/FRK/CA - SSD
WHMCS ReadyMadeKB - Tutorials for cPanel/InterWorx/Softaculous& Growing..
DemoTiger.com - Buy Demo Videos for your Hosting Company
-
10-28-2014, 10:17 PM #2Web Hosting Master
- Join Date
- Aug 2006
- Posts
- 1,171
New port: 3390
Two lines:
netsh advfirewall firewall add rule name="RDP Port" action=allow protocol=TCP dir=in localport=3390
Create file .REG with:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"PortNumber"=dword:00000d3e
Reboot your VPS/Server
Done.WebSitePanel/ MspControl / SolidCP / Smartermail / Installation / Configuration / Troubleshooting / Migrations
Windows Server Management / Security / Hardening
I speak English and Spanish
-
11-25-2014, 02:46 AM #3Disabled
- Join Date
- Nov 2014
- Posts
- 11
Thanks for the tutorial.
-
11-25-2014, 03:03 AM #4Web Hosting Master
- Join Date
- Jan 2008
- Posts
- 1,204
Just an advice.. If you have firewall, you should first allow the new port in firewall and then make the changes in registry..
|| Web Hosting Blog - Web Hosting security & latest web hosting industry Announcements
|| Web Hosting Discussion - A Web Hosting community
Similar Threads
-
Dewlance: Windows RDP/RDC - $5/m - [UK]
By DewlanceHosting in forum Other Hosting OffersReplies: 1Last Post: 02-02-2013, 11:31 PM -
Linux & Windows RDP Servers - 1Gbps port on Linux - Burst RAM - Free VPS CP - LR Accp
By AJKservers in forum VPS Hosting OffersReplies: 0Last Post: 12-27-2011, 03:47 PM -
Managed Server 10mbits-port,20mbits-port,50mbits-port,100mbits-port Unmetered
By internetport in forum Dedicated Hosting OffersReplies: 0Last Post: 11-22-2008, 07:38 AM -
Email Server Port Problem - How to change/add port for SMTP
By 0218 in forum Hosting Security and TechnologyReplies: 1Last Post: 02-19-2008, 04:46 AM -
Change SSH Port to FTP Port 21
By jojo235 in forum Hosting Security and TechnologyReplies: 6Last Post: 03-22-2005, 06:06 PM