# Allow RDP Port to Specific IP Address

## Allow RDP Port to Specific IP address

Go to the Dashboard, click on the server, and select the Windows server.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FtY2f3PnKmf5V49xBJHdR%2Fimage.png?alt=media&#x26;token=6b8665c7-a48b-4bcf-b5b7-f539d26d9712" alt=""><figcaption></figcaption></figure>

## Create security group

Click on the view and open the Add Rule section

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FhK3ciRnmujytuMNiuI03%2Fimage.png?alt=media&#x26;token=52b78778-4e0d-4bb3-a491-df2eea4bd785" alt=""><figcaption></figcaption></figure>

### Add rules&#x20;

There are no rules for this security group, to add rule click on the Add Rule ->

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2F0XnsIiNAIpKyzXNQXZw2%2Fimage.png?alt=media&#x26;token=821e657a-6f1e-4edf-8399-28bbd01a4c73" alt=""><figcaption></figcaption></figure>

### Get your public IP&#x20;

To add the rule, first search for your public IP on Google by clicking on this [Link.](https://www.google.com/search?q=my+ip+address\&oq=my+ip+\&gs_lcrp=EgZjaHJvbWUqDggAEEUYJxg7GIAEGIoFMg4IABBFGCcYOxiABBiKBTIMCAEQABgUGIcCGIAEMgcIAhAAGIAEMgcIAxAAGIAEMgcIBBAAGIAEMgYIBRAFGEAyBggGEEUYPDIGCAcQRRg80gEIMTQ3MGowajmoAgCwAgE\&sourceid=chrome\&ie=UTF-8)

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FSivAgsmciQS8bH19IhsQ%2Fimage.avif?alt=media&#x26;token=9066655a-d7f1-415f-87dc-d58f4c13eff9" alt=""><figcaption></figcaption></figure>

Copy your public IP and the following IPs to add to the CIDR section of the rule.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FLxppWyIYLbAIDcQUc3fG%2Fimage.avif?alt=media&#x26;token=e2739b47-9810-4a26-a65d-c487816ad7ae" alt=""><figcaption></figcaption></figure>

### **Allow RDP Port**

**Allow the RDP port to follow these steps**

**Rule** :- custom protocol

**Description**:- RDP PORT ALLOW

**Direction**: Allow ingress and egress to one by one

**Open Port**:- Port

**Port Number**:- 3389

**Protocol**: TCP

**Remote**: select CIDR

**CIDR**:- your internet public IP

**Ether type**:- IPv4

Now click on the add rule

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FN1zDvFMDXCt5QONFO4nh%2Fimage.png?alt=media&#x26;token=8c54fc4b-d28e-4f1c-b6dd-55c9b0e04031" alt=""><figcaption></figcaption></figure>

Same as **egress rule** ->

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FVx7rTZowRxwGac3VXHd9%2Fimage.png?alt=media&#x26;token=57ba1c76-65de-4ae2-887c-87299a0fc668" alt=""><figcaption></figcaption></figure>

Now your **ingress** and **egress** ports are allowed.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FObzXRKqNjQIU5e5kmMPa%2Fimage.png?alt=media&#x26;token=a1e65f54-faff-44b4-87cc-452ceaa55cab" alt=""><figcaption></figcaption></figure>

## Access the server with RDP

Now access your window instance by using the port, Press the window+R key to open your Remote Desktop Connection Enter your IP and port

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FrbRLFmY6ZR2a3Q5FB2td%2Fimage.png?alt=media&#x26;token=a613cded-e05d-42f2-9e75-4b79c060e24d" alt=""><figcaption></figcaption></figure>

Enter the **Username and password**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FHNhQbzZBp51GxkWpTrjf%2Fimage.png?alt=media&#x26;token=d68914e9-63e5-439c-908b-b928381e908a" alt=""><figcaption></figcaption></figure>

Let's see if your instance has access.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FZJ14mugw0dGKPhKeieb3%2Fimage.png?alt=media&#x26;token=96e4506a-00c9-4084-a907-a162ffbaab32" alt=""><figcaption></figcaption></figure>
