Enum CreateIPSecConnectionTunnelDetails.NatTranslationEnabled
- java.lang.Object
-
- java.lang.Enum<CreateIPSecConnectionTunnelDetails.NatTranslationEnabled>
-
- com.oracle.bmc.vnmonitoring.model.CreateIPSecConnectionTunnelDetails.NatTranslationEnabled
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateIPSecConnectionTunnelDetails.NatTranslationEnabled>
- Enclosing class:
- CreateIPSecConnectionTunnelDetails
public static enum CreateIPSecConnectionTunnelDetails.NatTranslationEnabled extends Enum<CreateIPSecConnectionTunnelDetails.NatTranslationEnabled> implements BmcEnum
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled
create(String key)
String
getValue()
static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Enabled
public static final CreateIPSecConnectionTunnelDetails.NatTranslationEnabled Enabled
-
Disabled
public static final CreateIPSecConnectionTunnelDetails.NatTranslationEnabled Disabled
-
Auto
public static final CreateIPSecConnectionTunnelDetails.NatTranslationEnabled Auto
-
-
Method Detail
-
values
public static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateIPSecConnectionTunnelDetails.NatTranslationEnabled c : CreateIPSecConnectionTunnelDetails.NatTranslationEnabled.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static CreateIPSecConnectionTunnelDetails.NatTranslationEnabled create(String key)
-
-