assign our local Ip address to access using openvpn

0

need to add our custom Ip address to access openvpn to our second local, I configured the tool but just need to know how to add our local IP instead of the auto-assigned by AWS

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.

profile picture
專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南