> 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/network-services/vpn-gateway/dcd-how-tos/download-config.md).

# Download VPN Gateway Configuration

You can manually export the configuration settings of your VPN gateway. This is suitable for remote or on-premise VPN configuration, backup purposes, troubleshooting, or migrating VPN settings to another system or location. The configuration file typically includes essential details such as network settings, authentication methods, encryption protocols, and routing information.

You can download the configuration file in a standard format and import it into compatible systems or modify it as needed for future use.

{% hint style="info" %}
**Note:**

* The configuration is specific to the chosen VPN Gateway protocol: **IPSec** or **WireGuard**.
* The downloaded file is not a ready-to-use configuration for peers.
  {% endhint %}

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 details. Alternatively, you can also click ![Options menu](/files/4BD8iJjl6t64oljcxZq3) and select **Details and Edit** from the **OPTIONS** column.

![Select a VPN Gateway](/files/QOzGPKf3fMzV80hGLDhc)

3\. In the **Gateway** window, click **Download Configuration**.

![Download the Configuration file](/files/Jw2eTWdo5Yn21HZbYO7P)

{% hint style="success" %}
**Result:** The file is downloaded into your local system and you can use an editor of your choice to view its details.
{% 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:

```
GET https://docs.ionos.com/cloud/network-services/vpn-gateway/dcd-how-tos/download-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
