Los bots escanean el puerto 3389 y prueban contraseñas. Tras muchos intentos fallidos, Windows bloquea la cuenta.
Ver también: Conectar por RDP · Asegurar RDP
📋 Requisitos
- VPS Windows con acceso Administrador
- Conexión RDP funcional
Paso 1 — Cambiar el puerto en el registro
PowerShellSet-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name PortNumber -Value 3390
Paso 2 — Abrir el puerto en el firewall
PowerShellNew-NetFirewallRule -DisplayName "RDP Custom Port" -Direction Inbound -Protocol TCP -LocalPort 3390 -Action Allow
Paso 3 — Reiniciar el servicio RDP
PowerShellRestart-Service TermService -Force
Paso 4 — Conectar con el nuevo puerto
TEXTSU_IP:3390
⚠️ No cierre la sesión actual hasta probar el nuevo puerto.
Paso 5 — Bloquear el puerto antiguo (opcional)
PowerShellNew-NetFirewallRule -DisplayName "Bloquear RDP 3389" -Direction Inbound -Protocol TCP -LocalPort 3389 -Action Block
Verificar
PowerShellnetstat -an | findstr "3390"
¡Acceso RDP seguro! 🚀