Score:0

Allow RDP connection only from assigned OpenVPN IP address Server 2022

cn flag

Good day, Firstly, Here is my setup: I have just set up a new Windows Server 2022. I am also registered with OpenVPN Cloud. I have installed the OpenVPN Connector as a service on the Server and it is connecting properly. In the OpenVPN Admin portal, I use the VPN IP address assigned to my server to connect to RDP, which works perfectly. My question is, how do I "lock down" RDP to ONLY accept connections using the IP address assigned by OpenVPN Cloud and no other? I tried disabling the RDP preset rule but that locked me out completely, so I am unsure where to go from here. Any assistance would be most appreciated and apologies if it seems like I am asking a question that may have already been addressed, however, Icould not find any answers that fit my particular setup.

joeqwerty avatar
cv flag
**I tried disabling the RDP preset rule but that locked me out completely** - What rule? Where? You should be able to use the Windows Firewall to accomplish this.
Mark de Wet avatar
cn flag
@joeqwerty the Server firewall rule in the Windows Firewall, Remote Desktop (User Mode). Yes, I am sure that it could be done via the Windows Firewall, I am just unsure exactly how as I am new to this setup and I am also 60 years old and learning as I go.
Mark de Wet avatar
cn flag
Hi all, not to worry, I managed to figure it out. Editing the existing Remote Desktop (User Mode) TCP Firewall rule to only allow a specific range of remote IP addresses worked perfectly. Thank you.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.