0

Whenever I connect to my VPS, when the wrong credentials are placed in, I am still able to connect but I am directed to a login screen.

This can bring up some potential Bruteforce issue so I would like to only allow connection when credentials are correct.

Incase I am unclear, some screenshots are attached.

Attempt to login with wrong password:

Attempt to login with wrong password

Would like to block connection when credentials are incorrect, do not want them to be brought to this login screen:

Would like to block connection when credentials are incorrect, do not want them to be brought to this login screen

This is what I want to achieve:

This is what I want to achieve

Uwe Keim
  • 2,370
  • 4
  • 29
  • 46
Jerng Yue
  • 11
  • 2
  • Does this answer your question? [Ban, slowdown or stop massive login attempts to RDP](https://serverfault.com/questions/314850/ban-slowdown-or-stop-massive-login-attempts-to-rdp) – Greg Askew Dec 12 '20 at 13:56
  • That is not what I am trying to achieve, dont want to setup a VPN as I will access my server from lots of location – Jerng Yue Dec 12 '20 at 16:36
  • 1
    Is your server configured to require Network Level Authentication? – Greg Askew Dec 12 '20 at 16:39
  • 1
    The initial dialog is an NLA dialog. If the host is not configured to use NLA, there should not be an expectation it would work. – Greg Askew Jan 10 '21 at 13:36

1 Answers1

1

Thank you @Greg Askew, NLA is the issue after enabled that, it works.

Jerng Yue
  • 11
  • 2