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.
.
Modifier and Type | Method and 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.
|
public static final IPSecConnectionTunnel.NatTranslationEnabled Enabled
public static final IPSecConnectionTunnel.NatTranslationEnabled Disabled
public static final IPSecConnectionTunnel.NatTranslationEnabled Auto
public static IPSecConnectionTunnel.NatTranslationEnabled[] values()
for (IPSecConnectionTunnel.NatTranslationEnabled c : IPSecConnectionTunnel.NatTranslationEnabled.values()) System.out.println(c);
public static IPSecConnectionTunnel.NatTranslationEnabled valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static IPSecConnectionTunnel.NatTranslationEnabled create(String key)
Copyright © 2016–2024. All rights reserved.