Show / Hide Table of Contents

Class IPSecConnectionTunnel

Information about a single IPSec tunnel in an IPSec connection. This object does not include the tunnel's shared secret (pre-shared key), which is found in the {@link IPSecConnectionTunnelSharedSecret} object.

Inheritance
object
IPSecConnectionTunnel
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class IPSecConnectionTunnel

Properties

AssociatedVirtualCircuits

Declaration
[JsonProperty(PropertyName = "associatedVirtualCircuits")]
public List<string> AssociatedVirtualCircuits { get; set; }
Property Value
Type Description
List<string>

The list of virtual circuit OCIDs over which your network can reach this tunnel.

BgpSessionInfo

Declaration
[JsonProperty(PropertyName = "bgpSessionInfo")]
public BgpSessionInfo BgpSessionInfo { get; set; }
Property Value
Type Description
BgpSessionInfo

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment containing the tunnel.

Remarks

Required

CpeIp

Declaration
[JsonProperty(PropertyName = "cpeIp")]
public string CpeIp { get; set; }
Property Value
Type Description
string

The IP address of the CPE device's VPN headend.
Example: 203.0.113.22

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

DpdMode

Declaration
[JsonProperty(PropertyName = "dpdMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.DpdModeEnum? DpdMode { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.DpdModeEnum?

Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets whether Oracle can only respond to a request from the CPE device to start DPD, or both respond to and initiate requests.

DpdTimeoutInSec

Declaration
[JsonProperty(PropertyName = "dpdTimeoutInSec")]
public int? DpdTimeoutInSec { get; set; }
Property Value
Type Description
int?

DPD timeout in seconds.

EncryptionDomainConfig

Declaration
[JsonProperty(PropertyName = "encryptionDomainConfig")]
public EncryptionDomainConfig EncryptionDomainConfig { get; set; }
Property Value
Type Description
EncryptionDomainConfig

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the tunnel.

Remarks

Required

IkeVersion

Declaration
[JsonProperty(PropertyName = "ikeVersion")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.IkeVersionEnum? IkeVersion { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.IkeVersionEnum?

Internet Key Exchange protocol version.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.LifecycleStateEnum?

The tunnel's lifecycle state.

Remarks

Required

NatTranslationEnabled

Declaration
[JsonProperty(PropertyName = "natTranslationEnabled")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.NatTranslationEnabledEnum? NatTranslationEnabled { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.NatTranslationEnabledEnum?

By default (the AUTO setting), IKE sends packets with a source and destination port set to 500, and when it detects that the port used to forward packets has changed (most likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.
The ENABLED option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets.
The DISABLED option directs IKE to completely refuse to negotiate NAT-T even if it senses there may be a NAT device in use.

.

OracleCanInitiate

Declaration
[JsonProperty(PropertyName = "oracleCanInitiate")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.OracleCanInitiateEnum? OracleCanInitiate { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.OracleCanInitiateEnum?

Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests.

PhaseOneDetails

Declaration
[JsonProperty(PropertyName = "phaseOneDetails")]
public TunnelPhaseOneDetails PhaseOneDetails { get; set; }
Property Value
Type Description
TunnelPhaseOneDetails

PhaseTwoDetails

Declaration
[JsonProperty(PropertyName = "phaseTwoDetails")]
public TunnelPhaseTwoDetails PhaseTwoDetails { get; set; }
Property Value
Type Description
TunnelPhaseTwoDetails

Routing

Declaration
[JsonProperty(PropertyName = "routing")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.RoutingEnum? Routing { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.RoutingEnum?

The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public IPSecConnectionTunnel.StatusEnum? Status { get; set; }
Property Value
Type Description
IPSecConnectionTunnel.StatusEnum?

The status of the tunnel based on IPSec protocol characteristics.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the IPSec tunnel was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

TimeStatusUpdated

Declaration
[JsonProperty(PropertyName = "timeStatusUpdated")]
public DateTime? TimeStatusUpdated { get; set; }
Property Value
Type Description
DateTime?

When the status of the IPSec tunnel last changed, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

VpnIp

Declaration
[JsonProperty(PropertyName = "vpnIp")]
public string VpnIp { get; set; }
Property Value
Type Description
string

The IP address of the Oracle VPN headend for the connection.
Example: 203.0.113.21

In this article
Back to top