Jordan
Jordan

Reputation: 4512

AWS Client VPN Client-Client Communication

I have an AWS Client VPN set up using certificate auth. I'm setting this up for a client-client access system, essentially as is described in this AWS scenario/example. It's all working, and I can ping from one client to another if I know their IP address.

My question is: in actual use, what use is this system if clients get assigned a random IP address every time they connect to the VPN, and there's no way to tell which clients are connected or what their IP addresses are without checking the AWS console or using the describe-client-vpn-connections CLI (which requires IAM credentials)?

Is there any way to:

Upvotes: 5

Views: 1588

Answers (1)

Jim Mulvey
Jim Mulvey

Reputation: 537

Much of what you're asking for is not possible. In many organizations, client-to-client communication is not the norm. For client-to-server communication, AWS Client VPN works well.

There is no way to assign static IP addresses to specific clients. You can get a list of current connections and client IP addresses with the following AWS CLI command:

aws ec2 describe-client-vpn-connections --client-vpn-endpoint-id (endpoint ID)

You might be able to get your clients to register via a shared DNS server to get their VPN IP address.

I suspect you'll have better luck rolling your own VPN solution with something like OpenVPN, which much of the AWS Client VPN is built off of.

Upvotes: 3

Related Questions