1 個回答
- 最新
- 最多得票
- 最多評論
0
Create a subnet in your VPC and assign it a static IP range instead of using auto-assign.
Run the associate-client-vpn-target-network AWS CLI command to associate this subnet with your Client VPN endpoint.
aws ec2 associate-client-vpn-target-network --client-vpn-endpoint-id cvpn-endpoint-id --subnet-id subnet-id
When you connect your OpenVPN client, it will now get an IP address from the static range assigned to the associated subnet, instead of a dynamic address.
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前