احصل على VPS الآن!

Infrawireشعار Infrawireالتوثيق
Appeler

تأمين RDP على VPS Windows

تأمين RDP على VPS Windows.

📋 المتطلبات

  • Windows VPS with Administrator access
  • Working RDP (RDP guide)

Enable Network Level Authentication (NLA)

Bash
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name UserAuthentication -Value 1

Create a dedicated admin account

Bash
$user = "RdpAdmin" $pass = Read-Host "Strong password" -AsSecureString New-LocalUser -Name $user -Password $pass Add-LocalGroupMember -Group "Administrators" -Member $user

Firewall: allow RDP only

Bash
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True

Account lockout policy

Lock account after several failed attempts via Local Security Policy.


RDP آمن! 🚀