RDP over the Internet requires port forwarding. You can follow this
tutorial to forward the RDP port: Remote Desktop Port Forwarding If you
are inaccessible outside the network, check the firewall settings and
the antivirus software.
If your VPN is set up to use the default gateway on the remote network,
then you will normally need to VPN to the remote network yourself and
re-establish the remote desktop. But you can work around this by adding
a static route back to you from the ...
You can go to Local Security Policy to edit the "Allow log on through
Remote Desktop Services" policy.Here are the detailed
steps:https://www.anyviewer.com/how-to/rdp-works-only-with-mstsc-admin-0427.html