public static class EdgeGatewayIPsecResponse.Site extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EdgeGatewayIPsecResponse.Site.TunnelInterface
Tunnel Interface.
|
Constructor and Description |
---|
Site(boolean enabled,
String name,
String localId,
String localIp,
String peerId,
String peerIp,
IPsecSessionType ipsecSessionType,
IPsecEncryptionAlgorithmType encryptionAlgorithm,
boolean enablePfs,
String dhGroup,
List<String> localSubnets,
List<String> peerSubnets,
String psk,
String authenticationMode,
String extension,
IPsecIkeOptionType ikeOption,
IPsecDigestAlgorithmType digestAlgorithm,
boolean responderOnly,
EdgeGatewayIPsecResponse.Site.TunnelInterface tunnelInterface)
Instantiates a new IPsec VPN Site.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationMode()
Gets authentication mode.
|
String |
getDhGroup()
Gets dh group.
|
IPsecDigestAlgorithmType |
getDigestAlgorithm()
Gets digest algorithm.
|
IPsecEncryptionAlgorithmType |
getEncryptionAlgorithm()
Gets encryption algorithm.
|
String |
getExtension()
Gets extension.
|
IPsecIkeOptionType |
getIkeOption()
Gets ike option.
|
IPsecSessionType |
getIPsecSessionType()
Gets IPsec session type.
|
String |
getLocalId()
Gets local Id.
|
String |
getLocalIp()
Gets local Ip.
|
List<String> |
getLocalSubnets()
Gets local subnets.
|
String |
getName()
Gets name.
|
String |
getPeerId()
Gets peer Id.
|
String |
getPeerIp()
Gets peer Ip.
|
List<String> |
getPeerSubnets()
Gets peer subnets.
|
String |
getPsk()
Gets psk.
|
EdgeGatewayIPsecResponse.Site.TunnelInterface |
getTunnelInterface()
Gets tunnel interface.
|
boolean |
isEnabled()
Gets enabled.
|
boolean |
isEnablePfs()
Gets enable Pfs.
|
boolean |
isResponderOnly()
Gets responder only.
|
public Site(boolean enabled, String name, String localId, String localIp, String peerId, String peerIp, IPsecSessionType ipsecSessionType, IPsecEncryptionAlgorithmType encryptionAlgorithm, boolean enablePfs, String dhGroup, List<String> localSubnets, List<String> peerSubnets, String psk, String authenticationMode, String extension, IPsecIkeOptionType ikeOption, IPsecDigestAlgorithmType digestAlgorithm, boolean responderOnly, EdgeGatewayIPsecResponse.Site.TunnelInterface tunnelInterface)
enabled
- the enabledname
- the namelocalId
- the local IdlocalIp
- the local IppeerId
- the peer IdpeerIp
- the peer IpipsecSessionType
- the IPsec session typeencryptionAlgorithm
- the encryption algorithmenablePfs
- the enable PFSdhGroup
- the dh grouplocalSubnets
- the local subnetspeerSubnets
- the peer subnetspsk
- the pskauthenticationMode
- the authentication modeextension
- the extensionikeOption
- the ike optiondigestAlgorithm
- the digest algorithmresponderOnly
- the responder onlytunnelInterface
- the tunnel interfacepublic boolean isEnabled()
public String getLocalId()
Enter the IP address of the NSX Edge instance
String
the localIdpublic String getLocalIp()
Enter the IP address of the local endpoint
String
the localIppublic String getPeerId()
Enter the peer ID to uniquely identify the peer site. This should be a Distinguishing Name (DN) if authentication mode is x.509
String
the peerIdpublic String getPeerIp()
Enter the IP address of the peer endpoint
String
the peerIppublic IPsecSessionType getIPsecSessionType()
Configure whether the site is used for policy-based VPN or route-based VPN. Default value is policybasedsession
IPsecSessionType
the ipsecSessionTypepublic IPsecEncryptionAlgorithmType getEncryptionAlgorithm()
Encryption algorithm for communication. Default is AES
IPsecEncryptionAlgorithmType
the encryptionAlgorithmpublic boolean isEnablePfs()
Perfect Forward Secrecy (PFS) ensures that each new cryptographic key is unrelated to any previous key. Default is True
public String getDhGroup()
In Diffie-Hellman (DH) Group, select the cryptography scheme that will allow the peer site and the NSX Edge to establish a shared secret over an insecure communications channel. dh14 is selected by default
String
the dhGrouppublic List<String> getLocalSubnets()
The subnets to share between the sites in CIDR format. Required if ipsecSessionType parameter value is policybasedsession. For route-based IPSec site, the default and only valid subnet is 0.0.0.0/0
public List<String> getPeerSubnets()
The subnets to share between the sites in CIDR format. Required if ipsecSessionType parameter value is policybasedsession. For route-based IPSec site, the default and only valid subnet is 0.0.0.0/0
public String getPsk()
Indicates that the secret key shared between NSX Edge and the peer site is to be used for authentication. Required when site > AuthenticationMode is specified psk. Optional only when peerIp is specified as Any in site configuration
String
the pskpublic String getAuthenticationMode()
Select authentication mode as psk or x.509
String
the authenticationModepublic String getExtension()
Configurable per site level: securelocaltrafficbyip=
String
the extensionpublic IPsecIkeOptionType getIkeOption()
IKE protocol version to be used. Use IKEFlex to always initiate using IKEv2, and while responding accept any of IKEv1 and IKEv2. Default is IKEv1
IPsecIkeOptionType
the ikeOptionpublic IPsecDigestAlgorithmType getDigestAlgorithm()
Secure Hashing Algorithm (SHA) used for digitial signatures. Default is sha1
IPsecDigestAlgorithmType
the digestAlgorithmpublic boolean isResponderOnly()
When set to true, the edge doesn't initiate negotiation, instead it waits for peer to initiate negotiation. Default is False
public EdgeGatewayIPsecResponse.Site.TunnelInterface getTunnelInterface()
Configure tunnel interface parameters. Required if ipsecSessionType parameter value is routebasedsession
EdgeGatewayIPsecResponse.Site.TunnelInterface
the tunnelInterfaceCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.