# Delete IPSec Tunnel or a WireGuard Peer

You can delete the tunnel/peer that is associated with the chosen VPN Gateway protocol.

1\. In the **DCD**, go to **Menu** > **Network Services** > **VPN Gateway**.

2\. In the **VPN Gateways** window, click on the name of the VPN Gateway to delete an associated peer/tunnel. Alternatively, you can also click ![](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2f1229538e69d452928b2f47c676bf74113448d4%2Fvpn-three-dots-option.png?alt=media) and select **Details and Edit** from the **OPTIONS** column.

![Select a VPN Gateway to delete an associated peer/tunnel](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-a5d91ca45a6b01ca51dc5e3d6875e5b2387e21ad%2Fupdate-vpn-gateway.png?alt=media)

3\. Follow these steps to delete a tunnel or a peer:

{% tabs %}
{% tab title="Tunnels" %}
1\. For the selected VPN Gateway, you can choose **Tunnels** tab to view tunnels for selected VPN Gateway.

2\. Select **Delete** to delete selected Tunnel.

![Delete a Tunnel](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-176c8256362cf134002ba05905ff351e57928dbf%2Fdelete-vpn-gateway-tunnel.png?alt=media)

3\. Select **Delete** to confirm the deletion.

![Confirm deletion](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-497c48253bec05656837116369dea9e3371f72d9%2Fdelete-vpn-gateway-tunnel-confirm.png?alt=media)

{% hint style="success" %}
**Result:** The selected Tunnel is deleted and it is no longer associated with the VPN IPSec Gateway.
{% endhint %}
{% endtab %}

{% tab title="Peers" %}
1\. For the selected VPN Gateway, you can choose **Peers** tab to view peers for selected VPN Gateway.

2\. Select **Delete** to delete selected Peer.

![Delete a Peer](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2e6e382f2dd4359174f6aaf06c68f1eeded6fa37%2Fdelete-wg-peer.png?alt=media)

3\. Select **Delete** to confirm the deletion.

![Confirm deletion](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-6b8b051fbcdad0df6bc9659d42d04bde339e943f%2Fdelete-wg-peer-confirm.png?alt=media)

{% hint style="success" %}
**Result:** The selected Peer is deleted and it is no longer associated with the VPN WireGuard Gateway.
{% endhint %}
{% endtab %}
{% endtabs %}
