---
title: NetworkCreateRequest
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/networkcreaterequest/
product: CloudConnexa Docs
---

# NetworkCreateRequest

```json
{
  "name": "string",
  "description": "string",
  "internetAccess": "SPLIT_TUNNEL_ON",
  "egress": true,
  "routes": [
    {
      "value": "string",
      "description": "string"
    }
  ],
  "connectors": [
    {
      "name": "string",
      "description": "string",
      "vpnRegionId": "string",
      "ipSecConfig": {
        "platform": "AWS",
        "authenticationType": "SHARED_SECRET",
        "remoteSitePublicIp": "string",
        "preSharedKey": "string",
        "caCertificate": "string",
        "peerCertificate": "string",
        "remoteGatewayCertificate": "string",
        "peerCertificatePrivateKey": "string",
        "peerCertificateKeyPassphrase": "string",
        "ikeProtocol": {
          "protocolVersion": "IKE_V1",
          "phase1": {
            "encryptionAlgorithms": [
              "AES128"
            ],
            "integrityAlgorithms": [
              "SHA1"
            ],
            "diffieHellmanGroups": [
              "G_1"
            ],
            "lifetimeSec": 3600
          },
          "phase2": {
            "encryptionAlgorithms": [
              "AES128"
            ],
            "integrityAlgorithms": [
              "SHA1"
            ],
            "diffieHellmanGroups": [
              "G_1"
            ],
            "lifetimeSec": 3600
          },
          "rekey": {
            "marginTimeSec": 270,
            "fuzzPercent": 100,
            "replayWindowSize": 1024
          },
          "deadPeerDetection": {
            "timeoutSec": 30,
            "deadPeerHandling": "RESTART"
          },
          "startupAction": "START"
        },
        "hostname": "string",
        "domain": "string"
      }
    }
  ],
  "tunnelingProtocol": "OPENVPN",
  "gatewaysIds": [
    "string"
  ]
}
```

## Properties

| Name | Type | Required | Restrictions | Description |
| --- | --- | --- | --- | --- |
| name | string | false | none | none |
| description | string | false | none | none |
| internetAccess | string | false | none | none |
| egress | boolean | false | none | none |
| routes | \[[NetworkRouteRequest](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/networkrouterequest.md)\] | false | none | none |
| connectors | \[[NetworkConnectorRequest](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/networkconnectorrequest.md)\] | false | none | none |
| tunnelingProtocol | string | false | none | none |
| gatewaysIds | \[string\] | false | none | none |

### Enumerated Values

| Property | Value |
| --- | --- |
| internetAccess | SPLIT\_TUNNEL\_ON |
| internetAccess | SPLIT\_TUNNEL\_OFF |
| internetAccess | RESTRICTED\_INTERNET |
| tunnelingProtocol | OPENVPN |
| tunnelingProtocol | IPSEC |

---

Prev: [OAuthResponse](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/oauthresponse.md)
Next: [HostCreateRequest](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/hostcreaterequest.md)
Index: https://openvpn.net/cloud-docs/llms.txt
