# Update IPSec Tunnel or WireGuard Peer

{% hint style="info" %}
**Note:** During the scheduled maintenance, you can only update the VPN gateway's name and description. You must wait until the maintenance process is finished before modifying the other details.
{% endhint %}

To update an IPSec Tunnel or a WireGuard Peer, follow these steps:

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 update its associated Tunnels or Peers. 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.

![Navigate to update a Tunnel or a Peer associated with a VPN Gateway](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\. For the selected VPN Gateway, you can choose:

* **Tunnels** tab to view tunnels for selected VPN Gateway.

![Update IPSec Tunnel](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-9f7e20865bfe98d4b29608c99748d316e9e8d7c4%2Fupdate-vpn-gateway-tunnel.png?alt=media)

* **Peers** tab to view peers for selected VPN Gateway.

![Update WireGuard Peer](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-ff5412bfe4c1a51899cfd11dd00df07b7296af6f%2Fupdate-vpn-gateway-peer.png?alt=media)

4\. Select **Edit** to update the selected Tunnel or Peer.

5\. Update the necessary details.

6\. To add a new:

* Tunnel, select **Add Tunnels** and [<mark style="color:blue;">specify the details</mark>](https://docs.ionos.com/sections-test/guides/network-services/vpn-gateway/dcd-how-tos/create-peer-tunnel).
* Peer, select **Add Peers** and [<mark style="color:blue;">specify the details</mark>](https://docs.ionos.com/sections-test/guides/network-services/vpn-gateway/dcd-how-tos/create-peer-tunnel).

7\. Click **Save** to update the details.

{% hint style="success" %}
**Result:** The selected Tunnel or Peer is successfully updated.
{% endhint %}
