Enum IPSecConnectionTunnel.NatTranslationEnabled
- java.lang.Object
-
- java.lang.Enum<IPSecConnectionTunnel.NatTranslationEnabled>
-
- com.oracle.bmc.vnmonitoring.model.IPSecConnectionTunnel.NatTranslationEnabled
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<IPSecConnectionTunnel.NatTranslationEnabled>
- Enclosing class:
- IPSecConnectionTunnel
public static enum IPSecConnectionTunnel.NatTranslationEnabled extends Enum<IPSecConnectionTunnel.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 IPSecConnectionTunnel.NatTranslationEnabled
create(String key)
String
getValue()
static IPSecConnectionTunnel.NatTranslationEnabled
valueOf(String name)
Returns the enum constant of this type with the specified name.static IPSecConnectionTunnel.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 IPSecConnectionTunnel.NatTranslationEnabled Enabled
-
Disabled
public static final IPSecConnectionTunnel.NatTranslationEnabled Disabled
-
Auto
public static final IPSecConnectionTunnel.NatTranslationEnabled Auto
-
-
Method Detail
-
values
public static IPSecConnectionTunnel.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 (IPSecConnectionTunnel.NatTranslationEnabled c : IPSecConnectionTunnel.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 IPSecConnectionTunnel.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 IPSecConnectionTunnel.NatTranslationEnabled create(String key)
-
-