跳至內容

Prevent Multiple Device Connections Using the Same Profile for AWS Client VPN

0

I have created an AWS Client VPN and generated a profile for connection. However, I noticed that I am able to connect to the VPN using the same profile from multiple devices simultaneously. I want to prevent this behavior and ensure that the profile can only be used on one device at a time.

Steps I've Taken:

Created an AWS Client VPN. Generated a connection profile. Successfully connected to the VPN using the profile from multiple devices at the same time.

Issue:

The same profile is being used to connect to the VPN from multiple devices simultaneously, which I want to avoid.

Questions:

How can I configure AWS Client VPN to prevent multiple device connections using the same profile? Is there a setting or best practice to ensure that each profile is restricted to a single device connection at a time? What steps do I need to take to resolve this issue and enforce single-device usage per VPN profile? Any guidance or step-by-step instructions would be greatly appreciated.

Thank you in advance for your help!

已提問 2 年前檢視次數 438 次
1 個回答
1

Hi,

You may want to manage this policy of single connection via Connection Logging: see https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/connection-logging.html

You can have a Lambda function that is notified of connection / disconnection via the mechanism above. Then, your Lambda will have to add / remove the corresponding user from the VPN Access Group to allow / disallow a second connection while there is an active one.

See https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/scenario-restrict.html#scenario-restrict-groups for management of users in access groups.

Best,

Didier

專家
已回答 2 年前
專家
已審閱 2 年前

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

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