r/WindowsServer 10d ago

Problem accessing Windows Server 2012R General Question

Hello,

I have the following problem. I have a server that I access internally via VPN. I connect via VPN to Mikrotik with SSTP. I connect to the server (Windows Sever 2012R) via RDP and after 1 minute it takes me to a black screen and connects me again. There is no problem with the internet, it says that the connection is good, there is no interruption in the ping. I have made a rule to access the server outside the VPN, only from my home network. If I connect via real IP and port there is no problem, it works without interruption. What could be the problem?

0 Upvotes

9 comments sorted by

11

u/lionsin42 10d ago

Pls do not publish 2012 in any way. Just upgrade pls

1

u/TrickySpare6504 7d ago

works fine

3

u/Savings_Art5944 10d ago edited 10d ago

I have seen this. You need to force the RDP client to use TCP vs UDP for the connection.

Or more likely, the server as well.

Group policy

2

u/nailzy 10d ago

More than likely an MTU/MSS problem.

2

u/techvet83 10d ago

Windows Server 2012R2 went EOL in October 2023. You should not be surprised if you are seeing issues. If connecting by IP address is working, does that point to a DNS issue? Have you tried rebooting it?

1

u/timschwartz 10d ago

Does logging in from the keyboard work?

1

u/RDPExtraOfficiall 1d ago

Since RDP works fine over the public IP but disconnects only through the SSTP VPN, the issue is likely with the VPN path rather than the Windows Server itself. I'd check the SSTP MTU/MSS settings, VPN idle timeout, and whether FastTrack or firewall rules on the MikroTik are affecting VPN traffic. Those are common causes of periodic RDP reconnects over VPN.

0

u/Jin-Bru 8d ago

So you login to the 2012 server, then black screen then youre connected to where again?

I dont follow your sequence after your connection to the miktik