IpsecServerProps
Properties for defining a IpsecServer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-ipsecserver
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new IpsecServerProps {
object ClientIpPool,
object LocalSubnet,
object VpnGatewayId,
object EffectImmediately = null,
object IkeConfig = null,
object IpsecConfig = null,
object IpsecServerName = null,
object Psk = null,
object PskEnabled = null
};
Properties
Name | Type | Description |
---|---|---|
ClientIpPool |
object |
Property clientIpPool: Client network segment refers to the address segment that assigns access addresses to the virtual network card of the client. |
LocalSubnet |
object |
Property localSubnet: The local network segment refers to the network segment on the VPC side that needs to be interconnected with the client network segment. |
VpnGatewayId |
object |
Property vpnGatewayId: VPN gateway instance ID. |
EffectImmediately |
object |
Property effectImmediately: true: Apply the new configuration and trigger a reconnection immediately. |
IkeConfig |
object |
Property ikeConfig: Negotiation parameter configuration in the first phase. |
IpsecConfig |
object |
Property ipsecConfig: Negotiation parameter configuration in the second phase. |
IpsecServerName |
object |
Property ipsecServerName: The value must be 2 to 128 characters in length and start with a letter or Chinese character. |
Psk |
object |
Property psk: Pre-Shared key. |
PskEnabled |
object |
Property pskEnabled: Whether to enable the pre-shared key authentication method. |
ClientIpPool
Required
public object ClientIpPool { get; set; }
- Type: object
Property clientIpPool: Client network segment refers to the address segment that assigns access addresses to the virtual network card of the client.
Note: The client network segment cannot conflict with the VPC side network segment.
LocalSubnet
Required
public object LocalSubnet { get; set; }
- Type: object
Property localSubnet: The local network segment refers to the network segment on the VPC side that needs to be interconnected with the client network segment.
Use half-width commas (,) to separate multiple network segments, for example: 192.168.1.0/24,192.168.2.0/24.
VpnGatewayId
Required
public object VpnGatewayId { get; set; }
- Type: object
Property vpnGatewayId: VPN gateway instance ID.
EffectImmediately
Optional
public object EffectImmediately { get; set; }
- Type: object
Property effectImmediately: true: Apply the new configuration and trigger a reconnection immediately.
false: Trigger a reconnection only when network traffic occurs. (The reconnection may cause the network to be unavailable for a brief moment)
IkeConfig
Optional
public object IkeConfig { get; set; }
- Type: object
Property ikeConfig: Negotiation parameter configuration in the first phase.
IpsecConfig
Optional
public object IpsecConfig { get; set; }
- Type: object
Property ipsecConfig: Negotiation parameter configuration in the second phase.
IpsecServerName
Optional
public object IpsecServerName { get; set; }
- Type: object
Property ipsecServerName: The value must be 2 to 128 characters in length and start with a letter or Chinese character.
It can contain digits, underscores (_), and hyphens (-).
Psk
Optional
public object Psk { get; set; }
- Type: object
Property psk: Pre-Shared key.
Used for identity authentication between the VPN gateway and the client. A 16-bit random string is randomly generated by default, or you can manually specify the key. The length is limited to 100 characters.
PskEnabled
Optional
public object PskEnabled { get; set; }
- Type: object
Property pskEnabled: Whether to enable the pre-shared key authentication method.
Only the value is true, which means that the pre-shared key authentication mode is enabled.