# Convert Custom Network Security Group to Default

Default NSGs provide a standardized set of security rules and automatically add every newly provisioned VMs as a member, making it easier to maintain and scale your network security as your organization grows. It also reduces administrative overhead by eliminating the need to configure and update security rules manually.

{% hint style="info" %}
\*\*Prerequisites:\*\* Ensure that you have appropriate permissions to create NSGs. Only contract administrators, owners, and users with permissions to the corresponding VDC can create and manage NSGs.
{% endhint %}

{% hint style="info" %}
\*\*Note:\*\* \* Only one security group can be a default group at a time. \* A default security group is created with the four default rules. However, the rules are not created when you convert an existing custom NSG to a default NSG. For more information, see \[<mark style="color:blue;">FAQs</mark>]\(../nsg-faqs.md#what-predefined-rules-does-a-default-network-security-group-contain).
{% endhint %}

## Convert from custom to default

To convert a custom NSG to a default NSG, follow these steps:

1\. In the **DCD**, go to **Menu** > **Security** > **Network Security Groups**.

2\. Select a data center from the drop-down list.

3\. Select an NSG and click **Set as default** in the **Network Security Groups** window to convert the respective custom group to default.

![Set as default](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-131959694909e150299927b1e81ddd7a0bcb3259%2Fconvert-custom-to-default.png?alt=media)

* Alternatively, on the **Network Security Groups** window, you can select the **NAME** of the respective security group or select **View & Edit** for the respective security group:

![Alternative options](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-ca71cb27025fe8b01b7b698a2f9c0c44557c22dc%2Fconvert-custom-nsg-alt2.png?alt=media)

* Next, select **Set as default** in the **Security Group Details** window.

![Set as default](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e4078e6f4feb52a8ac5c5a6957ea40114a0c01f2%2Fconvert-custom-nsg-alt2-set.png?alt=media)

4\. Select **Confirm** in the pop-up window.

{% hint style="success" %}
**Result:** The selected NSG is converted to the default group.
{% endhint %}

![The group is set to Default](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-5fd19d8536385d0c4b9bce084c7d06fe282c71d4%2Fconvert-custom-nsg-alt2-success.png?alt=media)

## Revert from default to custom

1\. Select **Remove default status** in the **View & Edit Group** window to remove the default status.

![The Default NSG is converted to Custom](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-041ee0ac9f2b3b96d91cba67af4b7c90ea129395%2Fconvert-custom-nsg-alt2-remove.png?alt=media)

2\. Select **Confirm** to confirm the status change.
