# Allow ICMP for ping

## Allow ICMP for ping

Navigate to the dashboard, click on the server, and open your instance.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FO4GFuXoWhjvq10peocgt%2Fimage.avif?alt=media&#x26;token=650e22ce-8840-4e9e-814b-78c3c5138dc1" alt=""><figcaption></figcaption></figure>

## Create Security Group

Click on the **security group**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FYHPPvPFBjGjbKu6hSjdd%2Fimage.avif?alt=media&#x26;token=5f18f749-ffc6-42ab-aea3-f0e0d954d24d" alt=""><figcaption></figcaption></figure>

### Add rules

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%2FibzBnhKzWTw6lNRS2zdC%2Fimage.avif?alt=media&#x26;token=71b37432-162d-4b95-bf2a-7197fc298d3e" alt=""><figcaption></figcaption></figure>

To enable internet access, configure the system to allow ICMP protocol and open **ports 80, 53, and 443.**

For ICMP to follow these steps-

**Rule** :- custom protocol

**Description**:- For ICMP

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

**Open Port**:- All Port

**Protocol**: ICMP

**Remote**: Select CIDR

**CIDR**:- 0.0.0.0/0

**Ether type**:- IPv4

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FRYIjG81MEYWx9IIWSDRc%2Fimage.png?alt=media&#x26;token=385de792-2291-43f7-a336-64b5064c7fa4" alt=""><figcaption></figcaption></figure>

Same as for the **egress rule.**

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fhh0pumprOvuh6XHXXJkf%2Fimage.png?alt=media&#x26;token=c7672ad3-1c2a-419c-8d53-3c9f01b1dbea" alt=""><figcaption></figcaption></figure>

Now we can see all ports are allowed.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FLZ6FDdqnfMN3An0KhC2P%2Fimage.png?alt=media&#x26;token=e86824ea-334f-4f98-ac70-cda448922c8c" alt=""><figcaption></figcaption></figure>
