Partlix Host
  • 👋Welcome To Partlix Docs
  • 🪟Windows Server
    • Change RDP Port
    • Change Language
    • Disable UDP for RDP
    • Open Ports (Port Forwarding)
    • How to use WireShark
    • Install MariaDB
    • Install FiveM Server
    • External FTP Access
  • 🐧Linux Server
    • SFTP Connection
    • Generate SSH Key
    • Change SSH Port
    • Link SSH to Visual Studio Code
    • Install xRDP
    • Install Docker
    • Install OpenVPN
    • Install FTP Server
    • Install FiveM Server
    • Install MySQL & Phpmyadmin
  • Game Servers
    • External Pma-Voice (FiveM)
    • External Mumble VoiP (FiveM)
    • Convars Definitions (FiveM)
    • Convars Definitions (txAdmin)
Powered by GitBook
On this page
  1. Windows Server

Disable UDP for RDP

  • Prevent UDP-based RDP Exploits: UDP is more susceptible to spoofing and reflection attacks. Disabling UDP can mitigate risks related to man-in-the-middle (MITM) and replay attacks.

  • Protection Against DDoS Attacks: Some RDP-based attacks leverage UDP for amplification. Disabling it reduces attack vectors.

  • Better Encryption Control: TCP-based RDP traffic is typically encrypted via TLS, while UDP-based traffic might have different security mechanisms.

Disable UDP for RDP using a single PowerShell command.

Run the following elevated PowerShell command (as Administrator):

Copy

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" -Name "fClientDisableUDP" -Value 1 -Type DWORD -Force

Verification:

To check if the setting was applied correctly, run:

Copy

Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" -Name "fClientDisableUDP"

If it returns:

Copy

fClientDisableUDP : 1

Then UDP is disabled for RDP.

Apply Changes:

For the change to take effect, restart your dedicated server or VPS.

Now, RDP will only use TCP and not UDP.

PreviousChange LanguageNextOpen Ports (Port Forwarding)

Last updated 2 months ago

🪟