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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠