> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/network-services/vpn-gateway/dcd-how-tos/update-tunnels-peers.md).

# 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** > **VPN Gateway** under **Connectivity**.

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 ![](/files/4BD8iJjl6t64oljcxZq3) and select **Details and Edit** from the **OPTIONS** column.

![Navigate to update a Tunnel or a Peer associated with a VPN Gateway](/files/tWznCmvv1MsWMfaDYFG2)

3\. For the selected VPN Gateway, you can choose:

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

![Update IPSec Tunnel](/files/GVjNlourL3Uz2ABus2cM)

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

![Update WireGuard Peer](/files/J3T5C9uL5JhJ6HzwFp4L)

4\. Select **Edit** to update 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>](/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/network-services/vpn-gateway/dcd-how-tos/create-peer-tunnel.md).
* Peer, select **Add Peers** and [<mark style="color:blue;">specify the details</mark>](/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/network-services/vpn-gateway/dcd-how-tos/create-peer-tunnel.md).

7\. Click **Save** to update the details with the changes made.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/network-services/vpn-gateway/dcd-how-tos/update-tunnels-peers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
