> For the complete documentation index, see [llms.txt](https://docs.neevcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neevcloud.com/neevcloud-products/networking/vpn/connections-and-verification.md). Agents can also search and read this documentation through its [MCP server](https://docs.neevcloud.com/~gitbook/mcp).

# Connections & Verification

### Create IPSec Site Connections

Navigate to **Networking > VPNs > IPSec Site Connections > + Create IPSec Site Connection**

**Connection 1 — conn** (network-1 side)

| Field                       | Value                       |
| --------------------------- | --------------------------- |
| Name                        | conn                        |
| VPN Service                 | vpn1                        |
| IKE Policy                  | ikepolicy                   |
| IPSec Policy                | ipsecpolicy                 |
| Local Endpoint Group        | left-local-epg              |
| Peer Endpoint Group         | left-peer-epg               |
| Peer Gateway Public Address | *(External IP of router-2)* |
| Pre-Shared Key              | your-psk-here               |
| Initiator Mode              | bi-directional              |
| MTU                         | 1500                        |
| DPD Action                  | hold                        |
| DPD Interval                | 30                          |
| DPD Timeout                 | 120                         |

***

**Connection 2 — conn2** (network-2 side)

| Field                       | Value                       |
| --------------------------- | --------------------------- |
| Name                        | conn2                       |
| VPN Service                 | vpn2                        |
| IKE Policy                  | ikepolicy                   |
| IPSec Policy                | ipsecpolicy                 |
| Local Endpoint Group        | epg-local-2                 |
| Peer Endpoint Group         | epg-peer-2                  |
| Peer Gateway Public Address | *(External IP of router-1)* |
| Pre-Shared Key              | your-psk-here               |
| Initiator Mode              | bi-directional              |
| MTU                         | 1500                        |
| DPD Action                  | hold                        |
| DPD Interval                | 30                          |
| DPD Timeout                 | 120                         |

> **Important:** The Pre-Shared Key must be identical on both connections. Ensure VPN Service and Local Endpoint Group are from the same network side — do not mix them.

***

### Verification

#### Check Connection Status

Navigate to **Networking > VPNs > IPSec Site Connections**

Both connections should show **Status = ACTIVE** within 60 seconds of creation.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2Fvxdcqy63S4j8566p7iBj%2Fimage.png?alt=media&amp;token=78c099ba-cc43-44f8-9e05-4fedceeccc5c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FfVpGKTRJRVtLEXjf2zJf%2Fimage.png?alt=media&amp;token=68d7b7f9-6ceb-472e-93a1-98427a5ccd6c" alt=""><figcaption></figcaption></figure>

#### Test Connectivity Between VMs

SSH into each VM and run a ping to the private IP of the VM on the opposite network:

```
ping <private-IP-of-remote-VM>
```

A successful response confirms the VPN tunnel is working and traffic is flowing bidirectionally across the encrypted IPSec tunnel.

<figure><img src="https://1876135298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEC5NwtFshv6EATOemuUn%2Fuploads%2FlsJcZtPohiK4nTA43faa%2Fimage.png?alt=media&amp;token=53858b16-2c45-4dd9-9b69-2787818a68a0" alt=""><figcaption></figcaption></figure>

***


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.neevcloud.com/neevcloud-products/networking/vpn/connections-and-verification.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
