Create a new IPSec Redundant tunnel
  • 22 Nov 2023
  • 1 Minute to read
  • Contributors

    Create a new IPSec Redundant tunnel


      Article summary

      Post
      /v2/networks/{networkId}/tunnels/ipsec/redundant

      Required permissions: ["network:write]

      Security
      Http
      Type bearer
      Path parameters
      networkId
      stringRequired
      Body parameters
      Expand All
      object
      tunnelName
      string Required

      The name of the tunnel

      Max length15
      Min length3
      Pattern^[a-zA-Z0-9]*$
      regionID
      string Required
      tunnel1
      objectRequired
      passphrase
      string Required
      Pattern^[a-zA-Z1-9._][a-zA-Z0-9._]{7,63}$
      p81GWinternalIP
      string (ipv4) Required
      remoteGWinernalIP
      string (ipv4) Required
      remotePublicIP
      string (ipv4) Required
      remoteASN
      integer Required
      remoteID
      OneOf
      string
      string
      string
      string
      Pattern^[a-zA-Z0-9]{3,25}$
      gatewayID
      string Required
      tunnel2
      objectRequired
      passphrase
      string Required
      Pattern^[a-zA-Z1-9._][a-zA-Z0-9._]{7,63}$
      p81GWinternalIP
      string (ipv4) Required
      remoteGWinernalIP
      string (ipv4) Required
      remotePublicIP
      string (ipv4) Required
      remoteASN
      integer Required
      remoteID
      OneOf
      string
      string
      string
      string
      Pattern^[a-zA-Z0-9]{3,25}$
      gatewayID
      string Required
      sharedSettings
      object (IPSecSharedSettings)Required
      p81GatewaySubnets
      Array of stringRequired
      string
      remoteGatewaySubnets
      Array of stringRequired
      string
      advancedSettings
      object (IPSecAdvancedSettings)Required
      keyExchange
      string Required
      Valid values[ "ikev1", "ikev2" ]
      ikeLifeTime
      string Required
      Pattern^((1[0-9]|[2-9][0-9]|[1-9][0-9]{2,3}|[1-7][0-9]{4}|8[0-5][0-9]{3}|86[0-3][0-9]{2}|86400)s)|(([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-3][0-9][0-9]|14[0-3][0-9]|1440)m)|(([1-9]|1[0-9]|2[0-4])h)$
      lifetime
      string Required
      Pattern^((1[0-9]|[2-9][0-9]|[1-9][0-9]{2,3}|[1-7][0-9]{4}|8[0-5][0-9]{3}|86[0-3][0-9]{2}|86400)s)|(([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-3][0-9][0-9]|14[0-3][0-9]|1440)m)|(([1-9]|1[0-9]|2[0-4])h)$
      dpdDelay
      string Required
      Pattern^([5-9]|[1-5][0-9]|60)s$
      dpdTimeout
      string Required
      Pattern^([5-9]|[1-5][0-9]|60)s$
      phase1
      object (IPSecPhase)Required
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      phase2
      object (IPSecPhase)Required
      auth
      Array of stringRequired
      string
      Valid values[ "3des", "blowfish128", "blowfish192", "blowfish256", "aes128", "aes192", "aes256" ]
      encryption
      Array of stringRequired
      string
      Valid values[ "md5", "sha1", "sha384", "sha256", "sha512" ]
      dh
      Array of integerRequired

      Diffie Helman encryption

      integer
      Valid values[ 2, 5, 14, 19, 20, 21 ]
      Responses
      202

      Request accepted

      object
      statusUrl
      string
      samplingTime
      integer
      401

      Unauthorized

      object
      id
      string
      message
      string
      402

      Insufficient licenses

      object
      id
      string
      message
      string
      403

      Forbidden

      object
      id
      string
      message
      string
      404

      Resource not found

      object
      id
      string
      message
      string
      422

      Unprocessable entity

      object
      id
      string
      message
      string

      Was this article helpful?