中文

加固 Windows VPS 的 RDP

1 min
VPS/VDS 主机

保护 Windows VPS 的 RDP。

📋 前提条件

  • 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 更安全!🚀

及时了解最新的优惠、折扣和特别促销活动。

查看促销

我们使用Cookie

我们使用分析性Cookie来改善您在我们网站上的体验。数据不会出售给第三方。了解更多请查看我们的 隐私政策.